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/safe_attrasgn_constant.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/safe_attrasgn_constant.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt index c299e95929..39fb489e5e 100644 --- a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt +++ b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt @@ -4,8 +4,10 @@ @ StatementsNode (location: (1,0)-(1,8)) └── body: (length: 1) └── @ CallNode (location: (1,0)-(1,8)) + ├── flags: safe_navigation ├── receiver: │ @ CallNode (location: (1,0)-(1,1)) + │ ├── flags: variable_call │ ├── receiver: ∅ │ ├── call_operator_loc: ∅ │ ├── name: :a @@ -13,18 +15,16 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── block: ∅ - │ └── flags: variable_call + │ └── block: ∅ ├── call_operator_loc: (1,1)-(1,3) = "&." ├── name: :B= ├── message_loc: (1,3)-(1,4) = "B" ├── opening_loc: ∅ ├── arguments: │ @ ArgumentsNode (location: (1,7)-(1,8)) - │ ├── arguments: (length: 1) - │ │ └── @ IntegerNode (location: (1,7)-(1,8)) - │ │ └── flags: decimal - │ └── flags: ∅ + │ ├── flags: ∅ + │ └── arguments: (length: 1) + │ └── @ IntegerNode (location: (1,7)-(1,8)) + │ └── flags: decimal ├── closing_loc: ∅ - ├── block: ∅ - └── flags: safe_navigation + └── block: ∅ |