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

Function yaml_emitter_emit_alias

emitterc.go:879–886  ·  view source on GitHub ↗

Expect ALIAS.

(emitter *yaml_emitter_t, event *yaml_event_t)

Source from the content-addressed store, hash-verified

877
878// Expect ALIAS.
879func yaml_emitter_emit_alias(emitter *yaml_emitter_t, event *yaml_event_t) bool {
880 if !yaml_emitter_process_anchor(emitter) {
881 return false
882 }
883 emitter.state = emitter.states[len(emitter.states)-1]
884 emitter.states = emitter.states[:len(emitter.states)-1]
885 return true
886}
887
888// Expect SCALAR.
889func yaml_emitter_emit_scalar(emitter *yaml_emitter_t, event *yaml_event_t) bool {

Callers 1

yaml_emitter_emit_nodeFunction · 0.85

Calls 1

Tested by

no test coverage detected