Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java155 String tokenLabels = "ids"; in testSimplePlusEqualLabel() local
157 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testSimplePlusEqualLabel()
168 String tokenLabels = "id"; in testMixedPlusEqualLabel() local
170 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); in testMixedPlusEqualLabel()
845 Set tokenLabels = null; in checkPlusEqualsLabels() local
847 if ( tokenLabels==null ) { in checkPlusEqualsLabels()
848 tokenLabels = new HashSet(); in checkPlusEqualsLabels()
851 tokenLabels.add(labelName); in checkPlusEqualsLabels()
862 assertTrue("token += labels mismatch; "+tokenLabels+"!="+r.tokenListLabels, in checkPlusEqualsLabels()
863 (tokenLabels!=null && r.tokenListLabels!=null) || in checkPlusEqualsLabels()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRule.java83 public LinkedHashMap tokenLabels; field in Rule
190 if ( tokenLabels==null ) tokenLabels = new LinkedHashMap(); in defineLabel()
191 tokenLabels.put(label.getText(), pair); in defineLabel()
226 if ( tokenLabels!=null ) { in getTokenLabel()
227 return (Grammar.LabelElementPair)tokenLabels.get(name); in getTokenLabel()
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DAST.stg67 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DActionScript.stg390 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
402 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg66 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DJava.stg444 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
456 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DAST.stg93 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
DCSharp2.stg613 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,ruleDescriptor.wildcardTreeLabels,ruleD…
627 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DAST.stg94 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,ruleDescriptor.wildcardTreeListLabel…
DCSharp3.stg591 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,ruleDescriptor.wildcardTreeLabels,ruleD…
605 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DAST.stg81 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DPython.stg502 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
517 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg174 <[ruleDescriptor.tokenLabels,ruleDescriptor.wildcardTreeLabels,
DObjC.stg920 <[ruleDescriptor.tokenLabels, ruleDescriptor.tokenListLabels,
931 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g1204 Set<String> tokenLabels =
1220 $code.add("referencedTokenLabels", tokenLabels);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg417 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]
428 <[ruleDescriptor.tokenLabels,
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg422 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels,
434 <[ruleDescriptor.tokenLabels,

12