diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/parse_line_to_ary.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/parse_line_to_ary.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt new file mode 100644 index 0000000000..dffbdcbcd0 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt @@ -0,0 +1,37 @@ +@ ProgramNode (location: (1,0)-(3,1)) +├── locals: [:a, :b] +└── statements: + @ StatementsNode (location: (1,0)-(3,1)) + └── body: (length: 2) + ├── @ MultiWriteNode (location: (1,0)-(2,5)) + │ ├── targets: (length: 2) + │ │ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1)) + │ │ │ ├── name: :a + │ │ │ └── depth: 0 + │ │ └── @ LocalVariableTargetNode (location: (2,0)-(2,1)) + │ │ ├── name: :b + │ │ └── depth: 0 + │ ├── lparen_loc: ∅ + │ ├── rparen_loc: ∅ + │ ├── operator_loc: (2,2)-(2,3) = "=" + │ └── value: + │ @ CallNode (location: (2,4)-(2,5)) + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── message_loc: (2,4)-(2,5) = "c" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ ├── block: ∅ + │ ├── flags: variable_call + │ └── name: "c" + └── @ CallNode (location: (3,0)-(3,1)) + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── message_loc: (3,0)-(3,1) = "d" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + ├── block: ∅ + ├── flags: variable_call + └── name: "d" |