Remove the next token from the queue (must be called after peek_token).
(parser *yaml_parser_t)
| 109 | |
| 110 | // Remove the next token from the queue (must be called after peek_token). |
| 111 | func skip_token(parser *yaml_parser_t) { |
| 112 | parser.token_available = false |
| 113 | parser.tokens_parsed++ |
| 114 | parser.stream_end_produced = parser.tokens[parser.tokens_head].typ == yaml_STREAM_END_TOKEN |
| 115 | parser.tokens_head++ |
| 116 | } |
| 117 | |
| 118 | // Get the next event. |
| 119 | func yaml_parser_parse(parser *yaml_parser_t, event *yaml_event_t) bool { |
no outgoing calls
no test coverage detected