File: exponentiation.js.ast.xml

package info (click to toggle)
libnb-platform18-java 12.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 729,800 kB
  • sloc: java: 5,059,097; xml: 574,432; php: 78,788; javascript: 29,039; ansic: 10,278; sh: 6,386; cpp: 4,612; jsp: 3,643; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (53 lines) | stat: -rw-r--r-- 1,611 bytes parent folder | download | duplicates (3)
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
<FunctionNode name=':program' kind='SCRIPT' start='0' end='37'>
  <isProgram/>
  <!-- FunctionNode Parameters -->
  <!-- FunctionNode Body -->
  <Block start='0' end='37'>
    <isFunctionBody/>
    <isSynthetic/>
    <!-- Block Statements -->
    <VarNode name='a' start='4' end='10'>
      <hasInit/>
      <isAssignment/>
      <!-- VarNode Assignment Dest -->
      <IdentNode start='4' end='5'>
        <name>a</name>
        <isDeclaredHere/>
        <isInitializedHere/>
      </IdentNode>
      <!-- VarNode Init -->
      <NumberLiteralNode value='10' start='8' end='10'/>
    </VarNode>
    <VarNode name='b' start='17' end='27'>
      <hasInit/>
      <isAssignment/>
      <!-- VarNode Assignment Dest -->
      <IdentNode start='17' end='18'>
        <name>b</name>
        <isDeclaredHere/>
        <isInitializedHere/>
      </IdentNode>
      <!-- VarNode Init -->
      <BinaryNode type='EXP' start='21' end='27'>
        <!-- BinaryNode lhs -->
        <IdentNode start='21' end='22'>
          <name>a</name>
        </IdentNode>
        <!-- BinaryNode rhs -->
        <NumberLiteralNode value='5' start='26' end='27'/>
      </BinaryNode>
    </VarNode>
    <ExpressionStatement start='30' end='37'>
      <BinaryNode type='ASSIGN_EXP' start='30' end='37'>
        <isAssignment/>
        <isSelfModifying/>
        <!-- BinaryNode lhs -->
        <IdentNode start='30' end='31'>
          <name>c</name>
        </IdentNode>
        <!-- BinaryNode rhs -->
        <NumberLiteralNode value='7' start='36' end='37'/>
      </BinaryNode>
    </ExpressionStatement>
  </Block>
</FunctionNode>