File: jsx8.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 (67 lines) | stat: -rw-r--r-- 2,674 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<FunctionNode name=':program' kind='SCRIPT' start='0' end='125'>
  <hasDeclaredFunctions/>
  <isProgram/>
  <!-- FunctionNode Parameters -->
  <!-- FunctionNode Body -->
  <Block start='0' end='125'>
    <isFunctionBody/>
    <isSynthetic/>
    <!-- Block Statements -->
    <VarNode name='test' start='0' end='125'>
      <hasInit/>
      <isAssignment/>
      <isFunctionDeclaration/>
      <!-- VarNode Assignment Dest -->
      <IdentNode start='9' end='13'>
        <name>test</name>
        <isInitializedHere/>
      </IdentNode>
      <!-- VarNode Init -->
      <FunctionNode name='test' kind='NORMAL' start='0' end='125'>
        <isDeclared/>
        <!-- FunctionNode Parameters -->
        <!-- FunctionNode Body -->
        <Block start='16' end='123'>
          <isFunctionBody/>
          <isTerminal/>
          <!-- Block Statements -->
          <ReturnNode start='26' end='123'>
            <JsxElementNode name='Test' start='45' end='112'>
              <!-- JSX Element Attributes -->
              <!-- JSX Element Children -->
              <BinaryNode type='ADD' start='53' end='103'>
                <!-- BinaryNode lhs -->
                <BinaryNode type='ADD' start='53' end='102'>
                  <!-- BinaryNode lhs -->
                  <StringLiteralNode value='template' start='53' end='61'/>
                  <!-- BinaryNode rhs -->
                  <RuntimeNode start='66' end='102'>
                    <BinaryNode type='ASSIGN' start='64' end='102'>
                      <isAssignment/>
                      <!-- BinaryNode lhs -->
                      <IdentNode start='64' end='65'>
                        <name>x</name>
                      </IdentNode>
                      <!-- BinaryNode rhs -->
                      <JsxElementNode name='Inner' start='68' end='102'>
                        <!-- JSX Element Attributes -->
                        <JsxAttributeNode name='a' start='75' end='83'>
                          <!-- JSX Attribute Value -->
                          <StringLiteralNode value='ok' start='79' end='81'/>
                        </JsxAttributeNode>
                        <!-- JSX Element Children -->
                        <StringLiteralNode value='inner text' start='84' end='84'/>
                      </JsxElementNode>
                    </BinaryNode>
                  </RuntimeNode>
                </BinaryNode>
                <!-- BinaryNode rhs -->
                <StringLiteralNode value='' start='103' end='103'/>
              </BinaryNode>
            </JsxElementNode>
          </ReturnNode>
        </Block>
      </FunctionNode>
    </VarNode>
  </Block>
</FunctionNode>