Home
last modified time | relevance | path

Searched refs:tokenLabels (Results 1 – 25 of 28) sorted by relevance

12

/external/antlr/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java157 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/
DRule.java88 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/
DAST.stg109 <ruleDescriptor.tokenLabels:{<it.label.text>_tree := nil;}; separator="\n">
117 <ruleDescriptor.tokenLabels:{<it.label.text>_tree: I<ASTLabelType>;}; separator="\n">
DDelphi.stg758 <[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/
DAST.stg23 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
DRuby.stg492 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/
DAST.stg77 <ruleDescriptor.tokenLabels:{it | <ASTLabelType> <it.label.text>_tree;}; separator="\n">
93 <ruleDescriptor.tokenLabels:{it | <it.label.text>_tree = NULL;}; separator="\n">
DC.stg1723 <[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/
DAST.stg63 <ruleDescriptor.tokenLabels:{var <it.label.text>_tree=null;}; separator="\n">
DJavaScript.stg399 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]
410 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DAST.stg81 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DPython.stg504 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
517 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DAST.stg94 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DAST.stg66 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DActionScript.stg397 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
409 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg69 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DJava.stg459 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
471 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DAST.stg81 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DPython3.stg511 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
524 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DAST.stg93 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg174 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g1205 Set<String> tokenLabels =
1221 $code.add("referencedTokenLabels", tokenLabels);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg417 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]
428 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg422 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
434 <[ruleDescriptor.tokenLabels,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg1261 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
1280 <[ruleDescriptor.tokenLabels,
1302 <[ruleDescriptor.tokenLabels,

12