diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-12-06 15:32:53 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-12-06 20:50:02 +0000 |
commit | fe6ee5e92148755b75ffd00ab29611b59a416d5a (patch) | |
tree | 9283cde10b67c8daec7c56511f58ed9133569377 /test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt | |
parent | cbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff) |
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt index 92b636949f..d15cf6fcbc 100644 --- a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt +++ b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt @@ -4,6 +4,7 @@ @ StatementsNode (location: (1,0)-(1,15)) └── body: (length: 1) └── @ CallNode (location: (1,0)-(1,15)) + ├── flags: ∅ ├── receiver: ∅ ├── call_operator_loc: ∅ ├── name: :a @@ -11,50 +12,49 @@ ├── opening_loc: ∅ ├── arguments: │ @ ArgumentsNode (location: (1,2)-(1,15)) - │ ├── arguments: (length: 1) - │ │ └── @ ParenthesesNode (location: (1,2)-(1,15)) - │ │ ├── body: - │ │ │ @ StatementsNode (location: (1,3)-(1,14)) - │ │ │ └── body: (length: 1) - │ │ │ └── @ ConstantPathOperatorWriteNode (location: (1,3)-(1,14)) - │ │ │ ├── target: - │ │ │ │ @ ConstantPathNode (location: (1,3)-(1,7)) - │ │ │ │ ├── parent: - │ │ │ │ │ @ ConstantReadNode (location: (1,3)-(1,4)) - │ │ │ │ │ └── name: :B - │ │ │ │ ├── child: - │ │ │ │ │ @ ConstantReadNode (location: (1,6)-(1,7)) - │ │ │ │ │ └── name: :C - │ │ │ │ └── delimiter_loc: (1,4)-(1,6) = "::" - │ │ │ ├── operator_loc: (1,8)-(1,10) = "*=" - │ │ │ ├── value: - │ │ │ │ @ CallNode (location: (1,11)-(1,14)) - │ │ │ │ ├── receiver: ∅ - │ │ │ │ ├── call_operator_loc: ∅ - │ │ │ │ ├── name: :d - │ │ │ │ ├── message_loc: (1,11)-(1,12) = "d" - │ │ │ │ ├── opening_loc: ∅ - │ │ │ │ ├── arguments: - │ │ │ │ │ @ ArgumentsNode (location: (1,13)-(1,14)) - │ │ │ │ │ ├── arguments: (length: 1) - │ │ │ │ │ │ └── @ CallNode (location: (1,13)-(1,14)) - │ │ │ │ │ │ ├── receiver: ∅ - │ │ │ │ │ │ ├── call_operator_loc: ∅ - │ │ │ │ │ │ ├── name: :e - │ │ │ │ │ │ ├── message_loc: (1,13)-(1,14) = "e" - │ │ │ │ │ │ ├── opening_loc: ∅ - │ │ │ │ │ │ ├── arguments: ∅ - │ │ │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ │ └── flags: variable_call - │ │ │ │ │ └── flags: ∅ - │ │ │ │ ├── closing_loc: ∅ - │ │ │ │ ├── block: ∅ - │ │ │ │ └── flags: ∅ - │ │ │ └── operator: :* - │ │ ├── opening_loc: (1,2)-(1,3) = "(" - │ │ └── closing_loc: (1,14)-(1,15) = ")" - │ └── flags: ∅ + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ ParenthesesNode (location: (1,2)-(1,15)) + │ ├── body: + │ │ @ StatementsNode (location: (1,3)-(1,14)) + │ │ └── body: (length: 1) + │ │ └── @ ConstantPathOperatorWriteNode (location: (1,3)-(1,14)) + │ │ ├── target: + │ │ │ @ ConstantPathNode (location: (1,3)-(1,7)) + │ │ │ ├── parent: + │ │ │ │ @ ConstantReadNode (location: (1,3)-(1,4)) + │ │ │ │ └── name: :B + │ │ │ ├── child: + │ │ │ │ @ ConstantReadNode (location: (1,6)-(1,7)) + │ │ │ │ └── name: :C + │ │ │ └── delimiter_loc: (1,4)-(1,6) = "::" + │ │ ├── operator_loc: (1,8)-(1,10) = "*=" + │ │ ├── value: + │ │ │ @ CallNode (location: (1,11)-(1,14)) + │ │ │ ├── flags: ∅ + │ │ │ ├── receiver: ∅ + │ │ │ ├── call_operator_loc: ∅ + │ │ │ ├── name: :d + │ │ │ ├── message_loc: (1,11)-(1,12) = "d" + │ │ │ ├── opening_loc: ∅ + │ │ │ ├── arguments: + │ │ │ │ @ ArgumentsNode (location: (1,13)-(1,14)) + │ │ │ │ ├── flags: ∅ + │ │ │ │ └── arguments: (length: 1) + │ │ │ │ └── @ CallNode (location: (1,13)-(1,14)) + │ │ │ │ ├── flags: variable_call + │ │ │ │ ├── receiver: ∅ + │ │ │ │ ├── call_operator_loc: ∅ + │ │ │ │ ├── name: :e + │ │ │ │ ├── message_loc: (1,13)-(1,14) = "e" + │ │ │ │ ├── opening_loc: ∅ + │ │ │ │ ├── arguments: ∅ + │ │ │ │ ├── closing_loc: ∅ + │ │ │ │ └── block: ∅ + │ │ │ ├── closing_loc: ∅ + │ │ │ └── block: ∅ + │ │ └── operator: :* + │ ├── opening_loc: (1,2)-(1,3) = "(" + │ └── closing_loc: (1,14)-(1,15) = ")" ├── closing_loc: ∅ - ├── block: ∅ - └── flags: ∅ + └── block: ∅ |