antlr.v4.runtime.TokenFactory

Undocumented in source.

Members

Aliases

TokenFactorySourcePair
alias TokenFactorySourcePair = Tuple!(TokenSource, "a", CharStream, "b")
Undocumented in source.

Interfaces

TokenFactory
interface TokenFactory(Symbol)

The default mechanism for creating tokens. It's used by default in Lexer and the error handling strategy (to create missing tokens). Notifying the parser of a new factory means that it notifies it's token source and error strategy.

Meta