|
| 1 | +<!-- |
| 2 | +
|
| 3 | + Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + or more contributor license agreements. See the NOTICE file |
| 5 | + distributed with this work for additional information |
| 6 | + regarding copyright ownership. The ASF licenses this file |
| 7 | + to you under the Apache License, Version 2.0 (the |
| 8 | + "License"); you may not use this file except in compliance |
| 9 | + with the License. You may obtain a copy of the License at |
| 10 | +
|
| 11 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +
|
| 13 | + Unless required by applicable law or agreed to in writing, |
| 14 | + software distributed under the License is distributed on an |
| 15 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + KIND, either express or implied. See the License for the |
| 17 | + specific language governing permissions and limitations |
| 18 | + under the License. |
| 19 | +
|
| 20 | +--> |
| 21 | + |
| 22 | +<FunctionNode name=':program' kind='SCRIPT' start='0' end='295'> |
| 23 | + <isProgram/> |
| 24 | + <!-- FunctionNode Parameters --> |
| 25 | + <!-- FunctionNode Body --> |
| 26 | + <Block start='0' end='295'> |
| 27 | + <isFunctionBody/> |
| 28 | + <isSynthetic/> |
| 29 | + <!-- Block Statements --> |
| 30 | + <VarNode name='Demo' start='0' end='10'> |
| 31 | + <hasInit/> |
| 32 | + <isAssignment/> |
| 33 | + <isBlockScoped/> |
| 34 | + <isConst/> |
| 35 | + <!-- VarNode Assignment Dest --> |
| 36 | + <IdentNode start='6' end='10'> |
| 37 | + <name>Demo</name> |
| 38 | + <isInitializedHere/> |
| 39 | + </IdentNode> |
| 40 | + <!-- VarNode Init --> |
| 41 | + <ClassNode ident='Demo' start='0' end='295'> |
| 42 | + <!-- ClassNode Constructor --> |
| 43 | + <ClassElement name='Demo' start='0' end='295'> |
| 44 | + <!-- ClassElement Key --> |
| 45 | + <IdentNode start='6' end='10'> |
| 46 | + <name>Demo</name> |
| 47 | + </IdentNode> |
| 48 | + <!-- ClassElement Value --> |
| 49 | + <FunctionNode name='Demo' kind='NORMAL' start='0' end='295'> |
| 50 | + <isClassConstructor/> |
| 51 | + <isMethod/> |
| 52 | + <isNamedFunctionExpression/> |
| 53 | + <!-- FunctionNode Parameters --> |
| 54 | + <!-- FunctionNode Body --> |
| 55 | + <Block start='0' end='295'> |
| 56 | + <isFunctionBody/> |
| 57 | + <!-- Block Statements --> |
| 58 | + </Block> |
| 59 | + </FunctionNode> |
| 60 | + <!-- ClassElement Decorators --> |
| 61 | + </ClassElement> |
| 62 | + <!-- ClassNode Elements --> |
| 63 | + <ClassElement name='generator1' start='19' end='78'> |
| 64 | + <!-- ClassElement Key --> |
| 65 | + <IdentNode start='19' end='29'> |
| 66 | + <name>generator1</name> |
| 67 | + <isPropertyName/> |
| 68 | + </IdentNode> |
| 69 | + <!-- ClassElement Value --> |
| 70 | + <FunctionNode name='generator1' kind='GENERATOR' start='19' end='78'> |
| 71 | + <isMethod/> |
| 72 | + <isNamedFunctionExpression/> |
| 73 | + <!-- FunctionNode Parameters --> |
| 74 | + <!-- FunctionNode Body --> |
| 75 | + <Block start='32' end='72'> |
| 76 | + <isFunctionBody/> |
| 77 | + <!-- Block Statements --> |
| 78 | + <ExpressionStatement start='42' end='50'> |
| 79 | + <UnaryNode type='YIELD' start='42' end='49'> |
| 80 | + <!-- UnaryNode Expression --> |
| 81 | + <NumberLiteralNode value='1' start='48' end='49'/> |
| 82 | + </UnaryNode> |
| 83 | + </ExpressionStatement> |
| 84 | + <ExpressionStatement start='59' end='72'> |
| 85 | + <UnaryNode type='YIELD' start='59' end='71'> |
| 86 | + <!-- UnaryNode Expression --> |
| 87 | + <BinaryNode type='ADD' start='65' end='71'> |
| 88 | + <!-- BinaryNode lhs --> |
| 89 | + <NumberLiteralNode value='1' start='65' end='66'/> |
| 90 | + <!-- BinaryNode rhs --> |
| 91 | + <NumberLiteralNode value='10' start='69' end='71'/> |
| 92 | + </BinaryNode> |
| 93 | + </UnaryNode> |
| 94 | + </ExpressionStatement> |
| 95 | + </Block> |
| 96 | + </FunctionNode> |
| 97 | + <!-- ClassElement Decorators --> |
| 98 | + </ClassElement> |
| 99 | + <ClassElement name='generator2' start='86' end='146'> |
| 100 | + <!-- ClassElement Key --> |
| 101 | + <IdentNode start='86' end='96'> |
| 102 | + <name>generator2</name> |
| 103 | + <isPropertyName/> |
| 104 | + </IdentNode> |
| 105 | + <!-- ClassElement Value --> |
| 106 | + <FunctionNode name='generator2' kind='GENERATOR' start='86' end='146'> |
| 107 | + <isMethod/> |
| 108 | + <isNamedFunctionExpression/> |
| 109 | + <!-- FunctionNode Parameters --> |
| 110 | + <IdentNode start='97' end='98'> |
| 111 | + <name>i</name> |
| 112 | + </IdentNode> |
| 113 | + <!-- FunctionNode Body --> |
| 114 | + <Block start='100' end='140'> |
| 115 | + <isFunctionBody/> |
| 116 | + <!-- Block Statements --> |
| 117 | + <ExpressionStatement start='110' end='118'> |
| 118 | + <UnaryNode type='YIELD' start='110' end='117'> |
| 119 | + <!-- UnaryNode Expression --> |
| 120 | + <IdentNode start='116' end='117'> |
| 121 | + <name>i</name> |
| 122 | + </IdentNode> |
| 123 | + </UnaryNode> |
| 124 | + </ExpressionStatement> |
| 125 | + <ExpressionStatement start='127' end='140'> |
| 126 | + <UnaryNode type='YIELD' start='127' end='139'> |
| 127 | + <!-- UnaryNode Expression --> |
| 128 | + <BinaryNode type='ADD' start='133' end='139'> |
| 129 | + <!-- BinaryNode lhs --> |
| 130 | + <IdentNode start='133' end='134'> |
| 131 | + <name>i</name> |
| 132 | + </IdentNode> |
| 133 | + <!-- BinaryNode rhs --> |
| 134 | + <NumberLiteralNode value='10' start='137' end='139'/> |
| 135 | + </BinaryNode> |
| 136 | + </UnaryNode> |
| 137 | + </ExpressionStatement> |
| 138 | + </Block> |
| 139 | + </FunctionNode> |
| 140 | + <!-- ClassElement Decorators --> |
| 141 | + </ClassElement> |
| 142 | + <ClassElement name='generator3' start='160' end='219'> |
| 143 | + <!-- ClassElement Key --> |
| 144 | + <IdentNode start='160' end='170'> |
| 145 | + <name>generator3</name> |
| 146 | + <isPropertyName/> |
| 147 | + </IdentNode> |
| 148 | + <!-- ClassElement Value --> |
| 149 | + <FunctionNode name='generator3' kind='GENERATOR' start='160' end='219'> |
| 150 | + <isMethod/> |
| 151 | + <isNamedFunctionExpression/> |
| 152 | + <isAsync/> |
| 153 | + <!-- FunctionNode Parameters --> |
| 154 | + <!-- FunctionNode Body --> |
| 155 | + <Block start='173' end='213'> |
| 156 | + <isFunctionBody/> |
| 157 | + <!-- Block Statements --> |
| 158 | + <ExpressionStatement start='183' end='191'> |
| 159 | + <UnaryNode type='YIELD' start='183' end='190'> |
| 160 | + <!-- UnaryNode Expression --> |
| 161 | + <NumberLiteralNode value='1' start='189' end='190'/> |
| 162 | + </UnaryNode> |
| 163 | + </ExpressionStatement> |
| 164 | + <ExpressionStatement start='200' end='213'> |
| 165 | + <UnaryNode type='YIELD' start='200' end='212'> |
| 166 | + <!-- UnaryNode Expression --> |
| 167 | + <BinaryNode type='ADD' start='206' end='212'> |
| 168 | + <!-- BinaryNode lhs --> |
| 169 | + <NumberLiteralNode value='1' start='206' end='207'/> |
| 170 | + <!-- BinaryNode rhs --> |
| 171 | + <NumberLiteralNode value='10' start='210' end='212'/> |
| 172 | + </BinaryNode> |
| 173 | + </UnaryNode> |
| 174 | + </ExpressionStatement> |
| 175 | + </Block> |
| 176 | + </FunctionNode> |
| 177 | + <!-- ClassElement Decorators --> |
| 178 | + </ClassElement> |
| 179 | + <ClassElement name='generator4' start='233' end='293'> |
| 180 | + <!-- ClassElement Key --> |
| 181 | + <IdentNode start='233' end='243'> |
| 182 | + <name>generator4</name> |
| 183 | + <isPropertyName/> |
| 184 | + </IdentNode> |
| 185 | + <!-- ClassElement Value --> |
| 186 | + <FunctionNode name='generator4' kind='GENERATOR' start='233' end='293'> |
| 187 | + <isMethod/> |
| 188 | + <isNamedFunctionExpression/> |
| 189 | + <isAsync/> |
| 190 | + <!-- FunctionNode Parameters --> |
| 191 | + <IdentNode start='244' end='245'> |
| 192 | + <name>i</name> |
| 193 | + </IdentNode> |
| 194 | + <!-- FunctionNode Body --> |
| 195 | + <Block start='247' end='287'> |
| 196 | + <isFunctionBody/> |
| 197 | + <!-- Block Statements --> |
| 198 | + <ExpressionStatement start='257' end='265'> |
| 199 | + <UnaryNode type='YIELD' start='257' end='264'> |
| 200 | + <!-- UnaryNode Expression --> |
| 201 | + <IdentNode start='263' end='264'> |
| 202 | + <name>i</name> |
| 203 | + </IdentNode> |
| 204 | + </UnaryNode> |
| 205 | + </ExpressionStatement> |
| 206 | + <ExpressionStatement start='274' end='287'> |
| 207 | + <UnaryNode type='YIELD' start='274' end='286'> |
| 208 | + <!-- UnaryNode Expression --> |
| 209 | + <BinaryNode type='ADD' start='280' end='286'> |
| 210 | + <!-- BinaryNode lhs --> |
| 211 | + <IdentNode start='280' end='281'> |
| 212 | + <name>i</name> |
| 213 | + </IdentNode> |
| 214 | + <!-- BinaryNode rhs --> |
| 215 | + <NumberLiteralNode value='10' start='284' end='286'/> |
| 216 | + </BinaryNode> |
| 217 | + </UnaryNode> |
| 218 | + </ExpressionStatement> |
| 219 | + </Block> |
| 220 | + </FunctionNode> |
| 221 | + <!-- ClassElement Decorators --> |
| 222 | + </ClassElement> |
| 223 | + <!-- ClassNode Decorators --> |
| 224 | + </ClassNode> |
| 225 | + </VarNode> |
| 226 | + </Block> |
| 227 | +</FunctionNode> |
0 commit comments