Uses of Class
org.antlr.tool.Grammar.LabelElementPair
-
Packages that use Grammar.LabelElementPair Package Description org.antlr.grammar.v3 org.antlr.tool -
-
Uses of Grammar.LabelElementPair in org.antlr.grammar.v3
Methods in org.antlr.grammar.v3 that return Grammar.LabelElementPair Modifier and Type Method Description Grammar.LabelElementPair
ActionTranslator. getElementLabel(String id)
-
Uses of Grammar.LabelElementPair in org.antlr.tool
Fields in org.antlr.tool with type parameters of type Grammar.LabelElementPair Modifier and Type Field Description LinkedHashMap<String,Grammar.LabelElementPair>
Rule. 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.LinkedHashMap<String,Grammar.LabelElementPair>
Rule. ruleLabels
A list of all LabelElementPair attached to rule references like f=fieldLinkedHashMap<String,Grammar.LabelElementPair>
Rule. ruleListLabels
A list of all rule ref list LabelElementPair like ids+=exprLinkedHashMap<String,Grammar.LabelElementPair>
Rule. tokenLabels
A list of all LabelElementPair attached to tokens like id=IDLinkedHashMap<String,Grammar.LabelElementPair>
Rule. tokenListLabels
A list of all Token list LabelElementPair like ids+=IDLinkedHashMap<String,Grammar.LabelElementPair>
Rule. wildcardTreeLabels
A list of all LabelElementPair attached to tokens like x=.LinkedHashMap<String,Grammar.LabelElementPair>
Rule. wildcardTreeListLabels
A list of all LabelElementPair attached to tokens like x+=.Methods in org.antlr.tool that return Grammar.LabelElementPair Modifier and Type Method Description Grammar.LabelElementPair
Rule. getLabel(String name)
Grammar.LabelElementPair
Rule. getRuleLabel(String name)
Grammar.LabelElementPair
Rule. getRuleListLabel(String name)
Grammar.LabelElementPair
Rule. getTokenLabel(String name)
Grammar.LabelElementPair
Rule. getTokenListLabel(String name)
Methods in org.antlr.tool that return types with arguments of type Grammar.LabelElementPair Modifier and Type Method Description Map<String,Grammar.LabelElementPair>
Rule. getRuleLabels()
Map<String,Grammar.LabelElementPair>
Rule. getRuleListLabels()
Method parameters in org.antlr.tool with type arguments of type Grammar.LabelElementPair Modifier and Type Method Description protected 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.
-