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.charLabelsA list of all LabelElementPair attached to single char literals like x='a'protected Map<String, Grammar.LabelElementPair> Rule.labelNameSpaceAll labels go in here (plus being split per the above lists) to catch dup label and label type mismatches.Rule.ruleLabelsA list of all LabelElementPair attached to rule references like f=fieldRule.ruleListLabelsA list of all rule ref list LabelElementPair like ids+=exprRule.tokenLabelsA list of all LabelElementPair attached to tokens like id=IDRule.tokenListLabelsA list of all Token list LabelElementPair like ids+=IDRule.wildcardTreeLabelsA 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 voidGrammar.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.