Expect ALIAS.
(emitter *yaml_emitter_t, event *yaml_event_t)
| 877 | |
| 878 | // Expect ALIAS. |
| 879 | func 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. |
| 889 | func yaml_emitter_emit_scalar(emitter *yaml_emitter_t, event *yaml_event_t) bool { |
no test coverage detected