diff options
author | Kevin Newton <kddnewton@gmail.com> | 2024-07-02 15:52:35 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2024-07-11 14:25:54 -0400 |
commit | aca42a24783e3a7d17eafb43a031e397bfb70323 (patch) | |
tree | b306703c25c49b84543345536e9f252642cc5a4f /test/prism/snapshots/seattlerb/safe_calls.txt | |
parent | 687be43c79a6fb119e52b09ea561cf958a9aabf2 (diff) | |
download | ruby-aca42a24783e3a7d17eafb43a031e397bfb70323.tar.gz |
[ruby/prism] Expose common flags in inspect output
https://github.com/ruby/prism/commit/d0143865c2
Diffstat (limited to 'test/prism/snapshots/seattlerb/safe_calls.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/safe_calls.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/prism/snapshots/seattlerb/safe_calls.txt b/test/prism/snapshots/seattlerb/safe_calls.txt index 54e591d9c0..5d853af648 100644 --- a/test/prism/snapshots/seattlerb/safe_calls.txt +++ b/test/prism/snapshots/seattlerb/safe_calls.txt @@ -1,10 +1,12 @@ @ ProgramNode (location: (1,0)-(1,10)) +├── flags: ∅ ├── locals: [] └── statements: @ StatementsNode (location: (1,0)-(1,10)) + ├── flags: ∅ └── body: (length: 1) └── @ CallNode (location: (1,0)-(1,10)) - ├── flags: safe_navigation + ├── flags: newline, safe_navigation ├── receiver: │ @ CallNode (location: (1,0)-(1,4)) │ ├── flags: safe_navigation @@ -35,7 +37,7 @@ │ ├── flags: ∅ │ └── arguments: (length: 1) │ └── @ IntegerNode (location: (1,8)-(1,9)) - │ ├── flags: decimal + │ ├── flags: static_literal, decimal │ └── value: 1 ├── closing_loc: (1,9)-(1,10) = ")" └── block: ∅ |