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

Function yaml_sequence_start_event_initialize

apic.go:338–347  ·  view source on GitHub ↗

Create SEQUENCE-START.

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

Source from the content-addressed store, hash-verified

336
337// Create SEQUENCE-START.
338func yaml_sequence_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_sequence_style_t) bool {
339 *event = yaml_event_t{
340 typ: yaml_SEQUENCE_START_EVENT,
341 anchor: anchor,
342 tag: tag,
343 implicit: implicit,
344 style: yaml_style_t(style),
345 }
346 return true
347}
348
349// Create SEQUENCE-END.
350func yaml_sequence_end_event_initialize(event *yaml_event_t) bool {

Callers 2

slicevMethod · 0.85
nodeMethod · 0.85

Calls 1

yaml_style_tTypeAlias · 0.85

Tested by

no test coverage detected