Debian Codegraph @

test/prism/snapshots/unparser/corpus/literal/hookexe.txt

raw
1 @ ProgramNode (location: (1,0)-(7,1))
2 ├── locals: []
3 └── statements:
4 @ StatementsNode (location: (1,0)-(7,1))
5 └── body: (length: 3)
6 ├── @ PreExecutionNode (location: (1,0)-(3,1))
7 │ ├── statements:
8 │ │ @ StatementsNode (location: (2,2)-(2,5))
9 │ │ └── body: (length: 1)
10 │ │ └── @ CallNode (location: (2,2)-(2,5))
11 │ │ ├── flags: variable_call
12 │ │ ├── receiver: ∅
13 │ │ ├── call_operator_loc: ∅
14 │ │ ├── name: :foo
15 │ │ ├── message_loc: (2,2)-(2,5) = "foo"
16 │ │ ├── opening_loc: ∅
17 │ │ ├── arguments: ∅
18 │ │ ├── closing_loc: ∅
19 │ │ └── block: ∅
20 │ ├── keyword_loc: (1,0)-(1,5) = "BEGIN"
21 │ ├── opening_loc: (1,6)-(1,7) = "{"
22 │ └── closing_loc: (3,0)-(3,1) = "}"
23 ├── @ CallNode (location: (4,0)-(4,3))
24 │ ├── flags: variable_call
25 │ ├── receiver: ∅
26 │ ├── call_operator_loc: ∅
27 │ ├── name: :bar
28 │ ├── message_loc: (4,0)-(4,3) = "bar"
29 │ ├── opening_loc: ∅
30 │ ├── arguments: ∅
31 │ ├── closing_loc: ∅
32 │ └── block: ∅
33 └── @ PostExecutionNode (location: (5,0)-(7,1))
34 ├── statements:
35 │ @ StatementsNode (location: (6,2)-(6,5))
36 │ └── body: (length: 1)
37 │ └── @ CallNode (location: (6,2)-(6,5))
38 │ ├── flags: variable_call
39 │ ├── receiver: ∅
40 │ ├── call_operator_loc: ∅
41 │ ├── name: :baz
42 │ ├── message_loc: (6,2)-(6,5) = "baz"
43 │ ├── opening_loc: ∅
44 │ ├── arguments: ∅
45 │ ├── closing_loc: ∅
46 │ └── block: ∅
47 ├── keyword_loc: (5,0)-(5,3) = "END"
48 ├── opening_loc: (5,4)-(5,5) = "{"
49 └── closing_loc: (7,0)-(7,1) = "}"