blob: c4e52e17f4a2cac815333fcf26743641f7bac09b (
plain)
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
|
@ ProgramNode (location: (0...47))
├── locals: []
└── statements:
@ StatementsNode (location: (0...47))
└── body: (length: 2)
├── @ ArrayNode (location: (0...17))
│ ├── elements: (length: 1)
│ │ └── @ StringNode (location: (1...15))
│ │ ├── opening_loc: (1...2) = "\""
│ │ ├── content_loc: (2...14) = " some text\n"
│ │ ├── closing_loc: (14...15) = "\""
│ │ └── unescaped: " some text\n"
│ ├── opening_loc: (0...1) = "["
│ └── closing_loc: (16...17) = "]"
└── @ ArrayNode (location: (19...47))
├── elements: (length: 1)
│ └── @ InterpolatedStringNode (location: (20...27))
│ ├── opening_loc: (20...27) = "<<-FILE"
│ ├── parts: (length: 1)
│ │ └── @ StringNode (location: (29...41))
│ │ ├── opening_loc: ∅
│ │ ├── content_loc: (29...41) = " some text\n"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: " some text\n"
│ └── closing_loc: (41...46) = "FILE\n"
├── opening_loc: (19...20) = "["
└── closing_loc: (46...47) = "]"
|