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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
@ ProgramNode (location: (2,0)-(3,3))
├── locals: []
└── statements:
@ StatementsNode (location: (2,0)-(3,3))
└── body: (length: 1)
└── @ ClassNode (location: (2,0)-(3,3))
├── locals: []
├── class_keyword_loc: (2,0)-(2,5) = "class"
├── constant_path:
│ @ ConstantReadNode (location: (2,6)-(2,34))
│ └── name: :ExampleUTF8ClassNameVarietà
├── inheritance_operator_loc: ∅
├── superclass: ∅
├── body:
│ @ StatementsNode (location: (2,36)-(2,68))
│ └── body: (length: 1)
│ └── @ DefNode (location: (2,36)-(2,68))
│ ├── name: :è
│ ├── name_loc: (2,45)-(2,47) = "è"
│ ├── receiver:
│ │ @ SelfNode (location: (2,40)-(2,44))
│ ├── parameters: ∅
│ ├── body:
│ │ @ StatementsNode (location: (2,49)-(2,63))
│ │ └── body: (length: 1)
│ │ └── @ LocalVariableWriteNode (location: (2,49)-(2,63))
│ │ ├── name: :così
│ │ ├── depth: 0
│ │ ├── name_loc: (2,49)-(2,54) = "così"
│ │ ├── value:
│ │ │ @ SymbolNode (location: (2,57)-(2,63))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: (2,57)-(2,58) = ":"
│ │ │ ├── value_loc: (2,58)-(2,63) = "però"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "però"
│ │ └── operator_loc: (2,55)-(2,56) = "="
│ ├── locals: [:così]
│ ├── def_keyword_loc: (2,36)-(2,39) = "def"
│ ├── operator_loc: (2,44)-(2,45) = "."
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── equal_loc: ∅
│ └── end_keyword_loc: (2,65)-(2,68) = "end"
├── end_keyword_loc: (3,0)-(3,3) = "end"
└── name: :ExampleUTF8ClassNameVarietà
|