diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/var_op_asgn_cmd.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/var_op_asgn_cmd.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt new file mode 100644 index 0000000000..0bfa06d5b7 --- /dev/null +++ b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt @@ -0,0 +1,28 @@ +@ ProgramNode (location: (1,0)-(1,12)) +├── locals: [:foo] +└── statements: + @ StatementsNode (location: (1,0)-(1,12)) + └── body: (length: 1) + └── @ LocalVariableOperatorWriteNode (location: (1,0)-(1,12)) + ├── name_loc: (1,0)-(1,3) = "foo" + ├── binary_operator_loc: (1,4)-(1,6) = "+=" + ├── value: + │ @ CallNode (location: (1,7)-(1,12)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :m + │ ├── message_loc: (1,7)-(1,8) = "m" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (1,9)-(1,12)) + │ │ ├── flags: ∅ + │ │ └── arguments: (length: 1) + │ │ └── @ LocalVariableReadNode (location: (1,9)-(1,12)) + │ │ ├── name: :foo + │ │ └── depth: 0 + │ ├── closing_loc: ∅ + │ └── block: ∅ + ├── name: :foo + ├── binary_operator: :+ + └── depth: 0 |