Searched refs:ruleLabels (Results 1 – 17 of 17) sorted by relevance
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 158 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/ |
D | Rule.java | 100 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/ |
D | CodeGenTreeWalker.g | 1209 Set<String> ruleLabels = 1220 ruleLabels.add(retvalST.render()); 1223 $code.add("referencedRuleLabels", ruleLabels);
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | Delphi.stg | 760 <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/ |
D | Ruby.stg | 496 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/ |
D | C.stg | 1729 <[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/ |
D | JavaScript.stg | 405 <ruleDescriptor.ruleLabels:ruleLabelDef(label=it); separator="\n"> 412 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 423 <ruleDescriptor.ruleLabels:ruleLabelDef(label=it); separator="\n"> 430 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 466 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 473 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | Python3.stg | 519 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 526 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 512 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 519 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 404 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 411 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 429 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 436 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 1268 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 1282 ruleDescriptor.ruleLabels] 1304 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | CSharp3.stg | 642 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 649 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | CSharp2.stg | 664 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"> 671 ruleDescriptor.ruleLabels]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 947 <ruleDescriptor.ruleLabels:ruleLabelDef(); separator="\n"><"\n"> 954 ruleDescriptor.ruleLabels]
|