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

Function yaml_mapping_start_event_initialize

apic.go:358–366  ·  view source on GitHub ↗

Create MAPPING-START.

(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_mapping_style_t)

Source from the content-addressed store, hash-verified

356
357// Create MAPPING-START.
358func yaml_mapping_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_mapping_style_t) {
359 *event = yaml_event_t{
360 typ: yaml_MAPPING_START_EVENT,
361 anchor: anchor,
362 tag: tag,
363 implicit: implicit,
364 style: yaml_style_t(style),
365 }
366}
367
368// Create MAPPING-END.
369func yaml_mapping_end_event_initialize(event *yaml_event_t) {

Callers 2

mappingvMethod · 0.85
nodeMethod · 0.85

Calls 1

yaml_style_tTypeAlias · 0.85

Tested by

no test coverage detected