gopkg.in/yaml.v2.yaml_event_t.typ (field)
59 uses
gopkg.in/yaml.v2 (current package)
apic.go#L257: typ: yaml_STREAM_START_EVENT,
apic.go#L265: typ: yaml_STREAM_END_EVENT,
apic.go#L277: typ: yaml_DOCUMENT_START_EVENT,
apic.go#L287: typ: yaml_DOCUMENT_END_EVENT,
apic.go#L319: typ: yaml_SCALAR_EVENT,
apic.go#L333: typ: yaml_SEQUENCE_START_EVENT,
apic.go#L345: typ: yaml_SEQUENCE_END_EVENT,
apic.go#L353: typ: yaml_MAPPING_START_EVENT,
apic.go#L364: typ: yaml_MAPPING_END_EVENT,
decode.go#L74: if p.event.typ != yaml_NO_EVENT {
decode.go#L83: if p.event.typ == yaml_NO_EVENT {
decode.go#L88: if p.event.typ == yaml_STREAM_END_EVENT {
decode.go#L91: if p.event.typ != e {
decode.go#L92: p.parser.problem = fmt.Sprintf("expected %s event but got %s", e, p.event.typ)
decode.go#L96: p.event.typ = yaml_NO_EVENT
decode.go#L102: if p.event.typ != yaml_NO_EVENT {
decode.go#L103: return p.event.typ
decode.go#L108: return p.event.typ
decode.go#L158: panic("attempted to parse unknown event: " + p.event.typ.String())
emitterc.go#L142: switch emitter.events[emitter.events_head].typ {
emitterc.go#L160: switch emitter.events[i].typ {
emitterc.go#L274: if event.typ != yaml_STREAM_START_EVENT {
emitterc.go#L314: if event.typ == yaml_DOCUMENT_START_EVENT {
emitterc.go#L406: if event.typ == yaml_STREAM_END_EVENT {
emitterc.go#L433: if event.typ != yaml_DOCUMENT_END_EVENT {
emitterc.go#L468: if event.typ == yaml_SEQUENCE_END_EVENT {
emitterc.go#L516: if event.typ == yaml_MAPPING_END_EVENT {
emitterc.go#L585: if event.typ == yaml_SEQUENCE_END_EVENT {
emitterc.go#L609: if event.typ == yaml_MAPPING_END_EVENT {
emitterc.go#L657: switch event.typ {
emitterc.go#L668: fmt.Sprintf("expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS, but got %v", event.typ))
emitterc.go#L750: return emitter.events[emitter.events_head].typ == yaml_SEQUENCE_START_EVENT &&
emitterc.go#L751: emitter.events[emitter.events_head+1].typ == yaml_SEQUENCE_END_EVENT
emitterc.go#L759: return emitter.events[emitter.events_head].typ == yaml_MAPPING_START_EVENT &&
emitterc.go#L760: emitter.events[emitter.events_head+1].typ == yaml_MAPPING_END_EVENT
emitterc.go#L766: switch emitter.events[emitter.events_head].typ {
emitterc.go#L1140: switch event.typ {
parserc.go#L184: typ: yaml_STREAM_START_EVENT,
parserc.go#L228: typ: yaml_DOCUMENT_START_EVENT,
parserc.go#L255: typ: yaml_DOCUMENT_START_EVENT,
parserc.go#L268: typ: yaml_STREAM_END_EVENT,
parserc.go#L325: typ: yaml_DOCUMENT_END_EVENT,
parserc.go#L371: typ: yaml_ALIAS_EVENT,
parserc.go#L457: typ: yaml_SEQUENCE_START_EVENT,
parserc.go#L479: typ: yaml_SCALAR_EVENT,
parserc.go#L497: typ: yaml_SEQUENCE_START_EVENT,
parserc.go#L511: typ: yaml_MAPPING_START_EVENT,
parserc.go#L525: typ: yaml_SEQUENCE_START_EVENT,
parserc.go#L539: typ: yaml_MAPPING_START_EVENT,
parserc.go#L554: typ: yaml_SCALAR_EVENT,
parserc.go#L612: typ: yaml_SEQUENCE_END_EVENT,
parserc.go#L658: typ: yaml_SEQUENCE_END_EVENT,
parserc.go#L708: typ: yaml_MAPPING_END_EVENT,
parserc.go#L800: typ: yaml_MAPPING_START_EVENT,
parserc.go#L819: typ: yaml_SEQUENCE_END_EVENT,
parserc.go#L885: typ: yaml_MAPPING_END_EVENT,
parserc.go#L958: typ: yaml_MAPPING_END_EVENT,
parserc.go#L997: typ: yaml_SCALAR_EVENT,
yamlh.go#L268: typ yaml_event_type_t
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |