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
|
@ ProgramNode (location: (1,0)-(5,25))
├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(5,25))
├── flags: ∅
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,25))
│ ├── flags: newline
│ ├── receiver:
│ │ @ StringNode (location: (1,0)-(1,9))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (1,0)-(1,9) = "<<-TARGET"
│ │ ├── content_loc: (2,0)-(2,0) = ""
│ │ ├── closing_loc: (2,0)-(3,0) = "TARGET\n"
│ │ └── unescaped: ""
│ ├── call_operator_loc: (1,9)-(1,10) = "."
│ ├── name: :gsub
│ ├── message_loc: (1,10)-(1,14) = "gsub"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (1,15)-(1,25))
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ RegularExpressionNode (location: (1,15)-(1,21))
│ │ │ ├── flags: static_literal, forced_us_ascii_encoding
│ │ │ ├── opening_loc: (1,15)-(1,16) = "/"
│ │ │ ├── content_loc: (1,16)-(1,20) = "^\\s{"
│ │ │ ├── closing_loc: (1,20)-(1,21) = "/"
│ │ │ └── unescaped: "^\\s{"
│ │ └── @ StringNode (location: (1,23)-(1,25))
│ │ ├── flags: ∅
│ │ ├── opening_loc: (1,23)-(1,24) = "'"
│ │ ├── content_loc: (1,24)-(1,24) = ""
│ │ ├── closing_loc: (1,24)-(1,25) = "'"
│ │ └── unescaped: ""
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (5,0)-(5,25))
├── flags: newline
├── receiver:
│ @ StringNode (location: (5,0)-(5,9))
│ ├── flags: ∅
│ ├── opening_loc: (5,0)-(5,9) = "<<-TARGET"
│ ├── content_loc: (6,0)-(6,0) = ""
│ ├── closing_loc: (6,0)-(7,0) = "TARGET\r\n"
│ └── unescaped: ""
├── call_operator_loc: (5,9)-(5,10) = "."
├── name: :gsub
├── message_loc: (5,10)-(5,14) = "gsub"
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (5,15)-(5,25))
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ RegularExpressionNode (location: (5,15)-(5,21))
│ │ ├── flags: static_literal, forced_us_ascii_encoding
│ │ ├── opening_loc: (5,15)-(5,16) = "/"
│ │ ├── content_loc: (5,16)-(5,20) = "^\\s{"
│ │ ├── closing_loc: (5,20)-(5,21) = "/"
│ │ └── unescaped: "^\\s{"
│ └── @ StringNode (location: (5,23)-(5,25))
│ ├── flags: ∅
│ ├── opening_loc: (5,23)-(5,24) = "'"
│ ├── content_loc: (5,24)-(5,24) = ""
│ ├── closing_loc: (5,24)-(5,25) = "'"
│ └── unescaped: ""
├── closing_loc: ∅
└── block: ∅
|