Uses of Class
org.antlr.tool.Grammar.LabelElementPair
Packages that use Grammar.LabelElementPair
-
Uses of Grammar.LabelElementPair in org.antlr.grammar.v3
Methods in org.antlr.grammar.v3 that return Grammar.LabelElementPair -
Uses of Grammar.LabelElementPair in org.antlr.tool
Fields in org.antlr.tool with type parameters of type Grammar.LabelElementPairModifier and TypeFieldDescriptionRule.charLabels
A list of all LabelElementPair attached to single char literals like x='a'protected Map
<String, Grammar.LabelElementPair> Rule.labelNameSpace
All labels go in here (plus being split per the above lists) to catch dup label and label type mismatches.Rule.ruleLabels
A list of all LabelElementPair attached to rule references like f=fieldRule.ruleListLabels
A list of all rule ref list LabelElementPair like ids+=exprRule.tokenLabels
A list of all LabelElementPair attached to tokens like id=IDRule.tokenListLabels
A list of all Token list LabelElementPair like ids+=IDRule.wildcardTreeLabels
A list of all LabelElementPair attached to tokens like x=.A list of all LabelElementPair attached to tokens like x+=.Methods in org.antlr.tool that return Grammar.LabelElementPairModifier and TypeMethodDescriptionRule.getRuleLabel
(String name) Rule.getRuleListLabel
(String name) Rule.getTokenLabel
(String name) Rule.getTokenListLabel
(String name) Methods in org.antlr.tool that return types with arguments of type Grammar.LabelElementPairMethod parameters in org.antlr.tool with type arguments of type Grammar.LabelElementPairModifier and TypeMethodDescriptionprotected void
Grammar.removeUselessLabels
(Map<String, Grammar.LabelElementPair> ruleToElementLabelPairMap) A label on a rule is useless if the rule has no return value, no tree or template output, and it is not referenced in an action.