/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ASTTreeParser.stg | 117 tokenRefBang(token,label,elementIndex,terminalOptions) ::= << 127 tokenRef(token,label,elementIndex,terminalOptions) ::= << 133 <if(terminalOptions.node)> 134 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><… 136 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp… 150 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= << 160 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= << 166 <if(terminalOptions.node)> 167 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><… 169 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp… [all …]
|
D | ASTParser.stg | 52 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,elementIndex,terminalOptions={}) ::= << 103 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= << 107 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= << 111 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>" 116 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= << 160 wildcard(token,label,elementIndex,terminalOptions={}) ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ASTTreeParser.stg | 118 tokenRefBang(token,label,elementIndex,terminalOptions) ::= << 128 tokenRef(token,label,elementIndex,terminalOptions) ::= << 134 <if(terminalOptions.node)> 135 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><… 137 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp… 151 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= << 161 tokenRefRuleRoot(token,label,elementIndex,terminalOptions) ::= << 167 <if(terminalOptions.node)> 168 …tree = new <terminalOptions.node>(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><… 170 …ype>)adaptor.DupNode(<if(terminalOptions.type)><terminalOptions.type>,<endif><label><if(terminalOp… [all …]
|
D | ASTParser.stg | 53 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,elementIndex,terminalOptions={}) ::= << 108 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= << 112 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= << 116 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>" 121 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | ASTParser.stg | 15 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 …]
|
D | ASTTreeParser.stg | 63 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 …]
|
D | AST.stg | 39 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/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ASTTreeParser.stg | 152 tokenRefBang(token,label,elementIndex,terminalOptions) ::= << 159 tokenRef(token,label,elementIndex,terminalOptions) ::= << 165 <if(terminalOptions.node)> 166 <label>_tree = [<terminalOptions.node> new<terminalOptions.node>:<label>]; 179 tokenRefAndListLabel(token,label,elementIndex,terminalOptions) ::= << 192 <if(terminalOptions.node)> 193 <label>_tree = [<terminalOptions.node> new<terminalOptions.node>:<label>]; 203 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions) ::= << 210 wildcard(token,label,elementIndex,terminalOptions) ::= << 227 matchSet(s,label,terminalOptions,elementIndex,postmatchCode) ::= << [all …]
|
D | ASTParser.stg | 49 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/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | ASTTreeParser.stg | 85 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 …]
|
D | ASTParser.stg | 21 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/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | ASTTreeParser.stg | 117 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 …]
|
D | ASTParser.stg | 59 tokenRef(token,label,elementIndex,terminalOptions={}) ::= << 68 tokenRefBang(token,label,elementIndex,terminalOptions={}) ::= "<super.tokenRef(...)>" 71 tokenRefRuleRoot(token,label,elementIndex,terminalOptions={}) ::= << 80 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 86 tokenRefAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 92 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 110 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= <% 114 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= << 118 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>" 123 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ASTTreeParser.stg | 117 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 …]
|
D | ASTParser.stg | 59 tokenRef(token,label,elementIndex,terminalOptions={}) ::= << 68 tokenRefBang(token,label,elementIndex,terminalOptions={}) ::= "<super.tokenRef(...)>" 71 tokenRefRuleRoot(token,label,elementIndex,terminalOptions={}) ::= << 80 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 86 tokenRefAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 92 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 110 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= <% 114 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= << 118 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>" 123 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= << [all …]
|
D | AST.stg | 110 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,args,terminalOptions={}) ::= << 351 rewriteTokenRefRoot(token,elementIndex,args,terminalOptions={}) ::= << 355 rewriteImaginaryTokenRef(args,token,elementIndex,terminalOptions={}) ::= << 356 self._adaptor.addChild(root_<treeLevel>, <createImaginaryNode(token, args, terminalOptions)>)<\n> 359 rewriteImaginaryTokenRefRoot(args,token,elementIndex,terminalOptions={}) ::= << 360 root_<treeLevel> = self._adaptor.becomeRoot(<createImaginaryNode(token, args, terminalOptions)>, ro… [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ASTTreeParser.stg | 106 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 …]
|
D | ASTParser.stg | 49 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 …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | ASTTreeParser.stg | 123 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 …]
|
D | ASTParser.stg | 51 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/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | ASTTreeParser.stg | 114 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/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ASTTreeParser.stg | 114 tokenRefBang(token,label,elementIndex,terminalOptions={}) ::= << 124 tokenRef(token,label,elementIndex,terminalOptions={}) ::= << 130 <if(terminalOptions.node)> 131 <label>_tree = new <terminalOptions.node>(<label>); 147 tokenRefAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 157 tokenRefRuleRoot(token,label,elementIndex,terminalOptions={}) ::= << 163 <if(terminalOptions.node)> 164 <label>_tree = new <terminalOptions.node>(<label>); 177 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 187 wildcard(token,label,elementIndex,terminalOptions={}) ::= << [all …]
|
D | ASTParser.stg | 49 tokenRef(token,label,elementIndex,terminalOptions={}) ::= << 60 tokenRefBang(token,label,elementIndex,terminalOptions={}) ::= "<super.tokenRef(...)>" 63 tokenRefRuleRoot(token,label,elementIndex,terminalOptions={}) ::= << 74 tokenRefBangAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 80 tokenRefAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 86 tokenRefRuleRootAndListLabel(token,label,elementIndex,terminalOptions={}) ::= << 104 matchSet(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= <% 108 matchRuleBlockSet(s,label,elementIndex,postmatchCode,treeLevel="0",terminalOptions={}) ::= << 112 matchSetBang(s,label,elementIndex,postmatchCode,terminalOptions={}) ::= "<super.matchSet(...)>" 117 matchSetRuleRoot(s,label,elementIndex,debug,terminalOptions={}) ::= << [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | ASTTreeParser.stg | 124 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 …]
|
D | ASTParser.stg | 53 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 …]
|