Uses of Interface
org.antlr.v4.runtime.TokenFactory
- 
Packages that use TokenFactory Package Description org.antlr.v4.runtime 
- 
- 
Uses of TokenFactory in org.antlr.v4.runtimeClasses in org.antlr.v4.runtime that implement TokenFactory Modifier and Type Class Description classCommonTokenFactoryThis default implementation ofTokenFactorycreatesCommonTokenobjects.Fields in org.antlr.v4.runtime declared as TokenFactory Modifier and Type Field Description protected TokenFactory<?>Lexer. _factoryHow to create token objectsstatic TokenFactory<CommonToken>CommonTokenFactory. DEFAULTThe defaultCommonTokenFactoryinstance.Methods in org.antlr.v4.runtime that return TokenFactory Modifier and Type Method Description TokenFactory<? extends Token>Lexer. getTokenFactory()TokenFactory<?>ListTokenSource. getTokenFactory()Gets theTokenFactorythis token source is currently using for creatingTokenobjects from the input.TokenFactory<?>Parser. getTokenFactory()abstract TokenFactory<?>Recognizer. getTokenFactory()TokenFactory<?>TokenSource. getTokenFactory()Gets theTokenFactorythis token source is currently using for creatingTokenobjects from the input.Methods in org.antlr.v4.runtime with parameters of type TokenFactory Modifier and Type Method Description voidLexer. setTokenFactory(TokenFactory<?> factory)voidListTokenSource. setTokenFactory(TokenFactory<?> factory)Set theTokenFactorythis token source should use for creatingTokenobjects from the input.voidParser. setTokenFactory(TokenFactory<?> factory)Tell our token source and error strategy about a new way to create tokens.abstract voidRecognizer. setTokenFactory(TokenFactory<?> input)voidTokenSource. setTokenFactory(TokenFactory<?> factory)Set theTokenFactorythis token source should use for creatingTokenobjects from the input.
 
-