summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/parser_bug_518.txt
blob: b63fbb8284ec89fa9ab59b5eec1e2c835624e68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@ ProgramNode (location: (1,0)-(2,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(2,3))
    └── body: (length: 1)
        └── @ ClassNode (location: (1,0)-(2,3))
            ├── locals: []
            ├── class_keyword_loc: (1,0)-(1,5) = "class"
            ├── constant_path:
            │   @ ConstantReadNode (location: (1,6)-(1,7))
            │   └── name: :A
            ├── inheritance_operator_loc: (1,8)-(1,9) = "<"
            ├── superclass:
            │   @ ConstantReadNode (location: (1,10)-(1,11))
            │   └── name: :B
            ├── body: ∅
            ├── end_keyword_loc: (2,0)-(2,3) = "end"
            └── name: :A