Debian Codegraph @

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

raw
1 @ ProgramNode (location: (1,0)-(3,11))
2 ├── locals: []
3 └── statements:
4 @ StatementsNode (location: (1,0)-(3,11))
5 └── body: (length: 3)
6 ├── @ YieldNode (location: (1,0)-(1,5))
7 │ ├── keyword_loc: (1,0)-(1,5) = "yield"
8 │ ├── lparen_loc: ∅
9 │ ├── arguments: ∅
10 │ └── rparen_loc: ∅
11 ├── @ YieldNode (location: (2,0)-(2,8))
12 │ ├── keyword_loc: (2,0)-(2,5) = "yield"
13 │ ├── lparen_loc: (2,5)-(2,6) = "("
14 │ ├── arguments:
15 │ │ @ ArgumentsNode (location: (2,6)-(2,7))
16 │ │ ├── flags: ∅
17 │ │ └── arguments: (length: 1)
18 │ │ └── @ CallNode (location: (2,6)-(2,7))
19 │ │ ├── flags: variable_call
20 │ │ ├── receiver: ∅
21 │ │ ├── call_operator_loc: ∅
22 │ │ ├── name: :a
23 │ │ ├── message_loc: (2,6)-(2,7) = "a"
24 │ │ ├── opening_loc: ∅
25 │ │ ├── arguments: ∅
26 │ │ ├── closing_loc: ∅
27 │ │ └── block: ∅
28 │ └── rparen_loc: (2,7)-(2,8) = ")"
29 └── @ YieldNode (location: (3,0)-(3,11))
30 ├── keyword_loc: (3,0)-(3,5) = "yield"
31 ├── lparen_loc: (3,5)-(3,6) = "("
32 ├── arguments:
33 │ @ ArgumentsNode (location: (3,6)-(3,10))
34 │ ├── flags: ∅
35 │ └── arguments: (length: 2)
36 │ ├── @ CallNode (location: (3,6)-(3,7))
37 │ │ ├── flags: variable_call
38 │ │ ├── receiver: ∅
39 │ │ ├── call_operator_loc: ∅
40 │ │ ├── name: :a
41 │ │ ├── message_loc: (3,6)-(3,7) = "a"
42 │ │ ├── opening_loc: ∅
43 │ │ ├── arguments: ∅
44 │ │ ├── closing_loc: ∅
45 │ │ └── block: ∅
46 │ └── @ CallNode (location: (3,9)-(3,10))
47 │ ├── flags: variable_call
48 │ ├── receiver: ∅
49 │ ├── call_operator_loc: ∅
50 │ ├── name: :b
51 │ ├── message_loc: (3,9)-(3,10) = "b"
52 │ ├── opening_loc: ∅
53 │ ├── arguments: ∅
54 │ ├── closing_loc: ∅
55 │ └── block: ∅
56 └── rparen_loc: (3,10)-(3,11) = ")"