Lexer.tryConsume

Attempt to consume the next token if it matches the given pattern. Has no effect on the state of the lexer if the token is not found.

class Lexer
bool
tryConsume
(,
string value = ""
)

Meta