Create SCALAR.
(event *yaml_event_t, anchor, tag, value []byte, plain_implicit, quoted_implicit bool, style yaml_scalar_style_t)
| 322 | |
| 323 | // Create SCALAR. |
| 324 | func yaml_scalar_event_initialize(event *yaml_event_t, anchor, tag, value []byte, plain_implicit, quoted_implicit bool, style yaml_scalar_style_t) bool { |
| 325 | *event = yaml_event_t{ |
| 326 | typ: yaml_SCALAR_EVENT, |
| 327 | anchor: anchor, |
| 328 | tag: tag, |
| 329 | value: value, |
| 330 | implicit: plain_implicit, |
| 331 | quoted_implicit: quoted_implicit, |
| 332 | style: yaml_style_t(style), |
| 333 | } |
| 334 | return true |
| 335 | } |
| 336 | |
| 337 | // Create SEQUENCE-START. |
| 338 | func yaml_sequence_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_sequence_style_t) bool { |
no test coverage detected