summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/comments.txt
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-11-20 17:43:26 +0100
committergit <svn-admin@ruby-lang.org>2023-11-22 12:15:20 +0000
commit018e6abf8509c7de2a8efb49741d594b15f49fbf (patch)
tree73063cfd93412f02dbeb4981eabb73c84160be83 /test/prism/snapshots/comments.txt
parentea60bf912caa3ea193b7673b59b0113c1e708609 (diff)
[ruby/prism] Move CallNode#name field between receiver and arguments
* The same order as in source code. * CallOrWriteNode, CallOperatorWriteNode, CallAndWriteNode already have the correct order so it was also inconsistent with them. https://github.com/ruby/prism/commit/4434e4bc22
Diffstat (limited to 'test/prism/snapshots/comments.txt')
-rw-r--r--test/prism/snapshots/comments.txt56
1 files changed, 28 insertions, 28 deletions
diff --git a/test/prism/snapshots/comments.txt b/test/prism/snapshots/comments.txt
index ee8f13651a..c12dc9911a 100644
--- a/test/prism/snapshots/comments.txt
+++ b/test/prism/snapshots/comments.txt
@@ -6,140 +6,140 @@
├── @ CallNode (location: (1,0)-(1,1))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
+ │ ├── name: :a
│ ├── message_loc: (1,0)-(1,1) = "a"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: variable_call
- │ └── name: :a
+ │ └── flags: variable_call
├── @ CallNode (location: (3,0)-(3,1))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
+ │ ├── name: :b
│ ├── message_loc: (3,0)-(3,1) = "b"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: variable_call
- │ └── name: :b
+ │ └── flags: variable_call
├── @ CallNode (location: (5,0)-(5,1))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
+ │ ├── name: :c
│ ├── message_loc: (5,0)-(5,1) = "c"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: variable_call
- │ └── name: :c
+ │ └── flags: variable_call
├── @ CallNode (location: (6,0)-(6,1))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
+ │ ├── name: :d
│ ├── message_loc: (6,0)-(6,1) = "d"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: variable_call
- │ └── name: :d
+ │ └── flags: variable_call
├── @ CallNode (location: (8,0)-(10,4))
│ ├── receiver:
│ │ @ CallNode (location: (8,0)-(8,1))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :e
│ │ ├── message_loc: (8,0)-(8,1) = "e"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: variable_call
- │ │ └── name: :e
+ │ │ └── flags: variable_call
│ ├── call_operator_loc: (10,2)-(10,3) = "."
+ │ ├── name: :f
│ ├── message_loc: (10,3)-(10,4) = "f"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: ∅
- │ └── name: :f
+ │ └── flags: ∅
├── @ CallNode (location: (12,0)-(14,2))
│ ├── receiver:
│ │ @ CallNode (location: (12,0)-(12,1))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :g
│ │ ├── message_loc: (12,0)-(12,1) = "g"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: variable_call
- │ │ └── name: :g
+ │ │ └── flags: variable_call
│ ├── call_operator_loc: (14,0)-(14,1) = "."
+ │ ├── name: :h
│ ├── message_loc: (14,1)-(14,2) = "h"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: ∅
- │ └── name: :h
+ │ └── flags: ∅
├── @ CallNode (location: (16,0)-(17,2))
│ ├── receiver:
│ │ @ CallNode (location: (16,0)-(16,1))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :i
│ │ ├── message_loc: (16,0)-(16,1) = "i"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: variable_call
- │ │ └── name: :i
+ │ │ └── flags: variable_call
│ ├── call_operator_loc: (17,0)-(17,1) = "."
+ │ ├── name: :j
│ ├── message_loc: (17,1)-(17,2) = "j"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: ∅
- │ └── name: :j
+ │ └── flags: ∅
├── @ CallNode (location: (19,0)-(20,4))
│ ├── receiver:
│ │ @ CallNode (location: (19,0)-(19,1))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :k
│ │ ├── message_loc: (19,0)-(19,1) = "k"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: variable_call
- │ │ └── name: :k
+ │ │ └── flags: variable_call
│ ├── call_operator_loc: (20,2)-(20,3) = "."
+ │ ├── name: :l
│ ├── message_loc: (20,3)-(20,4) = "l"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: ∅
- │ └── name: :l
+ │ └── flags: ∅
└── @ CallNode (location: (22,0)-(24,5))
├── receiver:
│ @ CallNode (location: (22,0)-(22,1))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
+ │ ├── name: :m
│ ├── message_loc: (22,0)-(22,1) = "m"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
- │ ├── flags: variable_call
- │ └── name: :m
+ │ └── flags: variable_call
├── call_operator_loc: (24,2)-(24,4) = "&."
+ ├── name: :n
├── message_loc: (24,4)-(24,5) = "n"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block: ∅
- ├── flags: safe_navigation
- └── name: :n
+ └── flags: safe_navigation