diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/block_call_operation_dot.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/block_call_operation_dot.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/block_call_operation_dot.txt b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt new file mode 100644 index 0000000000..93116aed58 --- /dev/null +++ b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt @@ -0,0 +1,53 @@ +@ ProgramNode (location: (1,0)-(1,14)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,14)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,14)) + ├── receiver: + │ @ CallNode (location: (1,0)-(1,12)) + │ ├── receiver: + │ │ @ CallNode (location: (1,0)-(1,1)) + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── message_loc: (1,0)-(1,1) = "a" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ ├── block: ∅ + │ │ ├── flags: variable_call + │ │ └── name: "a" + │ ├── call_operator_loc: (1,1)-(1,2) = "." + │ ├── message_loc: (1,2)-(1,3) = "b" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (1,4)-(1,5)) + │ │ └── arguments: (length: 1) + │ │ └── @ CallNode (location: (1,4)-(1,5)) + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── message_loc: (1,4)-(1,5) = "c" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ ├── block: ∅ + │ │ ├── flags: variable_call + │ │ └── name: "c" + │ ├── closing_loc: ∅ + │ ├── block: + │ │ @ BlockNode (location: (1,6)-(1,12)) + │ │ ├── locals: [] + │ │ ├── parameters: ∅ + │ │ ├── body: ∅ + │ │ ├── opening_loc: (1,6)-(1,8) = "do" + │ │ └── closing_loc: (1,9)-(1,12) = "end" + │ ├── flags: ∅ + │ └── name: "b" + ├── call_operator_loc: (1,12)-(1,13) = "." + ├── message_loc: (1,13)-(1,14) = "d" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + ├── block: ∅ + ├── flags: ∅ + └── name: "d" |