diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt b/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt new file mode 100644 index 0000000000..f877fcd270 --- /dev/null +++ b/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt @@ -0,0 +1,54 @@ +@ ProgramNode (location: (1,0)-(1,22)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,22)) + └── body: (length: 1) + └── @ CallNode (location: (1,0)-(1,22)) + ├── flags: ignore_visibility + ├── receiver: ∅ + ├── call_operator_loc: ∅ + ├── name: :let + ├── message_loc: (1,0)-(1,3) = "let" + ├── opening_loc: ∅ + ├── arguments: + │ @ ArgumentsNode (location: (1,4)-(1,8)) + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ ParenthesesNode (location: (1,4)-(1,8)) + │ ├── body: + │ │ @ StatementsNode (location: (1,5)-(1,7)) + │ │ └── body: (length: 1) + │ │ └── @ SymbolNode (location: (1,5)-(1,7)) + │ │ ├── flags: forced_us_ascii_encoding + │ │ ├── opening_loc: (1,5)-(1,6) = ":" + │ │ ├── value_loc: (1,6)-(1,7) = "a" + │ │ ├── closing_loc: ∅ + │ │ └── unescaped: "a" + │ ├── opening_loc: (1,4)-(1,5) = "(" + │ └── closing_loc: (1,7)-(1,8) = ")" + ├── closing_loc: ∅ + └── block: + @ BlockNode (location: (1,9)-(1,22)) + ├── locals: [] + ├── parameters: ∅ + ├── body: + │ @ StatementsNode (location: (1,11)-(1,20)) + │ └── body: (length: 1) + │ └── @ CallNode (location: (1,11)-(1,20)) + │ ├── flags: ignore_visibility + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── name: :m + │ ├── message_loc: (1,11)-(1,12) = "m" + │ ├── opening_loc: ∅ + │ ├── arguments: ∅ + │ ├── closing_loc: ∅ + │ └── block: + │ @ BlockNode (location: (1,13)-(1,20)) + │ ├── locals: [] + │ ├── parameters: ∅ + │ ├── body: ∅ + │ ├── opening_loc: (1,13)-(1,15) = "do" + │ └── closing_loc: (1,17)-(1,20) = "end" + ├── opening_loc: (1,9)-(1,10) = "{" + └── closing_loc: (1,21)-(1,22) = "}" |