summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/class.txt
blob: e38bec6c476389ac4c93ed36d6be76bf1d05fa85 (plain)
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
@ ProgramNode (location: (1,0)-(3,14))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,14))
    └── body: (length: 2)
        ├── @ ClassNode (location: (1,0)-(1,13))
        │   ├── locals: []
        │   ├── class_keyword_loc: (1,0)-(1,5) = "class"
        │   ├── constant_path:
        │   │   @ ConstantReadNode (location: (1,6)-(1,9))
        │   │   └── name: :Foo
        │   ├── inheritance_operator_loc: ∅
        │   ├── superclass: ∅
        │   ├── body: ∅
        │   ├── end_keyword_loc: (1,10)-(1,13) = "end"
        │   └── name: :Foo
        └── @ ClassNode (location: (3,0)-(3,14))
            ├── locals: []
            ├── class_keyword_loc: (3,0)-(3,5) = "class"
            ├── constant_path:
            │   @ ConstantReadNode (location: (3,6)-(3,9))
            │   └── name: :Foo
            ├── inheritance_operator_loc: ∅
            ├── superclass: ∅
            ├── body: ∅
            ├── end_keyword_loc: (3,11)-(3,14) = "end"
            └── name: :Foo