source.parserutil

Undocumented in source.

Members

Functions

match
void match(Lexer lexer, TokenType type)
Undocumented in source. Be warned that the author may not have intended to support it.
popMatchingDelimiter
void popMatchingDelimiter(TokenRange trange)

Pop a range of token until we pop the matchin delimiter. matchin tokens are (), [], <> and {}

Templates

MatchingDelimiter
template MatchingDelimiter(TokenType openTokenType)

Get the matching delimiter

Meta