Home
last modified time | relevance | path

Searched refs:terminalOptions (Results 1 – 25 of 48) sorted by relevance

12

/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DASTTreeParser.stg109 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
115 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
120 <if(terminalOptions.node)>
121 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><…
123 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp…
134 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
140 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
145 <if(terminalOptions.node)>
146 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><…
148 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp…
[all …]
DASTParser.stg52 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
64 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
73 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
79 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
85 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
103 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
107 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
111 matchSetBang(s,label,elementIndex,terminalOptions,postmatchCode) ::= "<super.matchSet(...)>"
116 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
160 wildcard(token,label,elementIndex,terminalOptions) ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DASTTreeParser.stg110 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
116 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
121 <if(terminalOptions.node)>
122 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><…
124 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp…
135 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
141 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
146 <if(terminalOptions.node)>
147 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><…
149 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp…
[all …]
DASTParser.stg53 tokenRef(token,label,elementIndex,terminalOptions) ::= <%
64 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
67 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <%
78 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
108 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
112 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
116 matchSetBang(s,label,elementIndex,terminalOptions,postmatchCode) ::= "<super.matchSet(...)>"
121 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DASTParser.stg15 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
23 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
25 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
33 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
38 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
43 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
48 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
52 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
59 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
65 matchSetRuleRootAndListLabel(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
DASTTreeParser.stg63 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
68 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
73 <if(terminalOptions.node)>
74 tree_for_<label> = <terminalOptions.node; format="constantPath">.new( <label; format="label"> )
89 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
94 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
99 <if(terminalOptions.node)>
100 tree_for_<label> = <terminalOptions.node; format="constantPath">.new( <label; format="label"> )
109 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
114 wildcard(token,label,elementIndex,terminalOptions) ::= <<
[all …]
DAST.stg39 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= <<
44 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
49 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= <<
54 tokenRefRuleRootTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
232 rewriteTokenRef(token,elementIndex,terminalOptions,args) ::= <<
250 rewriteTokenRefRoot(token,elementIndex,terminalOptions,args) ::= <<
254 rewriteImaginaryTokenRef(args,token,terminalOptions,elementIndex) ::= <<
258 rewriteImaginaryTokenRefRoot(args,token,terminalOptions,elementIndex) ::= <<
304 createImaginaryNode(tokenType,terminalOptions,args) ::= <<
305 <if(terminalOptions.node)>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DASTTreeParser.stg152 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
159 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
165 <if(terminalOptions.node)>
166 <label>_tree = [ANTLR<terminalOptions.node> newANTLR<terminalOptions.node>:<label>];
179 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
192 <if(terminalOptions.node)>
193 <label>_tree = [ANTLR<terminalOptions.node> newANTLR<terminalOptions.node>:<label>];
203 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
210 wildcard(token,label,elementIndex,terminalOptions) ::= <<
227 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
[all …]
DASTParser.stg49 tokenRef(token, label, elementIndex, terminalOptions) ::= <<
60 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
63 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
72 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
79 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
86 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
105 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <%
111 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
116 matchSetBang(s,label,elementIndex,terminalOptions, postmatchCode) ::= "<super.matchSet(...)>"
121 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DASTTreeParser.stg85 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
90 <if(terminalOptions.node)>
91 <label>_tree = new <terminalOptions.node>(<label>);
104 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
110 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
115 <if(terminalOptions.node)>
116 <label>_tree = new <terminalOptions.node>(<label>);
126 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
133 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
138 <if(terminalOptions.node)>
[all …]
DASTParser.stg21 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
33 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
42 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
48 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
54 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
72 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
76 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
85 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
147 createNodeFromToken(label,terminalOptions) ::= <<
148 <if(terminalOptions.node)>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DASTTreeParser.stg117 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
123 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
128 <if(terminalOptions.node)>
129 <label>_tree = <terminalOptions.node>(<label>)
144 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
150 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
155 <if(terminalOptions.node)>
156 <label>_tree = <terminalOptions.node>(<label>)
166 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
172 wildcard(token,label,elementIndex,terminalOptions) ::= <<
[all …]
DASTParser.stg57 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
66 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
69 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
78 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
108 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <%
112 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
116 matchSetBang(s,label,elementIndex,terminalOptions,postmatchCode) ::= "<super.matchSet(...)>"
121 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
DAST.stg110 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= <<
118 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
124 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= <<
130 tokenRefRuleRootTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
328 rewriteTokenRef(token,elementIndex,terminalOptions,args) ::= <<
351 rewriteTokenRefRoot(token,elementIndex,terminalOptions,args) ::= <<
355 rewriteImaginaryTokenRef(args,token,terminalOptions,elementIndex) ::= <<
356 self._adaptor.addChild(root_<treeLevel>, <createImaginaryNode(token, terminalOptions, args)>)<\n>
359 rewriteImaginaryTokenRefRoot(args,token,terminalOptions,elementIndex) ::= <<
360 root_<treeLevel> = self._adaptor.becomeRoot(<createImaginaryNode(token, terminalOptions, args)>, ro…
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DASTTreeParser.stg106 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
112 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
117 <if(terminalOptions.node)>
118 <label>_tree = new <terminalOptions.node>(<label>);
131 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
137 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
142 <if(terminalOptions.node)>
143 <label>_tree = new <terminalOptions.node>(<label>);
153 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
159 wildcard(token,label,elementIndex,terminalOptions) ::= <<
[all …]
DASTParser.stg49 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
58 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
61 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
70 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
76 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
82 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
100 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <%
104 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
108 matchSetBang(s,label,elementIndex,terminalOptions,postmatchCode) ::= "<super.matchSet(...)>"
113 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
DAST.stg93 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= <<
101 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
107 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= <<
113 tokenRefRuleRootTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
298 rewriteTokenRef(token,elementIndex,terminalOptions,args) ::= <<
321 rewriteTokenRefRoot(token,elementIndex,terminalOptions,args) ::= <<
325 rewriteImaginaryTokenRef(args,token,terminalOptions,elementIndex) ::= <<
326 adaptor.addChild(root_<treeLevel>, <createImaginaryNode(token,terminalOptions,args)>);<\n>
329 rewriteImaginaryTokenRefRoot(args,token,terminalOptions,elementIndex) ::= <<
330 root_<treeLevel> = (<ASTLabelType>)adaptor.becomeRoot(<createImaginaryNode(token,terminalOptions,ar…
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DASTTreeParser.stg123 tokenRefBang(token,label,elementIndex,terminalOptions) ::= <<
129 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
134 <if(terminalOptions.node)>
135 <label>_tree = <terminalOptions.node>New(<label>);
149 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
155 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
160 <if(terminalOptions.node)>
161 <label>_tree = <terminalOptions.node>New(<label>);
171 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
177 wildcard(token,label,elementIndex,terminalOptions) ::= <<
[all …]
DASTParser.stg51 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
60 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
63 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
72 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
79 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
86 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
104 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
108 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
112 matchSetBang(s,label,elementIndex,terminalOptions,postmatchCode) ::= "<super.matchSet(...)>"
117 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DASTTreeParser.stg114 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
119 <if(terminalOptions.node)>
120 <label>_tree = new <terminalOptions.node>(<label>);
133 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
139 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
144 <if(terminalOptions.node)>
145 <label>_tree = new <terminalOptions.node>(<label>);
155 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
162 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
167 <if(terminalOptions.node)>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DASTTreeParser.stg113 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
118 <if(terminalOptions.node)>
119 <label>_tree = new <terminalOptions.node>(<label>);
138 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
143 <if(terminalOptions.node)>
144 <label>_tree = new <terminalOptions.node>(<label>);
154 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
160 wildcard(token,label,elementIndex,terminalOptions) ::= <<
176 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
181 <if(terminalOptions.node)>
[all …]
DASTParser.stg50 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
62 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
71 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
77 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
83 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
101 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
105 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
114 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
176 createNodeFromToken(label,terminalOptions) ::= <<
177 <if(terminalOptions.node)>
[all …]
DAST.stg94 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= <<
102 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
108 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= <<
114 tokenRefRuleRootTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
298 rewriteTokenRef(token,elementIndex,terminalOptions,args) ::= <<
321 rewriteTokenRefRoot(token,elementIndex,terminalOptions,args) ::= <<
325 rewriteImaginaryTokenRef(args,token,terminalOptions,elementIndex) ::= <<
329 rewriteImaginaryTokenRefRoot(args,token,terminalOptions,elementIndex) ::= <<
385 createImaginaryNode(tokenType,terminalOptions,args) ::= <<
386 <if(terminalOptions.node)>
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DASTTreeParser.stg124 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
132 <if(terminalOptions.node)>
133 <label>_tree := T<terminalOptions.node>.Create(<label>);
148 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
154 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
162 <if(terminalOptions.node)>
163 <label>_tree := T<terminalOptions.node>.Create(<label>);
175 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
182 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
187 <if(terminalOptions.node)>
[all …]
DASTParser.stg53 tokenRef(token,label,elementIndex,terminalOptions) ::= <<
70 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= <<
84 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
90 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= <<
96 tokenRefRuleRootAndListLabel(token,label,terminalOptions,elementIndex) ::= <<
114 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= <<
118 matchRuleBlockSet(s,label,terminalOptions,elementIndex,postmatchCode,treeLevel="0") ::= <<
127 matchSetRuleRoot(s,label,terminalOptions,elementIndex,debug) ::= <<
199 createNodeFromToken(label,terminalOptions) ::= <<
200 <if(terminalOptions.node)>
[all …]

12