1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
<FunctionNode name=':program' kind='SCRIPT' start='0' end='55'>
<isProgram/>
<!-- FunctionNode Parameters -->
<!-- FunctionNode Body -->
<Block start='0' end='55'>
<isFunctionBody/>
<isSynthetic/>
<!-- Block Statements -->
<VarNode name='Test' start='0' end='10'>
<hasInit/>
<isAssignment/>
<isBlockScoped/>
<isConst/>
<!-- VarNode Assignment Dest -->
<IdentNode start='6' end='10'>
<name>Test</name>
<isInitializedHere/>
</IdentNode>
<!-- VarNode Init -->
<ClassNode ident='Test' start='0' end='55'>
<!-- ClassNode Constructor -->
<PropertyNode name='Test' start='0' end='55'>
<!-- PropertyNode Key -->
<IdentNode start='6' end='10'>
<name>Test</name>
</IdentNode>
<!-- PropertyNode Value -->
<FunctionNode name='Test' kind='NORMAL' start='0' end='55'>
<isClassConstructor/>
<isMethod/>
<isNamedFunctionExpression/>
<!-- FunctionNode Parameters -->
<!-- FunctionNode Body -->
<Block start='0' end='55'>
<isFunctionBody/>
<!-- Block Statements -->
</Block>
</FunctionNode>
<!-- PropertyNode Decorators -->
</PropertyNode>
<!-- ClassNode Elements -->
<PropertyNode name='method' start='22' end='53'>
<!-- PropertyNode Key -->
<IdentNode start='22' end='28'>
<name>method</name>
<isPropertyName/>
</IdentNode>
<!-- PropertyNode Value -->
<FunctionNode name='method' kind='NORMAL' start='22' end='53'>
<isMethod/>
<isNamedFunctionExpression/>
<!-- FunctionNode Parameters -->
<IdentNode start='30' end='31'>
<name>a</name>
</IdentNode>
<IdentNode start='33' end='34'>
<name>b</name>
</IdentNode>
<!-- FunctionNode Body -->
<Block start='37' end='38'>
<isFunctionBody/>
<!-- Block Statements -->
</Block>
</FunctionNode>
<!-- PropertyNode Decorators -->
</PropertyNode>
<!-- ClassNode Decorators -->
</ClassNode>
</VarNode>
</Block>
</FunctionNode>
|