source property
These properties share a field to reduce the memory footprint of CommonToken. Tokens created by a CommonTokenFactory from the same source and input stream share a reference to the same Pair containing these values.
Implementation
late Pair<TokenSource?, CharStream?> source;