CommonToken.source

This is the backing field for {@link #getTokenSource} and {@link #getInputStream}.

<p> These properties share a field to reduce the memory footprint of {@link CommonToken}. Tokens created by a {@link CommonTokenFactory} from the same source and input stream share a reference to the same {@link Pair} containing these values.</p>

class CommonToken
protected
TokenFactorySourcePair source;

Meta