diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/call_self_brackets.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/call_self_brackets.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/call_self_brackets.txt b/test/prism/snapshots/seattlerb/call_self_brackets.txt new file mode 100644 index 0000000000..16ca69b5c2 --- /dev/null +++ b/test/prism/snapshots/seattlerb/call_self_brackets.txt @@ -0,0 +1,22 @@ +@ ProgramNode (location: (1,0)-(1,7)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,7)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,7)) + ├── flags: ignore_visibility + ├── receiver: + │ @ SelfNode (location: (1,0)-(1,4)) + ├── call_operator_loc: ∅ + ├── name: :[] + ├── message_loc: (1,4)-(1,7) = "[1]" + ├── opening_loc: (1,4)-(1,5) = "[" + ├── arguments: + │ @ ArgumentsNode (location: (1,5)-(1,6)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ IntegerNode (location: (1,5)-(1,6)) + │ ├── flags: decimal + │ └── value: 1 + ├── closing_loc: (1,6)-(1,7) = "]" + └── block: ∅ |