Only matches the <
token if it is a template
Precondition: An ident was parsed right before this.
Runs the template list discovery algorithm.
Returns the next token, or null
if the end of the stream has been reached.
Always leaves checkpoint
right after the token.
Restores a position
Call this after consuming an opening bracket. Skips until a closing bracket. This also consumes the closing bracket.
Returns the current position