Uses of Interface
org.antlr.v4.runtime.TokenFactory
Packages that use TokenFactory
-
Uses of TokenFactory in org.antlr.v4.runtime
Classes in org.antlr.v4.runtime that implement TokenFactoryModifier and TypeClassDescriptionclassThis default implementation ofTokenFactorycreatesCommonTokenobjects.Fields in org.antlr.v4.runtime declared as TokenFactoryModifier and TypeFieldDescriptionprotected TokenFactoryLexer._factoryHow to create token objectsprivate TokenFactoryListTokenSource._factoryThis is the backing field forListTokenSource.getTokenFactory()andListTokenSource.setTokenFactory(org.antlr.v4.runtime.TokenFactory).static final TokenFactoryCommonTokenFactory.DEFAULTThe defaultCommonTokenFactoryinstance.Methods in org.antlr.v4.runtime that return TokenFactoryModifier and TypeMethodDescriptionLexer.getTokenFactory()ListTokenSource.getTokenFactory()Gets theTokenFactorythis token source is currently using for creatingTokenobjects from the input.Parser.getTokenFactory()TokenSource.getTokenFactory()Gets theTokenFactorythis token source is currently using for creatingTokenobjects from the input.Methods in org.antlr.v4.runtime with parameters of type TokenFactoryModifier and TypeMethodDescriptionvoidLexer.setTokenFactory(TokenFactory factory) voidListTokenSource.setTokenFactory(TokenFactory factory) Set theTokenFactorythis token source should use for creatingTokenobjects from the input.voidTokenSource.setTokenFactory(TokenFactory factory) Set theTokenFactorythis token source should use for creatingTokenobjects from the input.