Home
last modified time | relevance | path

Searched refs:LabelElementPair (Results 1 – 7 of 7) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRule.java106 protected Map<String, Grammar.LabelElementPair> labelNameSpace =
107 new HashMap<String, Grammar.LabelElementPair>();
185 Grammar.LabelElementPair pair = grammar.new LabelElementPair(label,elementRef); in defineLabel()
220 public Grammar.LabelElementPair getLabel(String name) { in getLabel()
221 return (Grammar.LabelElementPair)labelNameSpace.get(name); in getLabel()
224 public Grammar.LabelElementPair getTokenLabel(String name) { in getTokenLabel()
225 Grammar.LabelElementPair pair = null; in getTokenLabel()
227 return (Grammar.LabelElementPair)tokenLabels.get(name); in getTokenLabel()
240 public Grammar.LabelElementPair getRuleLabel(String name) { in getRuleLabel()
241 Grammar.LabelElementPair pair = null; in getRuleLabel()
[all …]
DNameSpaceChecker.java54 Grammar.LabelElementPair pair = (Grammar.LabelElementPair) it.next(); in checkConflicts()
251 Grammar.LabelElementPair prevLabelPair = in checkForLabelTypeMismatch()
252 (Grammar.LabelElementPair)r.labelNameSpace.get(label.getText()); in checkForLabelTypeMismatch()
DGrammar.java162 public class LabelElementPair { class in Grammar
171 public LabelElementPair(Token label, GrammarAST elementRef) { in LabelElementPair() method in Grammar.LabelElementPair
1853 LabelElementPair pair = enclosingRule.getLabel(labelName); in getLabels()
1934 LabelElementPair pair = (LabelElementPair) labelit.next(); in removeUselessLabels()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DActionAnalysis.g85 Grammar.LabelElementPair pair = enclosingRule.getRuleLabel($x.text);
113 Grammar.LabelElementPair pair = enclosingRule.getRuleLabel($x.text);
DActionTranslator.g124 public Grammar.LabelElementPair getElementLabel(String id) {
323 Grammar.LabelElementPair pair=null;
352 Grammar.LabelElementPair pair=null;
419 Grammar.LabelElementPair pair = getElementLabel($ID.text);
DCodeGenTreeWalker.g213 Grammar.LabelElementPair pair = r.getLabel( label );
1482 Grammar.LabelElementPair pair = rule.getLabel(labelName);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1126 Grammar.LabelElementPair label = enclosingRule.getRuleLabel(x); in issueInvalidAttributeError()
1177 Grammar.LabelElementPair label = enclosingRule.getRuleLabel(x); in issueInvalidAttributeError()