summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/unparser/corpus/literal/hookexe.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/unparser/corpus/literal/hookexe.txt
parentcbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff)
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/unparser/corpus/literal/hookexe.txt')
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/hookexe.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
index 2fe6ef2311..0ff57fb213 100644
--- a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
@@ -8,6 +8,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,5))
+ │ │ ├── flags: variable_call
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -15,12 +16,12 @@
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
- │ │ ├── block: ∅
- │ │ └── flags: variable_call
+ │ │ └── block: ∅
│ ├── keyword_loc: (1,0)-(1,5) = "BEGIN"
│ ├── opening_loc: (1,6)-(1,7) = "{"
│ └── closing_loc: (3,0)-(3,1) = "}"
├── @ CallNode (location: (4,0)-(4,3))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -28,13 +29,13 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
└── @ PostExecutionNode (location: (5,0)-(7,1))
├── statements:
│ @ StatementsNode (location: (6,2)-(6,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (6,2)-(6,5))
+ │ ├── flags: variable_call
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
@@ -42,8 +43,7 @@
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
- │ ├── block: ∅
- │ └── flags: variable_call
+ │ └── block: ∅
├── keyword_loc: (5,0)-(5,3) = "END"
├── opening_loc: (5,4)-(5,5) = "{"
└── closing_loc: (7,0)-(7,1) = "}"