blob: 841045e342a1ab9e4a86d158c356546935675fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
@ ProgramNode (location: (0...15))
├── locals: []
└── statements:
@ StatementsNode (location: (0...15))
└── body: (length: 1)
└── @ ClassNode (location: (0...15))
├── locals: []
├── class_keyword_loc: (0...5) = "class"
├── constant_path:
│ @ ConstantReadNode (location: (6...7))
│ └── name: :A
├── inheritance_operator_loc: (8...9) = "<"
├── superclass:
│ @ ConstantReadNode (location: (10...11))
│ └── name: :B
├── body: ∅
├── end_keyword_loc: (12...15) = "end"
└── name: :A
|