TokenSource.tokenFactory

@uml Set the {@link TokenFactory} this token source should use for creating {@link Token} objects from the input.

@param factory The {@link TokenFactory} to use for creating tokens.

  1. void tokenFactory(TokenFactory!CommonToken factory)
    interface TokenSource
    void
    tokenFactory
  2. TokenFactory!CommonToken tokenFactory()

Meta