diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt b/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt new file mode 100644 index 0000000000..a1e22f1852 --- /dev/null +++ b/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt @@ -0,0 +1,31 @@ +@ ProgramNode (location: (1,0)-(1,16)) +├── locals: [:a] +└── statements: + @ StatementsNode (location: (1,0)-(1,16)) + └── body: (length: 1) + └── @ LocalVariableWriteNode (location: (1,0)-(1,16)) + ├── name: :a + ├── depth: 0 + ├── name_loc: (1,0)-(1,1) = "a" + ├── value: + │ @ CallNode (location: (1,4)-(1,16)) + │ ├── receiver: ∅ + │ ├── call_operator_loc: ∅ + │ ├── message_loc: (1,4)-(1,5) = "b" + │ ├── opening_loc: ∅ + │ ├── arguments: + │ │ @ ArgumentsNode (location: (1,6)-(1,16)) + │ │ └── arguments: (length: 1) + │ │ └── @ RescueModifierNode (location: (1,6)-(1,16)) + │ │ ├── expression: + │ │ │ @ IntegerNode (location: (1,6)-(1,7)) + │ │ │ └── flags: decimal + │ │ ├── keyword_loc: (1,8)-(1,14) = "rescue" + │ │ └── rescue_expression: + │ │ @ IntegerNode (location: (1,15)-(1,16)) + │ │ └── flags: decimal + │ ├── closing_loc: ∅ + │ ├── block: ∅ + │ ├── flags: ∅ + │ └── name: "b" + └── operator_loc: (1,2)-(1,3) = "=" |