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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
@ ProgramNode (location: (1,0)-(1,42))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,42))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,42))
├── flags: attribute_write
├── receiver:
│ @ ArrayNode (location: (1,0)-(1,12))
│ ├── flags: ∅
│ ├── elements: (length: 4)
│ │ ├── @ IntegerNode (location: (1,1)-(1,2))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ ├── @ IntegerNode (location: (1,4)-(1,5))
│ │ │ ├── flags: decimal
│ │ │ └── value: 2
│ │ ├── @ IntegerNode (location: (1,7)-(1,8))
│ │ │ ├── flags: decimal
│ │ │ └── value: 3
│ │ └── @ IntegerNode (location: (1,10)-(1,11))
│ │ ├── flags: decimal
│ │ └── value: 4
│ ├── opening_loc: (1,0)-(1,1) = "["
│ └── closing_loc: (1,11)-(1,12) = "]"
├── call_operator_loc: ∅
├── name: :[]=
├── message_loc: (1,12)-(1,24) = "[from .. to]"
├── opening_loc: (1,12)-(1,13) = "["
├── arguments:
│ @ ArgumentsNode (location: (1,13)-(1,42))
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ RangeNode (location: (1,13)-(1,23))
│ │ ├── flags: ∅
│ │ ├── left:
│ │ │ @ CallNode (location: (1,13)-(1,17))
│ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :from
│ │ │ ├── message_loc: (1,13)-(1,17) = "from"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (1,21)-(1,23))
│ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :to
│ │ │ ├── message_loc: (1,21)-(1,23) = "to"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── operator_loc: (1,18)-(1,20) = ".."
│ └── @ ArrayNode (location: (1,27)-(1,42))
│ ├── flags: ∅
│ ├── elements: (length: 3)
│ │ ├── @ StringNode (location: (1,28)-(1,31))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: (1,28)-(1,29) = "\""
│ │ │ ├── content_loc: (1,29)-(1,30) = "a"
│ │ │ ├── closing_loc: (1,30)-(1,31) = "\""
│ │ │ └── unescaped: "a"
│ │ ├── @ StringNode (location: (1,33)-(1,36))
│ │ │ ├── flags: ∅
│ │ │ ├── opening_loc: (1,33)-(1,34) = "\""
│ │ │ ├── content_loc: (1,34)-(1,35) = "b"
│ │ │ ├── closing_loc: (1,35)-(1,36) = "\""
│ │ │ └── unescaped: "b"
│ │ └── @ StringNode (location: (1,38)-(1,41))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (1,38)-(1,39) = "\""
│ │ ├── content_loc: (1,39)-(1,40) = "c"
│ │ ├── closing_loc: (1,40)-(1,41) = "\""
│ │ └── unescaped: "c"
│ ├── opening_loc: (1,27)-(1,28) = "["
│ └── closing_loc: (1,41)-(1,42) = "]"
├── closing_loc: (1,23)-(1,24) = "]"
└── block: ∅
|