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 | 39 |
1 files changed, 39 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..0485b0d2e3 --- /dev/null +++ b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt @@ -0,0 +1,39 @@ +@ 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)) + │ ├── lefts: (length: 2) + │ │ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1)) + │ │ │ ├── name: :a + │ │ │ └── depth: 0 + │ │ └── @ LocalVariableTargetNode (location: (2,0)-(2,1)) + │ │ ├── name: :b + │ │ └── depth: 0 + │ ├── rest: ∅ + │ ├── rights: (length: 0) + │ ├── lparen_loc: ∅ + │ ├── rparen_loc: ∅ + │ ├── operator_loc: (2,2)-(2,3) = "=" + │ └── value: + │ @ CallNode (location: (2,4)-(2,5)) + │ ├── flags: variable_call, ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :c + │ ├── message_loc: (2,4)-(2,5) = "c" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: ∅ + └── @ CallNode (location: (3,0)-(3,1)) + ├── flags: variable_call, ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :d + ├── message_loc: (3,0)-(3,1) = "d" + ├── opening_loc: ∅ + ├── arguments: ∅ + ├── closing_loc: ∅ + └── block: ∅ |