ruleToTokenType property

List<int> ruleToTokenType
getter/setter pair

For lexer ATNs, this maps the rule index to the resulting token type. For parser ATNs, this maps the rule index to the generated bypass token type if the {@link ATNDeserializationOptions#isGenerateRuleBypassTransitions} deserialization option was specified; otherwise, this is null.

Implementation

late List<int> ruleToTokenType;