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
|
<FunctionNode name=':program' kind='SCRIPT' start='0' end='35'>
<isProgram/>
<!-- FunctionNode Parameters -->
<!-- FunctionNode Body -->
<Block start='0' end='35'>
<isFunctionBody/>
<isSynthetic/>
<!-- Block Statements -->
<BlockStatement start='0' end='35'>
<Block start='0' end='35'>
<isSynthetic/>
<!-- Block Statements -->
<ForNode start='0' end='35'>
<BinaryNode type='ASSIGN' start='5' end='13'>
<isAssignment/>
<!-- BinaryNode lhs -->
<IdentNode start='5' end='6'>
<name>i</name>
</IdentNode>
<!-- BinaryNode rhs -->
<BinaryNode type='COMMARIGHT' start='10' end='13'>
<!-- BinaryNode lhs -->
<NumberLiteralNode value='1' start='10' end='11'/>
<!-- BinaryNode rhs -->
<NumberLiteralNode value='2' start='12' end='13'/>
</BinaryNode>
</BinaryNode>
<JoinPredecessorExpression start='17' end='20'>
<BinaryNode type='LT' start='17' end='20'>
<isComparison/>
<isRelational/>
<!-- BinaryNode lhs -->
<IdentNode start='17' end='18'>
<name>i</name>
</IdentNode>
<!-- BinaryNode rhs -->
<NumberLiteralNode value='2' start='19' end='20'/>
</BinaryNode>
</JoinPredecessorExpression>
<JoinPredecessorExpression start='22' end='25'>
<UnaryNode type='INCPOSTFIX' start='22' end='25'>
<isAssignment/>
<!-- UnaryNode Expression -->
<IdentNode start='22' end='23'>
<name>i</name>
</IdentNode>
</UnaryNode>
</JoinPredecessorExpression>
<Block start='27' end='35'>
<!-- Block Statements -->
</Block>
</ForNode>
</Block>
</BlockStatement>
</Block>
</FunctionNode>
|