summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/sclass.txt
blob: 53188a7b8a74cf8ac8d37d4c01880ea1d1a4d2c1 (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
@ ProgramNode (location: (1,0)-(1,22))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,22))
    └── body: (length: 1)
        └── @ SingletonClassNode (location: (1,0)-(1,22))
            ├── locals: []
            ├── class_keyword_loc: (1,0)-(1,5) = "class"
            ├── operator_loc: (1,6)-(1,8) = "<<"
            ├── expression:
            │   @ CallNode (location: (1,9)-(1,12))
            │   ├── flags: variable_call, ignore_visibility
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── name: :foo
            │   ├── message_loc: (1,9)-(1,12) = "foo"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            ├── body:
            │   @ StatementsNode (location: (1,14)-(1,17))
            │   └── body: (length: 1)
            │       └── @ NilNode (location: (1,14)-(1,17))
            └── end_keyword_loc: (1,19)-(1,22) = "end"