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

Function skip_token

parserc.go:111–116  ·  parserc.go::skip_token

Remove the next token from the queue (must be called after peek_token).

(parser *yaml_parser_t)

Source from the content-addressed store, hash-verified

109
110// Remove the next token from the queue (must be called after peek_token).
111func 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.
119func yaml_parser_parse(parser *yaml_parser_t, event *yaml_event_t) bool {

Calls

no outgoing calls

Tested by

no test coverage detected