tokens property
The token rules, applied in order. Earlier rules claim their text first (this ordering is what lets strings and comments swallow characters that later rules would otherwise match).
Implementation
final List<GrammarToken> tokens;
The token rules, applied in order. Earlier rules claim their text first (this ordering is what lets strings and comments swallow characters that later rules would otherwise match).
final List<GrammarToken> tokens;