summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-12-06 15:32:53 -0500
committergit <svn-admin@ruby-lang.org>2023-12-06 20:50:02 +0000
commitfe6ee5e92148755b75ffd00ab29611b59a416d5a (patch)
tree9283cde10b67c8daec7c56511f58ed9133569377 /test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
parentcbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff)
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/seattlerb/attrasgn_array_arg.txt')
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_array_arg.txt34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
index 89650b8d09..3b09e172e7 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
@@ -4,8 +4,10 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
+ ├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -13,27 +15,25 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
├── call_operator_loc: ∅
├── name: :[]=
├── message_loc: (1,1)-(1,9) = "[[1, 2]]"
├── opening_loc: (1,1)-(1,2) = "["
├── arguments:
│ @ ArgumentsNode (location: (1,2)-(1,13))
- │ ├── arguments: (length: 2)
- │ │ ├── @ ArrayNode (location: (1,2)-(1,8))
- │ │ │ ├── elements: (length: 2)
- │ │ │ │ ├── @ IntegerNode (location: (1,3)-(1,4))
- │ │ │ │ │ └── flags: decimal
- │ │ │ │ └── @ IntegerNode (location: (1,6)-(1,7))
- │ │ │ │ └── flags: decimal
- │ │ │ ├── opening_loc: (1,2)-(1,3) = "["
- │ │ │ ├── closing_loc: (1,7)-(1,8) = "]"
- │ │ │ └── flags: ∅
- │ │ └── @ IntegerNode (location: (1,12)-(1,13))
- │ │ └── flags: decimal
- │ └── flags: ∅
+ │ ├── flags: ∅
+ │ └── arguments: (length: 2)
+ │ ├── @ ArrayNode (location: (1,2)-(1,8))
+ │ │ ├── flags: ∅
+ │ │ ├── elements: (length: 2)
+ │ │ │ ├── @ IntegerNode (location: (1,3)-(1,4))
+ │ │ │ │ └── flags: decimal
+ │ │ │ └── @ IntegerNode (location: (1,6)-(1,7))
+ │ │ │ └── flags: decimal
+ │ │ ├── opening_loc: (1,2)-(1,3) = "["
+ │ │ └── closing_loc: (1,7)-(1,8) = "]"
+ │ └── @ IntegerNode (location: (1,12)-(1,13))
+ │ └── flags: decimal
├── closing_loc: (1,8)-(1,9) = "]"
- ├── block: ∅
- └── flags: ∅
+ └── block: ∅