()
| 69 | } |
| 70 | |
| 71 | func (p *parser) destroy() { |
| 72 | if p.event.typ != yaml_NO_EVENT { |
| 73 | yaml_event_delete(&p.event) |
| 74 | } |
| 75 | yaml_parser_delete(&p.parser) |
| 76 | } |
| 77 | |
| 78 | // expect consumes an event from the event stream and |
| 79 | // checks that it's of the expected type. |
no test coverage detected