Home
last modified time | relevance | path

Searched refs:ruleLabels (Results 1 – 17 of 17) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java158 String ruleLabels = null; in testSimplePlusEqualLabel() local
159 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testSimplePlusEqualLabel()
171 String ruleLabels = "e"; in testMixedPlusEqualLabel() local
172 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testMixedPlusEqualLabel()
855 Set<String> ruleLabels = null; in checkPlusEqualsLabels() local
858 ruleLabels = new HashSet<String>(); in checkPlusEqualsLabels()
861 ruleLabels.add(labelName); in checkPlusEqualsLabels()
867 assertTrue("rule += labels mismatch; "+ruleLabels+"!="+r.ruleListLabels, in checkPlusEqualsLabels()
868 (ruleLabels!=null && r.ruleListLabels!=null) || in checkPlusEqualsLabels()
869 (ruleLabels==null && r.ruleListLabels==null)); in checkPlusEqualsLabels()
[all …]
/external/antlr/tool/src/main/java/org/antlr/tool/
DRule.java100 public LinkedHashMap<String, Grammar.LabelElementPair> ruleLabels; field in Rule
208 if ( ruleLabels==null ) ruleLabels = new LinkedHashMap<String, Grammar.LabelElementPair>(); in defineLabel()
209 ruleLabels.put(label.getText(), pair); in defineLabel()
239 return ruleLabels; in getRuleLabels()
248 if ( ruleLabels!=null ) { in getRuleLabel()
249 return ruleLabels.get(name); in getRuleLabel()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g1209 Set<String> ruleLabels =
1220 ruleLabels.add(retvalST.render());
1223 $code.add("referencedRuleLabels", ruleLabels);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg760 <ruleDescriptor.ruleLabels:ruleLabelDef(label=it); separator="\n">
767 <ruleDescriptor.ruleLabels:ruleLabelDefVar(label=it); separator="\n">
774 ruleDescriptor.ruleLabels]
788 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg496 ruleDescriptor.ruleLabels,
1202 <if([ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,ruleDescriptor.ruleLabels,ruleDescri…
1204 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,ruleDescriptor.ruleLabels,ruleDescripto…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg1729 <[ruleDescriptor.ruleLabels,ruleDescriptor.ruleListLabels]
1741 <[ruleDescriptor.ruleLabels,ruleDescriptor.ruleListLabels]
1754 ruleDescriptor.ruleLabels]
1768 ruleDescriptor.ruleLabels]
1781 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg405 <ruleDescriptor.ruleLabels:ruleLabelDef(label=it); separator="\n">
412 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg423 <ruleDescriptor.ruleLabels:ruleLabelDef(label=it); separator="\n">
430 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg466 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
473 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg519 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
526 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg512 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
519 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg404 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
411 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg429 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
436 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg1268 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
1282 ruleDescriptor.ruleLabels]
1304 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg642 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
649 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg664 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n">
671 ruleDescriptor.ruleLabels]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg947 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"><"\n">
954 ruleDescriptor.ruleLabels]