[−][src]Module antlr_rust::token_factory
How Lexer should produce tokens
Structs
ArenaFactory | This is a wrapper for Token factory that allows to allocate tokens in separate arena. It can allow to significantly improve performance by passing Tokens by references everywhere. |
CommonTokenFactory | Default token factory |
OwningTokenFactory | Token factory that produces heap allocated
|
Traits
TokenFactory | Trait for creating tokens. |
Type Definitions
ArenaCommonFactory | Arena token factory that contains |
ArenaOwningFactory | Arena token factory that contains |