Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg100 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
269 labelType, members, rewriteElementType,
386 …perClass)><actions.(actionScope).superClass><else>Antlr.Runtime.Parser<endif>}, labelType="IToken",
395 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
569 retval.Start = (<labelType>)input.LT(1);
590 ruleLabelDefs(ruleDescriptor, labelType, ASTLabelType, rewriteElementType) ::= <<
592 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
595 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
608 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
616 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
[all …]
DASTParser.stg80 <listLabelElem(elem=label,elemType=labelType,...)>
86 <listLabelElem(elem=label,elemType=labelType,...)>
92 <listLabelElem(elem=label,elemType=labelType,...)>
123 <label>=(<labelType>)input.LT(1);
DAST.stg82 Ast<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<<ASTLabelType>, <labelType>>
91 ruleLabelDefs(ruleDescriptor, labelType, ASTLabelType, rewriteElementType) ::= <%
128 <listLabelElem(elem=label,elemType=labelType,...)>
140 <listLabelElem(elem=label,elemType=labelType,...)>
DST.stg54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg102 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
274 labelType, members, rewriteElementType,
404 …perClass)><actions.(actionScope).superClass><else>Antlr.Runtime.Parser<endif>}, labelType="IToken",
413 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
591 retval.Start = (<labelType>)input.LT(1);
614 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
617 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
630 :{it|<labelType> <it.label.text> = default(<labelType>);}; separator="\n"
638 :{it|List\<<labelType>\> list_<it.label.text> = null;}; separator="\n"
662 retval.Stop = (<labelType>)input.LT(-1);
[all …]
DASTParser.stg75 <listLabelElem(elem=label,elemType=labelType,...)>
81 <listLabelElem(elem=label,elemType=labelType,...)>
87 <listLabelElem(elem=label,elemType=labelType,...)>
118 <label>=(<labelType>)input.LT(1);
DAST.stg82 Ast<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<<ASTLabelType>, <labelType>>
130 <listLabelElem(elem=label,elemType=labelType,...)>
142 <listLabelElem(elem=label,elemType=labelType,...)>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg84 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
202 labelType, members, rewriteElementType,
274 ASTLabelType="Object", superClass="Parser", labelType="Token",
278 labelType, members, "Token",
286 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
292 labelType, members, "Node",
446 :{it |<labelType> <it.label.text>=null;}; separator="\n"
459 :{it |<labelType> <it.label.text>=null;}; separator="\n"
685 <if(label)><label>=(<labelType>)<endif>match(input,<token>,FOLLOW_<token>_in_<ruleName><elementInde…
721 <label>=(<labelType>)input.LT(1);<\n>
[all …]
DASTParser.stg115 <label>=(<labelType>)input.LT(1);<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg67 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
183 labelType, members, rewriteElementType,
255 ASTLabelType="Object", superClass="Parser", labelType="Token",
264 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
424 :{it | var <it.label.text>: <labelType> = null}; separator="\n"
437 :{it | var <it.label.text>: <labelType>=null}; separator="\n"
665 …put,<token>,FOLLOW_<token>_in_<ruleName><elementIndex>)<if(label)>.asInstanceOf[<labelType>]<endif>
703 <label>=input.LT(1).asInstanceOf[<labelType>]<\n>
745 <label> = new <labelType>(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <label>Start, get…
756 <label>=input.LT(1).asInstanceOf[<labelType>]<\n>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg64 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
172 ASTLabelType="Object", labelType, members, rewriteElementType) ::= <<
235 …, rules, numRules, bitsets, ASTLabelType="Object", superClass="Parser", labelType="Token", members…
242 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
392 :{var <it.label.text>:<labelType>=null;}; separator="\n"
405 :{var <it.label.text>:<labelType>=null;}; separator="\n"
628 <if(label)><label>=<labelType>(<endif>matchStream(input,<token>,FOLLOW_<token>_in_<ruleName><elemen…
664 <label>=<labelType>(input.LT(1));<\n>
709 <label>=<labelType>(input.LT(1));<\n>
782 var <label>:<labelType> = CommonToken.createFromStream(input, EOF, TokenConstants.DEFAULT_CHANNEL, …
[all …]
DASTParser.stg116 <label>=<labelType>(input.LT(1));<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg57 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
190 ASTLabelType="Object", labelType, members) ::= <<
250 …, numRules, bitsets, ASTLabelType, superClass="ANTLR::Runtime::Parser", labelType="ANTLR::Runtime:…
257 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
431 :{<labelType> <it.label.text>=null;}; separator="\n"
697 <label>=(<labelType>)input.LT(1);<\n>
737 <labelType> <label> = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, <labe…
745 <label>=(<labelType>)input.LT(1);<\n>
815 <labelType> <label> = new CommonToken(input, EOF, Token.DEFAULT_CHANNEL, <label>Start<elementIndex>…
1291 ruleLabelPropertyRef_start(scope,attr) ::= "((<labelType>)<scope>.start)"
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg297 labelType="ANTLRCommonToken",
392 return [<labelType> eofToken];
619 labelType="ANTLRCommonToken",
638 labelType={<ASTLabelType>},
656 labelType,
922 :{it | <labelType> *<it.label.text> = nil;}; separator="\n">
934 :{it | <labelType> *<it.label.text>=nil;}; separator="\n"
1167 <if(label)><label>=(<labelType> *)<endif>[self match:input TokenType:<token> Follow:FOLLOW_<token>_…
1199 <label> = (<labelType> *)[input LT:1]; /* matchSet */<\n>
1240 <label> = [[<labelType> newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefault …
[all …]
DASTParser.stg124 <label>=(<labelType> *)[input LT:1]; /* matchSetRuleRoot */<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg117 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
308 ASTLabelType="ANTLRInterface", labelType, members, rewriteElementType) ::= <<
485 …okenNames, rules, numRules, bitsets, ASTLabelType, superClass="Parser", labelType="Token", members…
492 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
765 <[ruleDescriptor.tokenLabels,ruleDescriptor.tokenListLabels]:{<it.label.text>: I<labelType>;}; sepa…
789 :{<it.label.text>: I<labelType>;}; separator="\n"
1039 …t, <token>, FOLLOW_<token>_in_<ruleName><elementIndex>)<if(label)> as I<labelType><endif>;<\n><che…
1075 <label> := Input.LT(1) as I<labelType>;<\n>
1123 <label> := Input.LT(1) as I<labelType>;<\n>
1712 …rtyRef_start(scope,attr) ::= "(IfThen(Assigned(<scope>), Def(<scope>).Start, nil) as I<labelType>)"
[all …]
DASTParser.stg129 <label> := Input.LT(1) as I<labelType>;<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/
DCPP.stg207 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
272 labelType, members, filterMode
312 superClass="Parser", labelType="Token",
323 labelType={<ASTLabelType>}, ASTLabelType="Object",
476 :{<labelType> <it.label.text>=null;}; separator="\n"
1208 <labelType> start, stop;
1308 rulePropertyRef_start(scope,attr) ::= "((<labelType>)retval.start)"
1309 rulePropertyRef_stop(scope,attr) ::= "((<labelType>)retval.stop)"
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg108 labelType="CommonToken", superClass="Lexer") ::= <<
222 bitsets, inputStreamType, superClass, labelType, members,
304 ASTLabelType="Object", superClass="Parser", labelType="Token",
310 labelType, members, "Token",
318 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
325 labelType, members, "Node",
844 <label> = <labelType>(input=self.input, type=INVALID_TOKEN_TYPE, channel=DEFAULT_CHANNEL, start=<la…
906 <label> = <labelType>(
932 <label> = <labelType>(input=self.input, type=EOF, channel=DEFAULT_CHANNEL, start=<label>Start<eleme…
/external/icu4c/test/intltest/
Dalphaindextst.cpp383 UAlphabeticIndexLabelType labelType = index.getBucketLabelType(); in ManyLocalesTest() local
384 TEST_ASSERT(labelType == bucket->getLabelType()); in ManyLocalesTest()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg858 labelType="pANTLR3_COMMON_TOKEN") ::= <<
1181 labelType,
1483 labelType="pANTLR3_COMMON_TOKEN",
1502 labelType={<ASTLabelType>},
1724 :{it |<labelType> <it.label.text>;}; separator="\n"
1755 :{it |<labelType> <it.label.text>;}; separator="\n"
2072 <if(label)><label> = (<labelType>)<endif> MATCHT(<token>, &FOLLOW_<token>_in_<ruleName><elementInde…
2115 <label>=(<labelType>)LT(1);<\n>
2181 <label>=(<labelType>)LT(1);<\n>
2260 <labelType> <label>;
DASTParser.stg119 <label>=(<labelType>)LT(1);<\n>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg26 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
152 ASTLabelType="Object", labelType, members, rewriteElementType) ::= <<
239 …, rules, numRules, bitsets, ASTLabelType="Object", superClass="Parser", labelType="Token", members…
246 …me, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg168 ASTLabelType="Object", superClass="ANTLR3::Parser", labelType="ANTLR3::Token",
185 …tokens, tokenNames, globalAction, rules, numRules, bitsets, filterMode, labelType={<ASTLabelType>}…
197 …mes, rules, numRules, bitsets, inputStreamType, superClass, filterMode, labelType, members, rewrit…
1131 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="ANTLR3::Token", filterMode, superC…
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammar.java1846 public Set<String> getLabels(Set<GrammarAST> rewriteElements, int labelType) { in getLabels() argument
1870 if ( pair!=null && pair.type==labelType && in getLabels()

12