1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
@ ProgramNode (location: (1,0)-(6,3))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(6,3))
└── body: (length: 2)
├── @ StringNode (location: (1,0)-(1,8))
│ ├── flags: ∅
│ ├── opening_loc: (1,0)-(1,8) = "<<-EOFOO"
│ ├── content_loc: (2,0)-(3,0) = "\\n\\n\\n\\n\\n\\n\\n\\n\\n\n"
│ ├── closing_loc: (3,0)-(4,0) = "EOFOO\n"
│ └── unescaped: "\n\n\n\n\n\n\n\n\n\n"
└── @ ClassNode (location: (5,0)-(6,3))
├── locals: []
├── class_keyword_loc: (5,0)-(5,5) = "class"
├── constant_path:
│ @ ConstantReadNode (location: (5,6)-(5,9))
│ └── name: :Foo
├── inheritance_operator_loc: ∅
├── superclass: ∅
├── body: ∅
├── end_keyword_loc: (6,0)-(6,3) = "end"
└── name: :Foo
|