/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestSymbolDefinitions.java | 157 String tokenLabels = "ids"; in testSimplePlusEqualLabel() local 159 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testSimplePlusEqualLabel() 170 String tokenLabels = "id"; in testMixedPlusEqualLabel() local 172 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testMixedPlusEqualLabel() 847 Set<String> tokenLabels = null; in checkPlusEqualsLabels() local 849 if ( tokenLabels==null ) { in checkPlusEqualsLabels() 850 tokenLabels = new HashSet<String>(); in checkPlusEqualsLabels() 853 tokenLabels.add(labelName); in checkPlusEqualsLabels() 864 assertTrue("token += labels mismatch; "+tokenLabels+"!="+r.tokenListLabels, in checkPlusEqualsLabels() 865 (tokenLabels!=null && r.tokenListLabels!=null) || in checkPlusEqualsLabels() [all …]
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | Rule.java | 88 public LinkedHashMap<String, Grammar.LabelElementPair> tokenLabels; field in Rule 196 … if ( tokenLabels==null ) tokenLabels = new LinkedHashMap<String, Grammar.LabelElementPair>(); in defineLabel() 197 tokenLabels.put(label.getText(), pair); in defineLabel() 232 if ( tokenLabels!=null ) { in getTokenLabel() 233 return tokenLabels.get(name); in getTokenLabel()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | AST.stg | 109 <ruleDescriptor.tokenLabels:{<it.label.text>_tree := nil;}; separator="\n"> 117 <ruleDescriptor.tokenLabels:{<it.label.text>_tree: I<ASTLabelType>;}; separator="\n">
|
D | Delphi.stg | 758 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]:{<it.label.text> := nil;}; separator="… 765 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]:{<it.label.text>: I<labelType>;}; sepa… 772 <[ruleDescriptor.tokenLabels, 786 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | AST.stg | 23 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
|
D | Ruby.stg | 492 ruleDescriptor.tokenLabels, 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 | AST.stg | 77 <ruleDescriptor.tokenLabels:{it | <ASTLabelType> <it.label.text>_tree;}; separator="\n"> 93 <ruleDescriptor.tokenLabels:{it | <it.label.text>_tree = NULL;}; separator="\n">
|
D | C.stg | 1723 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels] 1735 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels] 1752 <[ruleDescriptor.tokenLabels, 1766 <[ruleDescriptor.tokenLabels, 1779 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | AST.stg | 63 <ruleDescriptor.tokenLabels:{var <it.label.text>_tree=null;}; separator="\n">
|
D | JavaScript.stg | 399 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels] 410 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | AST.stg | 81 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
|
D | Python.stg | 504 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 517 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | AST.stg | 94 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | AST.stg | 66 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
|
D | ActionScript.stg | 397 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 409 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | AST.stg | 69 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
|
D | Java.stg | 459 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 471 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | AST.stg | 81 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
|
D | Python3.stg | 511 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 524 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | AST.stg | 93 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 174 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | CodeGenTreeWalker.g | 1205 Set<String> tokenLabels = 1221 $code.add("referencedTokenLabels", tokenLabels);
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 417 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels] 428 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
D | Scala.stg | 422 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 434 <[ruleDescriptor.tokenLabels,
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 1261 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels, 1280 <[ruleDescriptor.tokenLabels, 1302 <[ruleDescriptor.tokenLabels,
|