MCPcopy
hub / github.com/go-yaml/yaml / init

Method init

decode.go:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (p *parser) init() {
63 if p.doneInit {
64 return
65 }
66 p.anchors = make(map[string]*Node)
67 p.expect(yaml_STREAM_START_EVENT)
68 p.doneInit = true
69}
70
71func (p *parser) destroy() {
72 if p.event.typ != yaml_NO_EVENT {

Callers 1

parseMethod · 0.95

Calls 1

expectMethod · 0.95

Tested by

no test coverage detected