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

Function yaml_document_start_event_initialize

apic.go:292–304  ·  view source on GitHub ↗

Create DOCUMENT-START.

(
	event *yaml_event_t,
	version_directive *yaml_version_directive_t,
	tag_directives []yaml_tag_directive_t,
	implicit bool,
)

Source from the content-addressed store, hash-verified

290
291// Create DOCUMENT-START.
292func yaml_document_start_event_initialize(
293 event *yaml_event_t,
294 version_directive *yaml_version_directive_t,
295 tag_directives []yaml_tag_directive_t,
296 implicit bool,
297) {
298 *event = yaml_event_t{
299 typ: yaml_DOCUMENT_START_EVENT,
300 version_directive: version_directive,
301 tag_directives: tag_directives,
302 implicit: implicit,
303 }
304}
305
306// Create DOCUMENT-END.
307func yaml_document_end_event_initialize(event *yaml_event_t, implicit bool) {

Callers 2

marshalDocMethod · 0.85
nodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected