diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-13 11:48:12 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-09-13 12:48:39 +0000 |
commit | ea75a682a9adfac1723308a1c032b7d9b68ffcb6 (patch) | |
tree | 4f9a8f5d1b6559ee31d7cc14bda971d24cf599b8 /test | |
parent | a0e66873053c2ce57a493294584da48ae600cafd (diff) |
[ruby/yarp] Mark empty flags as well as locations and blocks
https://github.com/ruby/yarp/commit/b74ce35379
Diffstat (limited to 'test')
460 files changed, 1520 insertions, 1520 deletions
diff --git a/test/yarp/snapshots/arithmetic.txt b/test/yarp/snapshots/arithmetic.txt index c53bea419a..3a305e4bc3 100644 --- a/test/yarp/snapshots/arithmetic.txt +++ b/test/yarp/snapshots/arithmetic.txt @@ -29,11 +29,11 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (10...18)) │ ├── receiver: @@ -55,7 +55,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "-@" │ ├── call_operator_loc: ∅ │ ├── message_loc: (14...15) = "*" @@ -75,7 +75,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" ├── @ CallNode (location: (20...29)) │ ├── receiver: @@ -97,7 +97,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+@" │ ├── call_operator_loc: ∅ │ ├── message_loc: (24...26) = "**" @@ -117,7 +117,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" └── @ CallNode (location: (31...39)) ├── receiver: ∅ @@ -145,9 +145,9 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "~" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/arrays.txt b/test/yarp/snapshots/arrays.txt index 329cf9aa67..4d0af9faa4 100644 --- a/test/yarp/snapshots/arrays.txt +++ b/test/yarp/snapshots/arrays.txt @@ -70,7 +70,7 @@ │ │ └── closing_loc: ∅ │ ├── closing_loc: (18...19) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ ArrayNode (location: (31...44)) │ ├── elements: (length: 1) @@ -215,7 +215,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (121...122) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]" │ ├── call_operator_loc: ∅ │ ├── message_loc: (122...127) = "[baz]" @@ -245,7 +245,7 @@ │ │ └── name: "qux" │ ├── closing_loc: (126...127) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (135...148)) │ ├── receiver: @@ -279,7 +279,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (142...143) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]" │ ├── call_operator_loc: ∅ │ ├── message_loc: (143...148) = "[baz]" @@ -299,7 +299,7 @@ │ │ └── name: "baz" │ ├── closing_loc: (147...148) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ ArrayNode (location: (150...153)) │ ├── elements: (length: 0) @@ -345,7 +345,7 @@ │ │ └── name: "baz" │ ├── closing_loc: (167...168) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (170...189)) │ ├── receiver: @@ -397,7 +397,7 @@ │ │ └── name: "qux" │ ├── closing_loc: (182...183) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ MultiWriteNode (location: (191...212)) │ ├── targets: (length: 2) @@ -423,7 +423,7 @@ │ │ │ │ └── flags: decimal │ │ │ ├── closing_loc: (196...197) = "]" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "[]=" │ │ └── @ CallNode (location: (199...205)) │ │ ├── receiver: @@ -447,7 +447,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (204...205) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]=" │ ├── lparen_loc: ∅ │ ├── rparen_loc: ∅ @@ -519,11 +519,11 @@ │ │ │ └── name: "qux" │ │ ├── closing_loc: (225...226) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]=" │ ├── closing_loc: (232...233) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (235...243)) │ ├── receiver: @@ -555,7 +555,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (242...243) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (245...259)) │ ├── receiver: @@ -597,7 +597,7 @@ │ │ └── name: "baz" │ ├── closing_loc: (252...253) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ ArrayNode (location: (261...267)) │ ├── elements: (length: 1) diff --git a/test/yarp/snapshots/begin_ensure.txt b/test/yarp/snapshots/begin_ensure.txt index 9be9b9ce47..0c9f49ad55 100644 --- a/test/yarp/snapshots/begin_ensure.txt +++ b/test/yarp/snapshots/begin_ensure.txt @@ -225,19 +225,19 @@ │ │ │ │ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ │ │ │ │ ├── opening_loc: (179...181) = "do" │ │ │ │ │ │ │ │ │ │ └── closing_loc: (186...189) = "end" - │ │ │ │ │ │ │ │ │ ├── flags: + │ │ │ │ │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ │ │ │ │ └── name: "new" │ │ │ │ │ │ │ │ └── end_keyword_loc: (192...195) = "end" │ │ │ │ │ │ │ └── end_keyword_loc: (192...195) = "end" │ │ │ │ │ │ ├── opening_loc: (136...138) = "do" │ │ │ │ │ │ └── closing_loc: (196...199) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "new" │ │ │ │ └── end_keyword_loc: (200...203) = "end" │ │ │ └── end_keyword_loc: (200...203) = "end" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "l" │ ├── rescue_clause: ∅ │ ├── else_clause: ∅ diff --git a/test/yarp/snapshots/blocks.txt b/test/yarp/snapshots/blocks.txt index e4d2725d81..2115dc05d7 100644 --- a/test/yarp/snapshots/blocks.txt +++ b/test/yarp/snapshots/blocks.txt @@ -51,7 +51,7 @@ │ │ │ └── name: "baz" │ │ ├── opening_loc: (9...10) = "{" │ │ └── closing_loc: (15...16) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (18...37)) │ ├── receiver: @@ -101,7 +101,7 @@ │ │ │ └── name: "baz" │ │ ├── opening_loc: (27...29) = "do" │ │ └── closing_loc: (34...37) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (39...74)) │ ├── receiver: @@ -160,7 +160,7 @@ │ │ │ └── depth: 0 │ │ ├── opening_loc: (51...52) = "{" │ │ └── closing_loc: (73...74) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "reduce" ├── @ CallNode (location: (76...86)) │ ├── receiver: ∅ @@ -176,7 +176,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (80...82) = "do" │ │ └── closing_loc: (83...86) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (88...109)) │ ├── receiver: ∅ @@ -214,13 +214,13 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (102...104) = "do" │ │ │ │ └── closing_loc: (105...108) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" │ │ ├── opening_loc: (97...98) = "(" │ │ └── closing_loc: (108...109) = ")" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (111...125)) │ ├── receiver: ∅ @@ -248,7 +248,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (119...121) = "do" │ │ └── closing_loc: (122...125) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (127...145)) │ ├── receiver: ∅ @@ -278,7 +278,7 @@ │ │ │ └── name: "baz" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: @@ -288,7 +288,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (139...141) = "do" │ │ └── closing_loc: (142...145) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (147...168)) │ ├── receiver: ∅ @@ -333,7 +333,7 @@ │ │ │ │ │ │ └── flags: decimal │ │ │ │ │ ├── closing_loc: (162...163) = "]" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "[]" │ │ │ │ ├── rest: ∅ │ │ │ │ ├── posts: (length: 0) @@ -346,7 +346,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (151...153) = "do" │ │ └── closing_loc: (165...168) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (170...187)) │ ├── receiver: ∅ @@ -376,7 +376,7 @@ │ │ │ └── end_keyword_loc: (184...187) = "end" │ │ ├── opening_loc: (174...176) = "do" │ │ └── closing_loc: (184...187) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (189...233)) │ ├── receiver: ∅ @@ -420,15 +420,15 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (213...215) = "do" │ │ │ │ │ │ └── closing_loc: (220...223) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "baz" │ │ │ │ ├── opening_loc: (202...204) = "do" │ │ │ │ └── closing_loc: (226...229) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── opening_loc: (193...195) = "do" │ │ └── closing_loc: (230...233) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (235...251)) │ ├── receiver: @@ -478,7 +478,7 @@ │ │ │ └── name: "baz" │ │ ├── opening_loc: (244...245) = "{" │ │ └── closing_loc: (250...251) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (253...277)) │ ├── receiver: ∅ @@ -525,7 +525,7 @@ │ │ │ └── depth: 0 │ │ ├── opening_loc: (257...258) = "{" │ │ └── closing_loc: (276...277) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (279...290)) │ ├── receiver: ∅ @@ -556,7 +556,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (283...284) = "{" │ │ └── closing_loc: (289...290) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ LocalVariableWriteNode (location: (292...300)) │ ├── name: :fork @@ -595,7 +595,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (306...308) = "do" │ │ └── closing_loc: (313...316) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fork" ├── @ CallNode (location: (318...330)) │ ├── receiver: ∅ @@ -626,7 +626,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (323...324) = "{" │ │ └── closing_loc: (329...330) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fork" ├── @ CallNode (location: (332...340)) │ ├── receiver: ∅ @@ -642,7 +642,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (334...336) = "do" │ │ └── closing_loc: (337...340) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C" ├── @ CallNode (location: (342...346)) │ ├── receiver: ∅ @@ -658,7 +658,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (344...345) = "{" │ │ └── closing_loc: (345...346) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C" ├── @ CallNode (location: (348...383)) │ ├── receiver: ∅ @@ -707,11 +707,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (359...360) = "{" │ │ │ └── closing_loc: (382...383) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "lambda" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── @ CallNode (location: (385...402)) ├── receiver: ∅ @@ -746,5 +746,5 @@ │ ├── body: ∅ │ ├── opening_loc: (389...391) = "do" │ └── closing_loc: (399...402) = "end" - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/break.txt b/test/yarp/snapshots/break.txt index 98d516157d..d4bfa1761c 100644 --- a/test/yarp/snapshots/break.txt +++ b/test/yarp/snapshots/break.txt @@ -141,7 +141,7 @@ │ │ │ │ └── keyword_loc: (127...132) = "break" │ │ │ ├── opening_loc: (125...126) = "{" │ │ │ └── closing_loc: (136...137) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" │ ├── call_operator_loc: ∅ │ ├── message_loc: (138...140) = "==" @@ -153,7 +153,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "==" └── @ CallNode (location: (145...168)) ├── receiver: @@ -191,7 +191,7 @@ │ │ │ └── keyword_loc: (155...160) = "break" │ │ ├── opening_loc: (149...150) = "{" │ │ └── closing_loc: (161...162) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── call_operator_loc: ∅ ├── message_loc: (163...165) = "==" @@ -203,5 +203,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "==" diff --git a/test/yarp/snapshots/case.txt b/test/yarp/snapshots/case.txt index 3aa6c131df..0929f7c3d2 100644 --- a/test/yarp/snapshots/case.txt +++ b/test/yarp/snapshots/case.txt @@ -49,7 +49,7 @@ │ │ │ │ └── unescaped: "hi" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "puts" │ │ └── @ WhenNode (location: (55...76)) │ │ ├── keyword_loc: (55...59) = "when" @@ -73,7 +73,7 @@ │ │ │ └── unescaped: "bye" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── consequent: ∅ │ ├── case_keyword_loc: (23...27) = "case" @@ -192,7 +192,7 @@ │ │ │ │ └── name: "bar" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "==" │ │ └── statements: ∅ │ ├── consequent: ∅ diff --git a/test/yarp/snapshots/classes.txt b/test/yarp/snapshots/classes.txt index 0af153111b..217efb5664 100644 --- a/test/yarp/snapshots/classes.txt +++ b/test/yarp/snapshots/classes.txt @@ -125,7 +125,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── body: ∅ │ └── end_keyword_loc: (117...120) = "end" @@ -227,7 +227,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── body: ∅ │ └── end_keyword_loc: (237...240) = "end" @@ -254,7 +254,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── body: ∅ │ └── end_keyword_loc: (259...262) = "end" @@ -297,7 +297,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ └── end_keyword_loc: (322...325) = "end" ├── @ SingletonClassNode (location: (327...350)) @@ -323,7 +323,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ └── end_keyword_loc: (347...350) = "end" └── @ ClassNode (location: (352...370)) @@ -348,7 +348,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (365...366) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── body: ∅ ├── end_keyword_loc: (367...370) = "end" diff --git a/test/yarp/snapshots/comments.txt b/test/yarp/snapshots/comments.txt index 8e4da07ac8..aa399a6171 100644 --- a/test/yarp/snapshots/comments.txt +++ b/test/yarp/snapshots/comments.txt @@ -61,7 +61,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (49...64)) │ ├── receiver: @@ -81,7 +81,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "h" ├── @ CallNode (location: (66...80)) │ ├── receiver: @@ -101,7 +101,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "j" ├── @ CallNode (location: (82...98)) │ ├── receiver: @@ -121,7 +121,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "l" └── @ CallNode (location: (100...118)) ├── receiver: diff --git a/test/yarp/snapshots/constants.txt b/test/yarp/snapshots/constants.txt index 2001f24680..0e6500500a 100644 --- a/test/yarp/snapshots/constants.txt +++ b/test/yarp/snapshots/constants.txt @@ -76,7 +76,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Foo" ├── @ CallNode (location: (50...58)) │ ├── receiver: ∅ @@ -101,7 +101,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Foo" ├── @ CallNode (location: (60...69)) │ ├── receiver: ∅ @@ -128,7 +128,7 @@ │ │ └── operator_loc: (64...66) = "**" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Foo" ├── @ CallNode (location: (71...79)) │ ├── receiver: ∅ @@ -153,7 +153,7 @@ │ │ └── operator_loc: (75...76) = "&" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Foo" ├── @ CallNode (location: (81...94)) │ ├── receiver: @@ -180,7 +180,7 @@ │ │ └── name: "baz" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Bar" ├── @ CallNode (location: (96...110)) │ ├── receiver: @@ -209,7 +209,7 @@ │ │ └── operator_loc: (105...107) = "**" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Bar" ├── @ CallNode (location: (112...125)) │ ├── receiver: @@ -236,7 +236,7 @@ │ │ └── operator_loc: (121...122) = "&" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Bar" ├── @ CallNode (location: (127...135)) │ ├── receiver: @@ -252,7 +252,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ ConstantPathWriteNode (location: (137...144)) │ ├── target: @@ -312,7 +312,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "false" ├── @ CallNode (location: (181...191)) │ ├── receiver: @@ -330,7 +330,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "true" ├── @ CallNode (location: (193...197)) │ ├── receiver: @@ -342,7 +342,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── @ CallNode (location: (199...203)) │ ├── receiver: @@ -354,7 +354,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "`" ├── @ CallNode (location: (205...209)) │ ├── receiver: @@ -366,7 +366,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (211...216)) │ ├── receiver: @@ -378,7 +378,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!=" ├── @ CallNode (location: (218...222)) │ ├── receiver: @@ -390,7 +390,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "^" ├── @ CallNode (location: (224...229)) │ ├── receiver: @@ -402,7 +402,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "==" ├── @ CallNode (location: (231...237)) │ ├── receiver: @@ -414,7 +414,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "===" ├── @ CallNode (location: (239...244)) │ ├── receiver: @@ -426,7 +426,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ CallNode (location: (246...250)) │ ├── receiver: @@ -438,7 +438,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">" ├── @ CallNode (location: (252...257)) │ ├── receiver: @@ -450,7 +450,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">=" ├── @ CallNode (location: (259...264)) │ ├── receiver: @@ -462,7 +462,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">>" ├── @ CallNode (location: (266...271)) │ ├── receiver: @@ -474,7 +474,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ ConstantPathNode (location: (273...281)) │ ├── parent: @@ -494,7 +494,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "alias" ├── @ CallNode (location: (293...299)) │ ├── receiver: @@ -506,7 +506,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "and" ├── @ CallNode (location: (301...309)) │ ├── receiver: @@ -518,7 +518,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "begin" ├── @ ConstantPathNode (location: (311...319)) │ ├── parent: @@ -538,7 +538,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "break" ├── @ CallNode (location: (331...339)) │ ├── receiver: @@ -550,7 +550,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "class" ├── @ CallNode (location: (341...347)) │ ├── receiver: @@ -562,7 +562,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "def" ├── @ CallNode (location: (349...359)) │ ├── receiver: @@ -574,7 +574,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "defined" ├── @ CallNode (location: (361...366)) │ ├── receiver: @@ -586,7 +586,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "do" ├── @ CallNode (location: (368...375)) │ ├── receiver: @@ -598,7 +598,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "else" ├── @ CallNode (location: (377...385)) │ ├── receiver: @@ -610,7 +610,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "elsif" ├── @ CallNode (location: (387...393)) │ ├── receiver: @@ -622,7 +622,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "end" ├── @ ConstantPathNode (location: (395...401)) │ ├── parent: @@ -642,7 +642,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "ensure" ├── @ CallNode (location: (414...422)) │ ├── receiver: @@ -654,7 +654,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "false" ├── @ CallNode (location: (424...430)) │ ├── receiver: @@ -666,7 +666,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "for" ├── @ CallNode (location: (432...437)) │ ├── receiver: @@ -678,7 +678,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "if" ├── @ CallNode (location: (439...444)) │ ├── receiver: @@ -690,7 +690,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "in" ├── @ CallNode (location: (446...453)) │ ├── receiver: @@ -702,7 +702,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "next" ├── @ CallNode (location: (455...461)) │ ├── receiver: @@ -714,7 +714,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "nil" ├── @ CallNode (location: (463...469)) │ ├── receiver: @@ -726,7 +726,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "not" ├── @ CallNode (location: (471...476)) │ ├── receiver: @@ -738,7 +738,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "or" ├── @ CallNode (location: (478...485)) │ ├── receiver: @@ -750,7 +750,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "redo" ├── @ CallNode (location: (487...496)) │ ├── receiver: @@ -762,7 +762,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "rescue" ├── @ CallNode (location: (498...506)) │ ├── receiver: @@ -774,7 +774,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "retry" ├── @ CallNode (location: (508...517)) │ ├── receiver: @@ -786,7 +786,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "return" ├── @ CallNode (location: (519...526)) │ ├── receiver: @@ -798,7 +798,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "self" ├── @ CallNode (location: (528...536)) │ ├── receiver: @@ -810,7 +810,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "super" ├── @ CallNode (location: (538...545)) │ ├── receiver: @@ -822,7 +822,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "then" ├── @ CallNode (location: (547...554)) │ ├── receiver: @@ -834,7 +834,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "true" ├── @ CallNode (location: (556...564)) │ ├── receiver: @@ -846,7 +846,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "undef" ├── @ CallNode (location: (566...575)) │ ├── receiver: @@ -858,7 +858,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "unless" ├── @ CallNode (location: (577...585)) │ ├── receiver: @@ -870,7 +870,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "until" ├── @ CallNode (location: (587...594)) │ ├── receiver: @@ -882,7 +882,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "when" ├── @ CallNode (location: (596...604)) │ ├── receiver: @@ -894,7 +894,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "while" ├── @ CallNode (location: (606...614)) │ ├── receiver: @@ -906,7 +906,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "yield" ├── @ CallNode (location: (616...631)) │ ├── receiver: @@ -918,7 +918,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "__ENCODING__" ├── @ CallNode (location: (633...644)) │ ├── receiver: @@ -930,7 +930,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "__FILE__" ├── @ CallNode (location: (646...657)) │ ├── receiver: @@ -942,7 +942,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "__LINE__" ├── @ CallNode (location: (659...663)) │ ├── receiver: @@ -954,7 +954,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<" ├── @ CallNode (location: (665...671)) │ ├── receiver: @@ -966,7 +966,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<=>" ├── @ CallNode (location: (673...678)) │ ├── receiver: @@ -978,7 +978,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ CallNode (location: (680...684)) │ ├── receiver: @@ -990,7 +990,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-" ├── @ CallNode (location: (686...690)) │ ├── receiver: @@ -1002,7 +1002,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (692...697)) │ ├── receiver: @@ -1026,7 +1026,7 @@ │ │ └── name: "i" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (699...704)) │ ├── receiver: @@ -1050,7 +1050,7 @@ │ │ └── name: "w" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (706...711)) │ ├── receiver: @@ -1074,7 +1074,7 @@ │ │ └── name: "x" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (713...718)) │ ├── receiver: @@ -1090,7 +1090,7 @@ │ │ └── name: :I │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (720...725)) │ ├── receiver: @@ -1106,7 +1106,7 @@ │ │ └── name: :W │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (727...731)) │ ├── receiver: @@ -1118,7 +1118,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "|" ├── @ CallNode (location: (733...737)) │ ├── receiver: @@ -1130,7 +1130,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (739...743)) │ ├── receiver: @@ -1142,7 +1142,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (745...749)) │ ├── receiver: @@ -1154,7 +1154,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" ├── @ CallNode (location: (751...756)) │ ├── receiver: @@ -1166,7 +1166,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" ├── @ CallNode (location: (758...762)) │ ├── receiver: @@ -1178,7 +1178,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "~" ├── @ ConstantPathNode (location: (764...772)) │ ├── parent: @@ -1192,7 +1192,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "_" │ ├── child: │ │ @ ConstantReadNode (location: (771...772)) @@ -1210,7 +1210,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "_" ├── right: │ @ CallNode (location: (782...792)) @@ -1223,7 +1223,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "__END__" ├── operator_loc: (778...780) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/dash_heredocs.txt b/test/yarp/snapshots/dash_heredocs.txt index 1e53e00085..0a3c43cac7 100644 --- a/test/yarp/snapshots/dash_heredocs.txt +++ b/test/yarp/snapshots/dash_heredocs.txt @@ -28,7 +28,7 @@ │ │ └── unescaped: " b\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ InterpolatedXStringNode (location: (59...67)) │ ├── opening_loc: (59...67) = "<<-`EOF`" @@ -187,7 +187,7 @@ │ │ └── closing_loc: (264...266) = "B\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" └── @ CallNode (location: (267...278)) ├── receiver: @@ -226,5 +226,5 @@ │ └── closing_loc: (299...301) = "B\n" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "+" diff --git a/test/yarp/snapshots/dos_endings.txt b/test/yarp/snapshots/dos_endings.txt index 7afc5d3ebb..3ffc39764d 100644 --- a/test/yarp/snapshots/dos_endings.txt +++ b/test/yarp/snapshots/dos_endings.txt @@ -26,7 +26,7 @@ │ │ └── unescaped: "there" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "puts" ├── @ ArrayNode (location: (28...37)) │ ├── elements: (length: 1) @@ -79,10 +79,10 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "chop" │ ├── closing_loc: (107...108) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── operator_loc: (90...91) = "=" diff --git a/test/yarp/snapshots/endless_methods.txt b/test/yarp/snapshots/endless_methods.txt index 967a9003ce..11c46da298 100644 --- a/test/yarp/snapshots/endless_methods.txt +++ b/test/yarp/snapshots/endless_methods.txt @@ -43,7 +43,7 @@ │ │ │ └── unescaped: "" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── locals: [] │ ├── def_keyword_loc: (13...16) = "def" @@ -76,7 +76,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── call_operator_loc: ∅ │ ├── message_loc: (48...49) = "+" @@ -88,7 +88,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── locals: [] ├── def_keyword_loc: (29...32) = "def" diff --git a/test/yarp/snapshots/endless_range_in_conditional.txt b/test/yarp/snapshots/endless_range_in_conditional.txt index 2a96682d32..8c3bdebedf 100644 --- a/test/yarp/snapshots/endless_range_in_conditional.txt +++ b/test/yarp/snapshots/endless_range_in_conditional.txt @@ -14,7 +14,7 @@ │ │ │ @ IntegerNode (location: (6...7)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (4...6) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: ∅ │ ├── consequent: ∅ │ └── end_keyword_loc: (10...13) = "end" @@ -27,7 +27,7 @@ │ │ │ @ IntegerNode (location: (19...20)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (17...19) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: ∅ │ ├── consequent: ∅ │ └── end_keyword_loc: (23...26) = "end" @@ -40,7 +40,7 @@ │ │ └── flags: decimal │ ├── right: ∅ │ ├── operator_loc: (31...33) = ".." - │ └── flags: + │ └── flags: ∅ ├── statements: ∅ ├── consequent: ∅ └── end_keyword_loc: (36...39) = "end" diff --git a/test/yarp/snapshots/for.txt b/test/yarp/snapshots/for.txt index 41ca345d48..3475d585e2 100644 --- a/test/yarp/snapshots/for.txt +++ b/test/yarp/snapshots/for.txt @@ -21,7 +21,7 @@ │ │ │ @ IntegerNode (location: (12...14)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (10...12) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (15...16)) │ │ └── body: (length: 1) @@ -50,7 +50,7 @@ │ │ │ @ IntegerNode (location: (34...36)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (32...34) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (38...39)) │ │ └── body: (length: 1) @@ -82,7 +82,7 @@ │ │ │ @ IntegerNode (location: (60...62)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (58...60) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (63...64)) │ │ └── body: (length: 1) @@ -117,7 +117,7 @@ │ │ │ @ IntegerNode (location: (86...88)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (84...86) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (89...90)) │ │ └── body: (length: 1) @@ -146,7 +146,7 @@ │ │ │ @ IntegerNode (location: (108...110)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (106...108) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (114...115)) │ │ └── body: (length: 1) @@ -175,7 +175,7 @@ │ │ @ IntegerNode (location: (133...135)) │ │ └── flags: decimal │ ├── operator_loc: (131...133) = ".." - │ └── flags: + │ └── flags: ∅ ├── statements: │ @ StatementsNode (location: (137...138)) │ └── body: (length: 1) diff --git a/test/yarp/snapshots/hashes.txt b/test/yarp/snapshots/hashes.txt index b19e988eb5..dde8ba0199 100644 --- a/test/yarp/snapshots/hashes.txt +++ b/test/yarp/snapshots/hashes.txt @@ -241,7 +241,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b?" │ │ ├── call_operator_loc: ∅ │ │ ├── message_loc: (115...116) = "!" @@ -249,7 +249,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: ∅ └── closing_loc: (119...120) = "}" diff --git a/test/yarp/snapshots/heredoc_with_escaped_newline_at_start.txt b/test/yarp/snapshots/heredoc_with_escaped_newline_at_start.txt index 5f7cbedae7..0672ef2587 100644 --- a/test/yarp/snapshots/heredoc_with_escaped_newline_at_start.txt +++ b/test/yarp/snapshots/heredoc_with_escaped_newline_at_start.txt @@ -21,7 +21,7 @@ │ │ │ ├── content_loc: (16...20) = "^\\s{" │ │ │ ├── closing_loc: (20...21) = "/" │ │ │ ├── unescaped: "^ {" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ └── @ StringNode (location: (23...25)) │ │ ├── opening_loc: (23...24) = "'" │ │ ├── content_loc: (24...24) = "" @@ -29,7 +29,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "gsub" └── @ CallNode (location: (37...62)) ├── receiver: @@ -49,7 +49,7 @@ │ │ ├── content_loc: (53...57) = "^\\s{" │ │ ├── closing_loc: (57...58) = "/" │ │ ├── unescaped: "^ {" - │ │ └── flags: + │ │ └── flags: ∅ │ └── @ StringNode (location: (60...62)) │ ├── opening_loc: (60...61) = "'" │ ├── content_loc: (61...61) = "" @@ -57,5 +57,5 @@ │ └── unescaped: "" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "gsub" diff --git a/test/yarp/snapshots/if.txt b/test/yarp/snapshots/if.txt index 5b6342c701..ebafafe114 100644 --- a/test/yarp/snapshots/if.txt +++ b/test/yarp/snapshots/if.txt @@ -244,7 +244,7 @@ │ │ │ └── operator_loc: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── consequent: │ │ @ ElseNode (location: (251...259)) @@ -333,7 +333,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (309...311) = "do" │ │ └── closing_loc: (318...321) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "lambda" ├── consequent: │ @ IfNode (location: (322...382)) @@ -373,7 +373,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (339...341) = "do" │ │ │ └── closing_loc: (348...351) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "lambda" │ ├── consequent: │ │ @ ElseNode (location: (352...382)) @@ -410,7 +410,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (366...368) = "do" │ │ │ │ └── closing_loc: (375...378) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "lambda" │ │ └── end_keyword_loc: (379...382) = "end" │ └── end_keyword_loc: (379...382) = "end" diff --git a/test/yarp/snapshots/integer_operations.txt b/test/yarp/snapshots/integer_operations.txt index c1348e09df..f560d5a265 100644 --- a/test/yarp/snapshots/integer_operations.txt +++ b/test/yarp/snapshots/integer_operations.txt @@ -13,7 +13,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (4...6)) │ ├── receiver: @@ -25,7 +25,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "~" ├── @ CallNode (location: (8...14)) │ ├── receiver: @@ -41,7 +41,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!=" ├── @ CallNode (location: (16...22)) │ ├── receiver: @@ -57,7 +57,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!~" ├── @ CallNode (location: (24...29)) │ ├── receiver: @@ -73,7 +73,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (31...36)) │ ├── receiver: @@ -89,7 +89,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── @ CallNode (location: (38...43)) │ ├── receiver: @@ -105,7 +105,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" ├── @ CallNode (location: (45...49)) │ ├── receiver: @@ -121,7 +121,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" ├── @ CallNode (location: (51...56)) │ ├── receiver: @@ -137,7 +137,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (58...63)) │ ├── receiver: @@ -153,7 +153,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-" ├── @ CallNode (location: (65...70)) │ ├── receiver: @@ -169,7 +169,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (72...77)) │ ├── receiver: @@ -187,7 +187,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "/" │ ├── call_operator_loc: ∅ │ ├── message_loc: (75...76) = "/" @@ -199,7 +199,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (79...84)) │ ├── receiver: @@ -215,7 +215,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<" ├── @ CallNode (location: (86...92)) │ ├── receiver: @@ -231,7 +231,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ CallNode (location: (94...100)) │ ├── receiver: @@ -247,7 +247,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<=" ├── @ CallNode (location: (102...109)) │ ├── receiver: @@ -263,7 +263,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<=>" ├── @ CallNode (location: (111...117)) │ ├── receiver: @@ -279,7 +279,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "==" ├── @ CallNode (location: (119...126)) │ ├── receiver: @@ -295,7 +295,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "===" ├── @ CallNode (location: (128...134)) │ ├── receiver: @@ -311,7 +311,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ CallNode (location: (136...141)) │ ├── receiver: @@ -327,7 +327,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">" ├── @ CallNode (location: (143...149)) │ ├── receiver: @@ -343,7 +343,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">=" ├── @ CallNode (location: (151...157)) │ ├── receiver: @@ -359,7 +359,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">>" ├── @ CallNode (location: (159...164)) │ ├── receiver: @@ -375,7 +375,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "^" ├── @ CallNode (location: (166...171)) │ ├── receiver: @@ -391,7 +391,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "|" ├── @ AndNode (location: (173...179)) │ ├── left: @@ -433,11 +433,11 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "**" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" ├── @ CallNode (location: (202...211)) │ ├── receiver: @@ -455,7 +455,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "*" │ ├── call_operator_loc: ∅ │ ├── message_loc: (208...209) = "+" @@ -467,7 +467,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ OrNode (location: (213...219)) │ ├── left: @@ -509,11 +509,11 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "*" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" └── @ ParenthesesNode (location: (240...247)) ├── body: @@ -533,7 +533,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── opening_loc: (240...241) = "(" └── closing_loc: (246...247) = ")" diff --git a/test/yarp/snapshots/keyword_method_names.txt b/test/yarp/snapshots/keyword_method_names.txt index 83af646047..17f2b7e976 100644 --- a/test/yarp/snapshots/keyword_method_names.txt +++ b/test/yarp/snapshots/keyword_method_names.txt @@ -60,7 +60,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (56...58) = "do" │ │ │ │ └── closing_loc: (61...64) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── locals: [] │ │ ├── def_keyword_loc: (42...45) = "def" @@ -71,7 +71,7 @@ │ │ └── end_keyword_loc: (65...68) = "end" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "private" ├── @ DefNode (location: (70...89)) │ ├── name: :m diff --git a/test/yarp/snapshots/lambda.txt b/test/yarp/snapshots/lambda.txt index c2e7856f5b..606d98cae9 100644 --- a/test/yarp/snapshots/lambda.txt +++ b/test/yarp/snapshots/lambda.txt @@ -114,7 +114,7 @@ │ │ │ │ │ └── flags: decimal │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "*" │ │ │ ├── keyword_rest: ∅ │ │ │ └── block: ∅ diff --git a/test/yarp/snapshots/method_calls.txt b/test/yarp/snapshots/method_calls.txt index 31b4373d35..e09807f6a5 100644 --- a/test/yarp/snapshots/method_calls.txt +++ b/test/yarp/snapshots/method_calls.txt @@ -28,7 +28,7 @@ │ │ └── unescaped: "baz" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (16...25)) │ ├── receiver: @@ -70,7 +70,7 @@ │ │ └── name: "d" │ ├── closing_loc: (24...25) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── @ CallNode (location: (27...32)) │ ├── receiver: @@ -90,7 +90,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (31...32) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── @ CallNode (location: (34...52)) │ ├── receiver: @@ -112,7 +112,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── call_operator_loc: (47...49) = "&." │ ├── message_loc: (49...52) = "baz" @@ -130,7 +130,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a!" ├── @ CallNode (location: (58...62)) │ ├── receiver: @@ -150,7 +150,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (61...62) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "call" ├── @ CallNode (location: (64...75)) │ ├── receiver: @@ -178,7 +178,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (74...75) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "call" ├── @ CallNode (location: (77...81)) │ ├── receiver: @@ -198,7 +198,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── @ CallNode (location: (83...89)) │ ├── receiver: @@ -230,7 +230,7 @@ │ │ └── name: "c" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── @ CallNode (location: (91...102)) │ ├── receiver: @@ -254,7 +254,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar=" ├── @ CallNode (location: (104...106)) │ ├── receiver: ∅ @@ -264,7 +264,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a?" ├── @ CallNode (location: (108...117)) │ ├── receiver: ∅ @@ -289,7 +289,7 @@ │ │ └── operator_loc: (110...111) = "&" │ ├── closing_loc: (116...117) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (119...130)) │ ├── receiver: ∅ @@ -316,7 +316,7 @@ │ │ └── operator_loc: (121...123) = "**" │ ├── closing_loc: (129...130) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (132...137)) │ ├── receiver: @@ -338,7 +338,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── call_operator_loc: (135...136) = "." │ ├── message_loc: (136...137) = "c" @@ -346,7 +346,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "c" ├── @ CallNode (location: (139...146)) │ ├── receiver: ∅ @@ -378,7 +378,7 @@ │ │ └── name: "c" │ ├── closing_loc: (145...146) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (148...151)) │ ├── receiver: ∅ @@ -388,7 +388,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (150...151) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (153...161)) │ ├── receiver: ∅ @@ -413,7 +413,7 @@ │ │ └── name: "args" │ ├── closing_loc: (160...161) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (163...169)) │ ├── receiver: ∅ @@ -445,7 +445,7 @@ │ │ └── name: "c" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (171...179)) │ ├── receiver: @@ -487,7 +487,7 @@ │ │ └── name: "d" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── @ MultiWriteNode (location: (181...204)) │ ├── targets: (length: 2) @@ -509,7 +509,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "foo=" │ │ └── @ CallNode (location: (190...197)) │ │ ├── receiver: @@ -529,7 +529,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar=" │ ├── lparen_loc: ∅ │ ├── rparen_loc: ∅ @@ -650,7 +650,7 @@ │ │ │ │ ├── arguments: ∅ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "bar?" │ │ │ ├── right: │ │ │ │ @ CallNode (location: (258...261)) @@ -699,7 +699,7 @@ │ │ │ └── unescaped: "b" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" │ ├── consequent: ∅ │ └── end_keyword_loc: ∅ @@ -723,7 +723,7 @@ │ │ └── unescaped: "b" │ ├── closing_loc: (285...286) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (288...298)) │ ├── receiver: ∅ @@ -748,7 +748,7 @@ │ │ └── name: "rest" │ ├── closing_loc: (297...298) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (300...340)) │ ├── receiver: ∅ @@ -812,7 +812,7 @@ │ │ └── operator_loc: (334...335) = "&" │ ├── closing_loc: (339...340) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (342...391)) │ ├── receiver: ∅ @@ -865,7 +865,7 @@ │ │ └── closing_loc: (390...391) = "}" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "hi" ├── @ CallNode (location: (393...429)) │ ├── receiver: ∅ @@ -930,11 +930,11 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "puts" │ │ ├── opening_loc: (409...411) = "do" │ │ └── closing_loc: (426...429) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (431...448)) │ ├── receiver: ∅ @@ -962,7 +962,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "hi" ├── @ CallNode (location: (450...490)) │ ├── receiver: ∅ @@ -1011,7 +1011,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "hi" ├── @ CallNode (location: (492...533)) │ ├── receiver: ∅ @@ -1060,7 +1060,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (532...533) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "hi" ├── @ CallNode (location: (535...571)) │ ├── receiver: ∅ @@ -1104,7 +1104,7 @@ │ │ └── operator_loc: (563...564) = "&" │ ├── closing_loc: (570...571) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (573...593)) │ ├── receiver: ∅ @@ -1132,7 +1132,7 @@ │ │ └── operator_loc: (583...585) = "=>" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "hi" ├── @ CallNode (location: (595...608)) │ ├── receiver: ∅ @@ -1154,7 +1154,7 @@ │ │ └── unescaped: "b" │ ├── closing_loc: (607...608) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (610...627)) │ ├── receiver: ∅ @@ -1187,7 +1187,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (626...627) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (629...640)) │ ├── receiver: ∅ @@ -1207,7 +1207,7 @@ │ │ └── operator_loc: (633...634) = "&" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (642...672)) │ ├── receiver: ∅ @@ -1249,7 +1249,7 @@ │ │ └── operator_loc: (665...666) = "&" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (674...695)) │ ├── receiver: ∅ @@ -1276,7 +1276,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "some_func" ├── @ CallNode (location: (697...715)) │ ├── receiver: @@ -1292,7 +1292,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (714...715) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Integer" ├── @ CallNode (location: (717...727)) │ ├── receiver: @@ -1318,7 +1318,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (724...725) = "{" │ │ └── closing_loc: (726...727) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "each" ├── @ CallNode (location: (729...743)) │ ├── receiver: @@ -1347,7 +1347,7 @@ │ │ │ └── @ BackReferenceReadNode (location: (739...741)) │ │ ├── opening_loc: (737...738) = "{" │ │ └── closing_loc: (742...743) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "map" ├── @ CallNode (location: (745...757)) │ ├── receiver: @@ -1372,7 +1372,7 @@ │ │ └── unescaped: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C" ├── @ CallNode (location: (759...772)) │ ├── receiver: @@ -1397,7 +1397,7 @@ │ │ └── unescaped: "foo" │ ├── closing_loc: (771...772) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C" ├── @ CallNode (location: (774...791)) │ ├── receiver: @@ -1428,7 +1428,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (788...789) = "{" │ │ └── closing_loc: (790...791) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C" ├── @ CallNode (location: (793...805)) │ ├── receiver: ∅ @@ -1453,7 +1453,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (804...805) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (807...835)) │ ├── receiver: ∅ @@ -1498,14 +1498,14 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (827...829) = "do" │ │ │ │ │ │ └── closing_loc: (830...833) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "qux" │ │ │ │ └── operator_loc: ∅ │ │ │ └── closing_loc: (834...835) = "}" │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (837...861)) │ ├── receiver: ∅ @@ -1544,14 +1544,14 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (853...855) = "do" │ │ │ │ │ │ └── closing_loc: (856...859) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "kw" │ │ │ │ └── operator_loc: (848...850) = "**" │ │ │ └── closing_loc: (860...861) = "}" │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (863...899)) │ ├── receiver: ∅ @@ -1600,7 +1600,7 @@ │ │ │ │ │ │ └── unescaped: "baz" │ │ │ │ │ ├── opening_loc: (878...880) = "do" │ │ │ │ │ └── closing_loc: (887...890) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "map" │ │ │ └── closing_loc: (890...891) = "}" │ │ └── closing_loc: (891...892) = "\"" @@ -1612,7 +1612,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (893...895) = "do" │ │ └── closing_loc: (896...899) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (901...929)) │ ├── receiver: ∅ @@ -1647,13 +1647,13 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (919...921) = "do" │ │ │ │ └── closing_loc: (922...925) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" │ │ ├── end_keyword_loc: (926...929) = "end" │ │ └── name: :Bar │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (931...960)) │ ├── receiver: ∅ @@ -1686,13 +1686,13 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (950...952) = "do" │ │ │ │ └── closing_loc: (953...956) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" │ │ ├── end_keyword_loc: (957...960) = "end" │ │ └── name: :Bar │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (962...978)) │ ├── receiver: ∅ @@ -1718,13 +1718,13 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (971...973) = "do" │ │ │ │ └── closing_loc: (974...977) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" │ │ ├── opening_loc: (966...967) = "[" │ │ └── closing_loc: (977...978) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (980...1008)) │ ├── receiver: ∅ @@ -1759,7 +1759,7 @@ │ │ │ │ │ └── flags: decimal │ │ │ │ ├── opening_loc: (996...998) = "do" │ │ │ │ └── closing_loc: (1001...1004) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "times" │ │ ├── rescue_clause: ∅ │ │ ├── else_clause: ∅ @@ -1767,7 +1767,7 @@ │ │ └── end_keyword_loc: (1005...1008) = "end" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (1010...1061)) │ ├── receiver: ∅ @@ -1832,13 +1832,13 @@ │ │ │ │ │ └── depth: 0 │ │ │ │ ├── opening_loc: (1033...1035) = "do" │ │ │ │ └── closing_loc: (1052...1055) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── consequent: ∅ │ │ └── end_keyword_loc: (1058...1061) = "end" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (1063...1153)) │ ├── receiver: ∅ @@ -1904,9 +1904,9 @@ │ │ │ │ │ │ └── depth: 0 │ │ │ │ │ ├── opening_loc: (1089...1091) = "do" │ │ │ │ │ └── closing_loc: (1108...1111) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "bar" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ └── @ UntilNode (location: (1121...1153)) │ │ ├── keyword_loc: (1121...1126) = "until" │ │ ├── closing_loc: (1150...1153) = "end" @@ -1938,12 +1938,12 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (1137...1139) = "do" │ │ │ │ └── closing_loc: (1144...1147) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (1155...1164)) │ ├── receiver: @@ -1971,11 +1971,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (1162...1163) = "{" │ │ │ └── closing_loc: (1163...1164) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (1166...1182)) │ ├── receiver: @@ -2023,11 +2023,11 @@ │ │ │ │ └── depth: 0 │ │ │ ├── opening_loc: (1173...1174) = "{" │ │ │ └── closing_loc: (1181...1182) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (1184...1195)) │ ├── receiver: @@ -2045,7 +2045,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (1186...1187) = "{" │ │ │ └── closing_loc: (1187...1188) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── call_operator_loc: ∅ │ ├── message_loc: (1189...1190) = "+" @@ -2067,11 +2067,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (1193...1194) = "{" │ │ │ └── closing_loc: (1194...1195) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (1197...1208)) │ ├── receiver: @@ -2105,11 +2105,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (1206...1207) = "{" │ │ │ └── closing_loc: (1207...1208) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "A" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ InterpolatedStringNode (location: (1210...1227)) │ ├── opening_loc: (1210...1211) = "\"" @@ -2140,7 +2140,7 @@ │ │ │ │ └── closing_loc: (1223...1224) = ")" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "join" │ │ └── closing_loc: (1225...1226) = "}" │ └── closing_loc: (1226...1227) = "\"" diff --git a/test/yarp/snapshots/methods.txt b/test/yarp/snapshots/methods.txt index da62c74ddd..6b04168c78 100644 --- a/test/yarp/snapshots/methods.txt +++ b/test/yarp/snapshots/methods.txt @@ -908,7 +908,7 @@ │ │ │ └── expression: ∅ │ │ ├── closing_loc: (700...701) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── locals: [:*] │ ├── def_keyword_loc: (687...690) = "def" @@ -945,7 +945,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (722...725)) │ │ ├── closing_loc: (725...726) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── locals: [:"..."] │ ├── def_keyword_loc: (708...711) = "def" @@ -986,7 +986,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (753...756)) │ │ ├── closing_loc: (756...757) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── locals: [:"..."] │ ├── def_keyword_loc: (733...736) = "def" @@ -1203,7 +1203,7 @@ │ │ │ │ │ └── @ ForwardingArgumentsNode (location: (925...928)) │ │ │ │ ├── closing_loc: (928...929) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "b" │ │ │ └── closing_loc: (929...930) = "}" │ │ └── closing_loc: (930...931) = "\"" @@ -1277,7 +1277,7 @@ │ │ │ └── operator_loc: (971...973) = "**" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "merge" │ ├── locals: [] │ ├── def_keyword_loc: (938...941) = "def" @@ -1571,11 +1571,11 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (1161...1162) = "{" │ │ │ │ └── closing_loc: (1162...1163) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "a" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: ">>" │ ├── locals: [:a] │ ├── def_keyword_loc: (1135...1138) = "def" diff --git a/test/yarp/snapshots/modules.txt b/test/yarp/snapshots/modules.txt index 756ab87cc3..2e92d8b384 100644 --- a/test/yarp/snapshots/modules.txt +++ b/test/yarp/snapshots/modules.txt @@ -137,7 +137,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: (112...113) = "]" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "[]" │ │ ├── child: │ │ │ @ ConstantReadNode (location: (115...116)) @@ -166,7 +166,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (132...133) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]" │ ├── child: │ │ @ ConstantReadNode (location: (135...136)) diff --git a/test/yarp/snapshots/newline_terminated.txt b/test/yarp/snapshots/newline_terminated.txt index 0e5072a913..7ba6c6f266 100644 --- a/test/yarp/snapshots/newline_terminated.txt +++ b/test/yarp/snapshots/newline_terminated.txt @@ -88,4 +88,4 @@ ├── content_loc: (208...211) = "foo" ├── closing_loc: (211...212) = "\n" ├── unescaped: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/not.txt b/test/yarp/snapshots/not.txt index 65dd34bdfd..eab8b5a095 100644 --- a/test/yarp/snapshots/not.txt +++ b/test/yarp/snapshots/not.txt @@ -23,7 +23,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── right: │ │ @ CallNode (location: (12...19)) @@ -44,7 +44,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: (8...11) = "and" ├── @ CallNode (location: (21...37)) @@ -79,7 +79,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (36...37) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (39...46)) │ ├── receiver: @@ -99,7 +99,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ AndNode (location: (48...69)) │ ├── left: @@ -121,7 +121,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── right: │ │ @ CallNode (location: (60...69)) @@ -142,7 +142,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: (56...59) = "and" ├── @ AndNode (location: (72...97)) @@ -165,7 +165,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── right: │ │ @ CallNode (location: (88...97)) @@ -186,7 +186,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: (80...83) = "and" ├── @ AndNode (location: (100...125)) @@ -209,7 +209,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ ├── right: │ │ @ CallNode (location: (114...125)) @@ -230,7 +230,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: (108...111) = "and" ├── @ CallNode (location: (127...138)) @@ -251,7 +251,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (137...138) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (140...156)) │ ├── receiver: @@ -271,7 +271,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (155...156) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (158...172)) │ ├── receiver: @@ -299,14 +299,14 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "bar" │ │ ├── operator_loc: (166...168) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (158...161) = "not" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" └── @ CallNode (location: (174...190)) ├── receiver: @@ -338,7 +338,7 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "bar" │ │ ├── operator_loc: (183...185) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── opening_loc: (178...179) = "(" │ └── closing_loc: (189...190) = ")" ├── call_operator_loc: ∅ @@ -347,5 +347,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/patterns.txt b/test/yarp/snapshots/patterns.txt index a9ad303cc9..0337bbee51 100644 --- a/test/yarp/snapshots/patterns.txt +++ b/test/yarp/snapshots/patterns.txt @@ -162,7 +162,7 @@ │ │ ├── content_loc: (100...103) = "foo" │ │ ├── closing_loc: (103...104) = "/" │ │ ├── unescaped: "foo" - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (96...98) = "=>" ├── @ MatchRequiredNode (location: (105...117)) │ ├── value: @@ -504,7 +504,7 @@ │ │ │ @ IntegerNode (location: (367...368)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (364...366) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (359...361) = "=>" ├── @ MatchRequiredNode (location: (369...386)) │ ├── value: @@ -525,7 +525,7 @@ │ │ ├── right: │ │ │ @ FloatNode (location: (383...386)) │ │ ├── operator_loc: (380...382) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (373...375) = "=>" ├── @ MatchRequiredNode (location: (387...402)) │ ├── value: @@ -552,7 +552,7 @@ │ │ │ @ IntegerNode (location: (400...401)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (397...399) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (391...393) = "=>" ├── @ MatchRequiredNode (location: (403...418)) │ ├── value: @@ -579,7 +579,7 @@ │ │ │ @ IntegerNode (location: (416...417)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (413...415) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (407...409) = "=>" ├── @ MatchRequiredNode (location: (419...438)) │ ├── value: @@ -608,7 +608,7 @@ │ │ │ ├── closing_loc: ∅ │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (431...433) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (423...425) = "=>" ├── @ MatchRequiredNode (location: (439...464)) │ ├── value: @@ -637,7 +637,7 @@ │ │ │ ├── closing_loc: (463...464) = "]" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (454...456) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (443...445) = "=>" ├── @ MatchRequiredNode (location: (465...488)) │ ├── value: @@ -666,7 +666,7 @@ │ │ │ ├── closing_loc: (487...488) = "\"" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (479...481) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (469...471) = "=>" ├── @ MatchRequiredNode (location: (489...510)) │ ├── value: @@ -688,16 +688,16 @@ │ │ │ ├── content_loc: (497...500) = "foo" │ │ │ ├── closing_loc: (500...501) = "/" │ │ │ ├── unescaped: "foo" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── right: │ │ │ @ RegularExpressionNode (location: (505...510)) │ │ │ ├── opening_loc: (505...506) = "/" │ │ │ ├── content_loc: (506...509) = "foo" │ │ │ ├── closing_loc: (509...510) = "/" │ │ │ ├── unescaped: "foo" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── operator_loc: (502...504) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (493...495) = "=>" ├── @ MatchRequiredNode (location: (511...532)) │ ├── value: @@ -726,7 +726,7 @@ │ │ │ ├── closing_loc: (531...532) = "`" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (524...526) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (515...517) = "=>" ├── @ MatchRequiredNode (location: (533...558)) │ ├── value: @@ -755,7 +755,7 @@ │ │ │ ├── closing_loc: (557...558) = "]" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (548...550) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (537...539) = "=>" ├── @ MatchRequiredNode (location: (559...584)) │ ├── value: @@ -792,7 +792,7 @@ │ │ │ ├── opening_loc: (577...580) = "%i[" │ │ │ └── closing_loc: (583...584) = "]" │ │ ├── operator_loc: (574...576) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (563...565) = "=>" ├── @ MatchRequiredNode (location: (585...610)) │ ├── value: @@ -829,7 +829,7 @@ │ │ │ ├── opening_loc: (603...606) = "%I[" │ │ │ └── closing_loc: (609...610) = "]" │ │ ├── operator_loc: (600...602) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (589...591) = "=>" ├── @ MatchRequiredNode (location: (611...636)) │ ├── value: @@ -866,7 +866,7 @@ │ │ │ ├── opening_loc: (629...632) = "%w[" │ │ │ └── closing_loc: (635...636) = "]" │ │ ├── operator_loc: (626...628) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (615...617) = "=>" ├── @ MatchRequiredNode (location: (637...662)) │ ├── value: @@ -903,7 +903,7 @@ │ │ │ ├── opening_loc: (655...658) = "%W[" │ │ │ └── closing_loc: (661...662) = "]" │ │ ├── operator_loc: (652...654) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (641...643) = "=>" ├── @ MatchRequiredNode (location: (663...688)) │ ├── value: @@ -932,7 +932,7 @@ │ │ │ ├── closing_loc: (687...688) = "]" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (678...680) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (667...669) = "=>" ├── @ MatchRequiredNode (location: (689...714)) │ ├── value: @@ -961,7 +961,7 @@ │ │ │ ├── closing_loc: (713...714) = "]" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (704...706) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (693...695) = "=>" ├── @ MatchRequiredNode (location: (715...736)) │ ├── value: @@ -990,7 +990,7 @@ │ │ │ ├── closing_loc: (735...736) = "\"" │ │ │ └── unescaped: "foo" │ │ ├── operator_loc: (728...730) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (719...721) = "=>" ├── @ MatchRequiredNode (location: (737...754)) │ ├── value: @@ -1011,7 +1011,7 @@ │ │ ├── right: │ │ │ @ NilNode (location: (751...754)) │ │ ├── operator_loc: (748...750) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (741...743) = "=>" ├── @ MatchRequiredNode (location: (755...774)) │ ├── value: @@ -1032,7 +1032,7 @@ │ │ ├── right: │ │ │ @ SelfNode (location: (770...774)) │ │ ├── operator_loc: (767...769) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (759...761) = "=>" ├── @ MatchRequiredNode (location: (775...794)) │ ├── value: @@ -1053,7 +1053,7 @@ │ │ ├── right: │ │ │ @ TrueNode (location: (790...794)) │ │ ├── operator_loc: (787...789) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (779...781) = "=>" ├── @ MatchRequiredNode (location: (795...816)) │ ├── value: @@ -1074,7 +1074,7 @@ │ │ ├── right: │ │ │ @ FalseNode (location: (811...816)) │ │ ├── operator_loc: (808...810) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (799...801) = "=>" ├── @ MatchRequiredNode (location: (817...844)) │ ├── value: @@ -1097,7 +1097,7 @@ │ │ │ @ SourceFileNode (location: (836...844)) │ │ │ └── filepath: "patterns.txt" │ │ ├── operator_loc: (833...835) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (821...823) = "=>" ├── @ MatchRequiredNode (location: (845...872)) │ ├── value: @@ -1118,7 +1118,7 @@ │ │ ├── right: │ │ │ @ SourceLineNode (location: (864...872)) │ │ ├── operator_loc: (861...863) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (849...851) = "=>" ├── @ MatchRequiredNode (location: (873...908)) │ ├── value: @@ -1139,7 +1139,7 @@ │ │ ├── right: │ │ │ @ SourceEncodingNode (location: (896...908)) │ │ ├── operator_loc: (893...895) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (877...879) = "=>" ├── @ MatchRequiredNode (location: (909...940)) │ ├── value: @@ -1182,7 +1182,7 @@ │ │ │ ├── name: :bar │ │ │ └── depth: 1 │ │ ├── operator_loc: (927...929) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (913...915) = "=>" ├── @ MatchRequiredNode (location: (942...953)) │ ├── value: @@ -1337,7 +1337,7 @@ │ │ │ │ └── unescaped: "baz" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── operator_loc: (1028...1029) = "^" │ │ ├── lparen_loc: (1029...1030) = "(" @@ -2434,7 +2434,7 @@ │ │ ├── content_loc: (1748...1751) = "foo" │ │ ├── closing_loc: (1751...1752) = "/" │ │ ├── unescaped: "foo" - │ │ └── flags: + │ │ └── flags: ∅ │ └── operator_loc: (1744...1746) = "in" ├── @ MatchPredicateNode (location: (1753...1765)) │ ├── value: @@ -2972,7 +2972,7 @@ │ │ │ ├── content_loc: (2229...2232) = "foo" │ │ │ ├── closing_loc: (2232...2233) = "/" │ │ │ ├── unescaped: "foo" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (2225...2227) = "in" │ │ └── then_loc: (2234...2238) = "then" @@ -3731,7 +3731,7 @@ │ │ │ │ ├── content_loc: (3030...3033) = "foo" │ │ │ │ ├── closing_loc: (3033...3034) = "/" │ │ │ │ ├── unescaped: "foo" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── consequent: ∅ │ │ │ └── end_keyword_loc: ∅ │ │ ├── statements: ∅ diff --git a/test/yarp/snapshots/procs.txt b/test/yarp/snapshots/procs.txt index f606763157..310a580dda 100644 --- a/test/yarp/snapshots/procs.txt +++ b/test/yarp/snapshots/procs.txt @@ -339,7 +339,7 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" └── @ LambdaNode (location: (247...266)) ├── locals: [:a, :b, :c] diff --git a/test/yarp/snapshots/range_begin_open_inclusive.txt b/test/yarp/snapshots/range_begin_open_inclusive.txt index 24690384d8..02340ee87c 100644 --- a/test/yarp/snapshots/range_begin_open_inclusive.txt +++ b/test/yarp/snapshots/range_begin_open_inclusive.txt @@ -9,4 +9,4 @@ │ @ IntegerNode (location: (2...3)) │ └── flags: decimal ├── operator_loc: (0...2) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/range_end_open_inclusive.txt b/test/yarp/snapshots/range_end_open_inclusive.txt index 955a9effdf..962e9f01bd 100644 --- a/test/yarp/snapshots/range_end_open_inclusive.txt +++ b/test/yarp/snapshots/range_end_open_inclusive.txt @@ -9,4 +9,4 @@ │ └── flags: decimal ├── right: ∅ ├── operator_loc: (1...3) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/ranges.txt b/test/yarp/snapshots/ranges.txt index 107fcf19f3..d82aea3d8f 100644 --- a/test/yarp/snapshots/ranges.txt +++ b/test/yarp/snapshots/ranges.txt @@ -26,7 +26,7 @@ │ │ │ @ IntegerNode (location: (11...12)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (9...11) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── opening_loc: (8...9) = "(" │ └── closing_loc: (12...13) = ")" ├── @ RangeNode (location: (15...20)) @@ -65,7 +65,7 @@ │ │ └── flags: exclude_end │ ├── closing_loc: (30...31) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ HashNode (location: (33...48)) │ ├── opening_loc: (33...34) = "{" @@ -116,7 +116,7 @@ │ │ @ IntegerNode (location: (61...62)) │ │ └── flags: decimal │ ├── operator_loc: (59...61) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ HashNode (location: (64...78)) │ ├── opening_loc: (64...65) = "{" │ ├── elements: (length: 1) @@ -142,7 +142,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ ├── operator_loc: (71...73) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ └── operator_loc: ∅ │ └── closing_loc: (77...78) = "}" └── @ ParenthesesNode (location: (80...85)) @@ -155,6 +155,6 @@ │ │ └── flags: decimal │ ├── right: ∅ │ ├── operator_loc: (82...84) = ".." - │ └── flags: + │ └── flags: ∅ ├── opening_loc: (80...81) = "(" └── closing_loc: (84...85) = ")" diff --git a/test/yarp/snapshots/regex.txt b/test/yarp/snapshots/regex.txt index 23c2020b5d..39e3ac7421 100644 --- a/test/yarp/snapshots/regex.txt +++ b/test/yarp/snapshots/regex.txt @@ -16,10 +16,10 @@ │ │ ├── content_loc: (5...8) = "bar" │ │ ├── closing_loc: (8...9) = "/" │ │ ├── unescaped: "bar" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ RegularExpressionNode (location: (11...19)) │ ├── opening_loc: (11...14) = "%r{" @@ -32,7 +32,7 @@ │ ├── content_loc: (22...25) = "a\\b" │ ├── closing_loc: (25...26) = "/" │ ├── unescaped: "a\b" - │ └── flags: + │ └── flags: ∅ ├── @ InterpolatedRegularExpressionNode (location: (28...39)) │ ├── opening_loc: (28...29) = "/" │ ├── parts: (length: 2) @@ -47,7 +47,7 @@ │ │ @ GlobalVariableReadNode (location: (34...38)) │ │ └── name: :$bbb │ ├── closing_loc: (38...39) = "/" - │ └── flags: + │ └── flags: ∅ ├── @ InterpolatedRegularExpressionNode (location: (41...57)) │ ├── opening_loc: (41...42) = "/" │ ├── parts: (length: 3) @@ -78,7 +78,7 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: " ccc" │ ├── closing_loc: (56...57) = "/" - │ └── flags: + │ └── flags: ∅ ├── @ ArrayNode (location: (59...86)) │ ├── elements: (length: 2) │ │ ├── @ CallNode (location: (60...80)) @@ -88,7 +88,7 @@ │ │ │ │ ├── content_loc: (61...72) = "(?<foo>bar)" │ │ │ │ ├── closing_loc: (72...73) = "/" │ │ │ │ ├── unescaped: "(?<foo>bar)" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── call_operator_loc: ∅ │ │ │ ├── message_loc: (74...76) = "=~" │ │ │ ├── opening_loc: ∅ @@ -107,7 +107,7 @@ │ │ │ │ └── name: "baz" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "=~" │ │ └── @ LocalVariableReadNode (location: (82...85)) │ │ ├── name: :foo @@ -143,7 +143,7 @@ │ ├── content_loc: (193...248) = "\n(?:[\\w\#$%_']|\\(\\)|\\(,\\)|\\[\\]|[0-9])*\n (?:[\\w\#$%_']+)\n" │ ├── closing_loc: (248...249) = ")" │ ├── unescaped: "\n(?:[w\#$%_']|()|(,)|[]|[0-9])*\n (?:[w\#$%_']+)\n" - │ └── flags: + │ └── flags: ∅ ├── @ CallNode (location: (251...267)) │ ├── receiver: │ │ @ RegularExpressionNode (location: (251...259)) @@ -151,7 +151,7 @@ │ │ ├── content_loc: (252...258) = "(?#\\))" │ │ ├── closing_loc: (258...259) = "/" │ │ ├── unescaped: "(?#))" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (260...262) = "=~" │ ├── opening_loc: ∅ @@ -165,14 +165,14 @@ │ │ └── unescaped: "hi" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ RegularExpressionNode (location: (269...278)) │ ├── opening_loc: (269...272) = "%r#" │ ├── content_loc: (272...277) = "pound" │ ├── closing_loc: (277...278) = "#" │ ├── unescaped: "pound" - │ └── flags: + │ └── flags: ∅ └── @ InterpolatedRegularExpressionNode (location: (280...293)) ├── opening_loc: (280...281) = "/" ├── parts: (length: 2) diff --git a/test/yarp/snapshots/rescue.txt b/test/yarp/snapshots/rescue.txt index 1212498269..1260fa924f 100644 --- a/test/yarp/snapshots/rescue.txt +++ b/test/yarp/snapshots/rescue.txt @@ -201,7 +201,7 @@ │ │ │ │ │ └── name: "y" │ │ │ │ ├── closing_loc: (175...176) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "bar" │ │ │ ├── keyword_loc: (177...183) = "rescue" │ │ │ └── rescue_expression: @@ -228,15 +228,15 @@ │ │ │ │ │ └── unescaped: "baz" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "fail" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "ArgumentError" │ │ ├── opening_loc: (161...163) = "do" │ │ └── closing_loc: (209...212) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ IfNode (location: (214...245)) │ ├── if_keyword_loc: (214...216) = "if" @@ -302,7 +302,7 @@ │ │ │ @ NilNode (location: (288...291)) │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "other_method" │ ├── locals: [] │ ├── def_keyword_loc: (247...250) = "def" @@ -343,7 +343,7 @@ │ │ │ └── operator_loc: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── rescue_clause: │ │ @ RescueNode (location: (306...312)) diff --git a/test/yarp/snapshots/seattlerb/TestRubyParserShared.txt b/test/yarp/snapshots/seattlerb/TestRubyParserShared.txt index d7066a7b8e..e5b7f14d9c 100644 --- a/test/yarp/snapshots/seattlerb/TestRubyParserShared.txt +++ b/test/yarp/snapshots/seattlerb/TestRubyParserShared.txt @@ -62,7 +62,7 @@ │ ├── content_loc: (87...90) = "\n\n\n" │ ├── closing_loc: (90...91) = "]" │ ├── unescaped: "\n\n\n" - │ └── flags: + │ └── flags: ∅ ├── @ ArrayNode (location: (93...100)) │ ├── elements: (length: 0) │ ├── opening_loc: (93...96) = "%w[" @@ -143,7 +143,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── locals: [:a, :b] │ │ ├── def_keyword_loc: (168...171) = "def" @@ -234,7 +234,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── locals: [:a, :b] │ │ ├── def_keyword_loc: (417...420) = "def" @@ -324,5 +324,5 @@ │ └── unescaped: "line3" ├── closing_loc: (688...689) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/and_multi.txt b/test/yarp/snapshots/seattlerb/and_multi.txt index 9799f8049b..200e749c4a 100644 --- a/test/yarp/snapshots/seattlerb/and_multi.txt +++ b/test/yarp/snapshots/seattlerb/and_multi.txt @@ -18,7 +18,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "!" │ └── operator_loc: (5...8) = "and" ├── right: diff --git a/test/yarp/snapshots/seattlerb/array_lits_trailing_calls.txt b/test/yarp/snapshots/seattlerb/array_lits_trailing_calls.txt index 3b61a45579..9ecb2c7622 100644 --- a/test/yarp/snapshots/seattlerb/array_lits_trailing_calls.txt +++ b/test/yarp/snapshots/seattlerb/array_lits_trailing_calls.txt @@ -15,7 +15,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" └── @ CallNode (location: (8...12)) ├── receiver: @@ -29,5 +29,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/assoc_label.txt b/test/yarp/snapshots/seattlerb/assoc_label.txt index 2332eb7c43..85bb4840b0 100644 --- a/test/yarp/snapshots/seattlerb/assoc_label.txt +++ b/test/yarp/snapshots/seattlerb/assoc_label.txt @@ -26,5 +26,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (5...6) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/attr_asgn_colon_id.txt b/test/yarp/snapshots/seattlerb/attr_asgn_colon_id.txt index 850f84290f..9d591b8988 100644 --- a/test/yarp/snapshots/seattlerb/attr_asgn_colon_id.txt +++ b/test/yarp/snapshots/seattlerb/attr_asgn_colon_id.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "b=" diff --git a/test/yarp/snapshots/seattlerb/attrasgn_array_arg.txt b/test/yarp/snapshots/seattlerb/attrasgn_array_arg.txt index 412fa726bd..eb609fb3e2 100644 --- a/test/yarp/snapshots/seattlerb/attrasgn_array_arg.txt +++ b/test/yarp/snapshots/seattlerb/attrasgn_array_arg.txt @@ -33,5 +33,5 @@ │ └── flags: decimal ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/seattlerb/attrasgn_array_lhs.txt b/test/yarp/snapshots/seattlerb/attrasgn_array_lhs.txt index 2f6c084fd9..36fc275ed5 100644 --- a/test/yarp/snapshots/seattlerb/attrasgn_array_lhs.txt +++ b/test/yarp/snapshots/seattlerb/attrasgn_array_lhs.txt @@ -47,7 +47,7 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "to" │ │ ├── operator_loc: (18...20) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ └── @ ArrayNode (location: (27...42)) │ ├── elements: (length: 3) │ │ ├── @ StringNode (location: (28...31)) @@ -69,5 +69,5 @@ │ └── closing_loc: (41...42) = "]" ├── closing_loc: (23...24) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/seattlerb/attrasgn_primary_dot_constant.txt b/test/yarp/snapshots/seattlerb/attrasgn_primary_dot_constant.txt index ad5038ed79..f8e2c7a112 100644 --- a/test/yarp/snapshots/seattlerb/attrasgn_primary_dot_constant.txt +++ b/test/yarp/snapshots/seattlerb/attrasgn_primary_dot_constant.txt @@ -25,5 +25,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "B=" diff --git a/test/yarp/snapshots/seattlerb/backticks_interpolation_line.txt b/test/yarp/snapshots/seattlerb/backticks_interpolation_line.txt index 2e2508388a..772ef6e888 100644 --- a/test/yarp/snapshots/seattlerb/backticks_interpolation_line.txt +++ b/test/yarp/snapshots/seattlerb/backticks_interpolation_line.txt @@ -33,5 +33,5 @@ │ └── closing_loc: (7...8) = "`" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/bang_eq.txt b/test/yarp/snapshots/seattlerb/bang_eq.txt index 8a545401b6..681be2f514 100644 --- a/test/yarp/snapshots/seattlerb/bang_eq.txt +++ b/test/yarp/snapshots/seattlerb/bang_eq.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!=" diff --git a/test/yarp/snapshots/seattlerb/bdot2.txt b/test/yarp/snapshots/seattlerb/bdot2.txt index 3308d855d9..a87ecbe8ca 100644 --- a/test/yarp/snapshots/seattlerb/bdot2.txt +++ b/test/yarp/snapshots/seattlerb/bdot2.txt @@ -9,7 +9,7 @@ │ │ @ IntegerNode (location: (2...4)) │ │ └── flags: decimal │ ├── operator_loc: (0...2) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ RangeNode (location: (7...10)) │ ├── left: ∅ │ ├── right: @@ -24,7 +24,7 @@ │ │ ├── flags: variable_call │ │ └── name: "a" │ ├── operator_loc: (7...9) = ".." - │ └── flags: + │ └── flags: ∅ └── @ CallNode (location: (13...14)) ├── receiver: ∅ ├── call_operator_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/block_arg_kwsplat.txt b/test/yarp/snapshots/seattlerb/block_arg_kwsplat.txt index c967c38ff4..d5cd44f8d0 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_kwsplat.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_kwsplat.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (10...11) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_opt_arg_block.txt b/test/yarp/snapshots/seattlerb/block_arg_opt_arg_block.txt index 696ad89678..93714b7021 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_opt_arg_block.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_opt_arg_block.txt @@ -45,5 +45,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (20...21) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_opt_splat.txt b/test/yarp/snapshots/seattlerb/block_arg_opt_splat.txt index fe2f55f346..4315793457 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_opt_splat.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_opt_splat.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (19...20) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt b/test/yarp/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt index d50a850517..7b5ca07e04 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt @@ -49,5 +49,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (24...25) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_optional.txt b/test/yarp/snapshots/seattlerb/block_arg_optional.txt index f29bbdffaf..c8ba4b69ee 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_optional.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_optional.txt @@ -37,5 +37,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_scope.txt b/test/yarp/snapshots/seattlerb/block_arg_scope.txt index c2bbe01342..2e4387375c 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_scope.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_scope.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (11...12) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_scope2.txt b/test/yarp/snapshots/seattlerb/block_arg_scope2.txt index 616d071e73..af3b33f582 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_scope2.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_scope2.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_arg_splat_arg.txt b/test/yarp/snapshots/seattlerb/block_arg_splat_arg.txt index 049ac7538c..0081063b4d 100644 --- a/test/yarp/snapshots/seattlerb/block_arg_splat_arg.txt +++ b/test/yarp/snapshots/seattlerb/block_arg_splat_arg.txt @@ -38,5 +38,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (15...16) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_args_kwargs.txt b/test/yarp/snapshots/seattlerb/block_args_kwargs.txt index 7dcb815048..9581a5dda7 100644 --- a/test/yarp/snapshots/seattlerb/block_args_kwargs.txt +++ b/test/yarp/snapshots/seattlerb/block_args_kwargs.txt @@ -39,5 +39,5 @@ │ │ └── depth: 0 │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (22...23) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_args_no_kwargs.txt b/test/yarp/snapshots/seattlerb/block_args_no_kwargs.txt index 9805345666..6637b63284 100644 --- a/test/yarp/snapshots/seattlerb/block_args_no_kwargs.txt +++ b/test/yarp/snapshots/seattlerb/block_args_no_kwargs.txt @@ -33,5 +33,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_args_opt1.txt b/test/yarp/snapshots/seattlerb/block_args_opt1.txt index 47f3334a36..a1f7f3609b 100644 --- a/test/yarp/snapshots/seattlerb/block_args_opt1.txt +++ b/test/yarp/snapshots/seattlerb/block_args_opt1.txt @@ -51,5 +51,5 @@ │ │ └── closing_loc: (21...22) = "]" │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (23...24) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_args_opt2.txt b/test/yarp/snapshots/seattlerb/block_args_opt2.txt index 2c6a5392b0..a9d73a9562 100644 --- a/test/yarp/snapshots/seattlerb/block_args_opt2.txt +++ b/test/yarp/snapshots/seattlerb/block_args_opt2.txt @@ -44,5 +44,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_args_opt2_2.txt b/test/yarp/snapshots/seattlerb/block_args_opt2_2.txt index a4f8d51273..abec503328 100644 --- a/test/yarp/snapshots/seattlerb/block_args_opt2_2.txt +++ b/test/yarp/snapshots/seattlerb/block_args_opt2_2.txt @@ -61,5 +61,5 @@ │ │ └── closing_loc: (32...33) = "]" │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (34...35) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_args_opt3.txt b/test/yarp/snapshots/seattlerb/block_args_opt3.txt index 52cbc52a53..535121b243 100644 --- a/test/yarp/snapshots/seattlerb/block_args_opt3.txt +++ b/test/yarp/snapshots/seattlerb/block_args_opt3.txt @@ -68,5 +68,5 @@ │ │ └── closing_loc: (39...40) = "]" │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (41...42) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_break.txt b/test/yarp/snapshots/seattlerb/block_break.txt index 7c8622eb0a..601503d343 100644 --- a/test/yarp/snapshots/seattlerb/block_break.txt +++ b/test/yarp/snapshots/seattlerb/block_break.txt @@ -48,6 +48,6 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (14...16) = "do" │ │ └── closing_loc: (23...26) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── keyword_loc: (0...5) = "break" diff --git a/test/yarp/snapshots/seattlerb/block_call_defn_call_block_call.txt b/test/yarp/snapshots/seattlerb/block_call_defn_call_block_call.txt index e4c5a81f80..a428abf823 100644 --- a/test/yarp/snapshots/seattlerb/block_call_defn_call_block_call.txt +++ b/test/yarp/snapshots/seattlerb/block_call_defn_call_block_call.txt @@ -48,7 +48,7 @@ │ │ └── end_keyword_loc: (15...18) = "end" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (20...30)) ├── receiver: @@ -74,5 +74,5 @@ │ ├── body: ∅ │ ├── opening_loc: (24...26) = "do" │ └── closing_loc: (27...30) = "end" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_call_dot_op2_brace_block.txt b/test/yarp/snapshots/seattlerb/block_call_dot_op2_brace_block.txt index 2d8c96026a..b38de9aff5 100644 --- a/test/yarp/snapshots/seattlerb/block_call_dot_op2_brace_block.txt +++ b/test/yarp/snapshots/seattlerb/block_call_dot_op2_brace_block.txt @@ -31,7 +31,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: (6...7) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ ├── closing_loc: ∅ │ ├── block: @@ -53,7 +53,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (8...10) = "do" │ │ └── closing_loc: (13...16) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (16...17) = "." ├── message_loc: (17...18) = "e" @@ -94,5 +94,5 @@ │ │ └── name: "g" │ ├── opening_loc: (19...21) = "do" │ └── closing_loc: (28...31) = "end" - ├── flags: + ├── flags: ∅ └── name: "e" diff --git a/test/yarp/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt b/test/yarp/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt index 4c1a75578d..6833b1648d 100644 --- a/test/yarp/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt +++ b/test/yarp/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt @@ -31,7 +31,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: (6...7) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ ├── closing_loc: ∅ │ ├── block: @@ -53,7 +53,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (8...10) = "do" │ │ └── closing_loc: (13...16) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (16...17) = "." ├── message_loc: (17...18) = "e" @@ -106,5 +106,5 @@ │ │ └── name: "h" │ ├── opening_loc: (21...23) = "do" │ └── closing_loc: (30...33) = "end" - ├── flags: + ├── flags: ∅ └── name: "e" diff --git a/test/yarp/snapshots/seattlerb/block_call_operation_colon.txt b/test/yarp/snapshots/seattlerb/block_call_operation_colon.txt index e68502b63e..9a61c531c3 100644 --- a/test/yarp/snapshots/seattlerb/block_call_operation_colon.txt +++ b/test/yarp/snapshots/seattlerb/block_call_operation_colon.txt @@ -41,7 +41,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (6...8) = "do" │ │ └── closing_loc: (9...12) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (12...14) = "::" ├── message_loc: (14...15) = "d" @@ -49,5 +49,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "d" diff --git a/test/yarp/snapshots/seattlerb/block_call_operation_dot.txt b/test/yarp/snapshots/seattlerb/block_call_operation_dot.txt index 5cff9a8b4b..fb552bcf30 100644 --- a/test/yarp/snapshots/seattlerb/block_call_operation_dot.txt +++ b/test/yarp/snapshots/seattlerb/block_call_operation_dot.txt @@ -41,7 +41,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (6...8) = "do" │ │ └── closing_loc: (9...12) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (12...13) = "." ├── message_loc: (13...14) = "d" @@ -49,5 +49,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "d" diff --git a/test/yarp/snapshots/seattlerb/block_call_paren_call_block_call.txt b/test/yarp/snapshots/seattlerb/block_call_paren_call_block_call.txt index 1f2dfdaef9..9dd19e0c26 100644 --- a/test/yarp/snapshots/seattlerb/block_call_paren_call_block_call.txt +++ b/test/yarp/snapshots/seattlerb/block_call_paren_call_block_call.txt @@ -29,7 +29,7 @@ │ │ └── closing_loc: (4...5) = ")" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (6...16)) ├── receiver: @@ -55,5 +55,5 @@ │ ├── body: ∅ │ ├── opening_loc: (10...12) = "do" │ └── closing_loc: (13...16) = "end" - ├── flags: + ├── flags: ∅ └── name: "d" diff --git a/test/yarp/snapshots/seattlerb/block_command_operation_colon.txt b/test/yarp/snapshots/seattlerb/block_command_operation_colon.txt index a805b7de01..ba69cd30dc 100644 --- a/test/yarp/snapshots/seattlerb/block_command_operation_colon.txt +++ b/test/yarp/snapshots/seattlerb/block_command_operation_colon.txt @@ -26,7 +26,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (5...7) = "do" │ │ └── closing_loc: (8...11) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── call_operator_loc: (11...13) = "::" ├── message_loc: (13...14) = "c" @@ -41,5 +41,5 @@ │ └── unescaped: "d" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/block_command_operation_dot.txt b/test/yarp/snapshots/seattlerb/block_command_operation_dot.txt index 1ec16c91b1..285125f974 100644 --- a/test/yarp/snapshots/seattlerb/block_command_operation_dot.txt +++ b/test/yarp/snapshots/seattlerb/block_command_operation_dot.txt @@ -26,7 +26,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (5...7) = "do" │ │ └── closing_loc: (8...11) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── call_operator_loc: (11...12) = "." ├── message_loc: (12...13) = "c" @@ -41,5 +41,5 @@ │ └── unescaped: "d" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/block_decomp_anon_splat_arg.txt b/test/yarp/snapshots/seattlerb/block_decomp_anon_splat_arg.txt index 86dd709522..4bc3639271 100644 --- a/test/yarp/snapshots/seattlerb/block_decomp_anon_splat_arg.txt +++ b/test/yarp/snapshots/seattlerb/block_decomp_anon_splat_arg.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_decomp_arg_splat.txt b/test/yarp/snapshots/seattlerb/block_decomp_arg_splat.txt index b5e33f180d..7cc9979278 100644 --- a/test/yarp/snapshots/seattlerb/block_decomp_arg_splat.txt +++ b/test/yarp/snapshots/seattlerb/block_decomp_arg_splat.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_decomp_arg_splat_arg.txt b/test/yarp/snapshots/seattlerb/block_decomp_arg_splat_arg.txt index caad568985..34e47e5257 100644 --- a/test/yarp/snapshots/seattlerb/block_decomp_arg_splat_arg.txt +++ b/test/yarp/snapshots/seattlerb/block_decomp_arg_splat_arg.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_decomp_splat.txt b/test/yarp/snapshots/seattlerb/block_decomp_splat.txt index a9e5a5ef82..290061c5ba 100644 --- a/test/yarp/snapshots/seattlerb/block_decomp_splat.txt +++ b/test/yarp/snapshots/seattlerb/block_decomp_splat.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (11...12) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/block_kw.txt b/test/yarp/snapshots/seattlerb/block_kw.txt index 77b7021dc1..b86db4881b 100644 --- a/test/yarp/snapshots/seattlerb/block_kw.txt +++ b/test/yarp/snapshots/seattlerb/block_kw.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (5...6) = "{" │ └── closing_loc: (14...15) = "}" - ├── flags: + ├── flags: ∅ └── name: "blah" diff --git a/test/yarp/snapshots/seattlerb/block_kw__required.txt b/test/yarp/snapshots/seattlerb/block_kw__required.txt index 9c465f8352..8a6dd862ee 100644 --- a/test/yarp/snapshots/seattlerb/block_kw__required.txt +++ b/test/yarp/snapshots/seattlerb/block_kw__required.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (5...7) = "do" │ └── closing_loc: (13...16) = "end" - ├── flags: + ├── flags: ∅ └── name: "blah" diff --git a/test/yarp/snapshots/seattlerb/block_kwarg_lvar.txt b/test/yarp/snapshots/seattlerb/block_kwarg_lvar.txt index 9b3089694e..139cd8d7ac 100644 --- a/test/yarp/snapshots/seattlerb/block_kwarg_lvar.txt +++ b/test/yarp/snapshots/seattlerb/block_kwarg_lvar.txt @@ -44,5 +44,5 @@ │ │ └── depth: 0 │ ├── opening_loc: (3...4) = "{" │ └── closing_loc: (19...20) = "}" - ├── flags: + ├── flags: ∅ └── name: "bl" diff --git a/test/yarp/snapshots/seattlerb/block_kwarg_lvar_multiple.txt b/test/yarp/snapshots/seattlerb/block_kwarg_lvar_multiple.txt index 55bd38b149..e42b0a7bd4 100644 --- a/test/yarp/snapshots/seattlerb/block_kwarg_lvar_multiple.txt +++ b/test/yarp/snapshots/seattlerb/block_kwarg_lvar_multiple.txt @@ -53,5 +53,5 @@ │ │ └── depth: 0 │ ├── opening_loc: (3...4) = "{" │ └── closing_loc: (32...33) = "}" - ├── flags: + ├── flags: ∅ └── name: "bl" diff --git a/test/yarp/snapshots/seattlerb/block_next.txt b/test/yarp/snapshots/seattlerb/block_next.txt index 1507b8edb8..fa11a5c831 100644 --- a/test/yarp/snapshots/seattlerb/block_next.txt +++ b/test/yarp/snapshots/seattlerb/block_next.txt @@ -48,6 +48,6 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (13...15) = "do" │ │ └── closing_loc: (22...25) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── keyword_loc: (0...4) = "next" diff --git a/test/yarp/snapshots/seattlerb/block_opt_arg.txt b/test/yarp/snapshots/seattlerb/block_opt_arg.txt index 3bce4414bb..214bc762e4 100644 --- a/test/yarp/snapshots/seattlerb/block_opt_arg.txt +++ b/test/yarp/snapshots/seattlerb/block_opt_arg.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_opt_splat.txt b/test/yarp/snapshots/seattlerb/block_opt_splat.txt index b7ad9c1a9e..4a4a2d2e84 100644 --- a/test/yarp/snapshots/seattlerb/block_opt_splat.txt +++ b/test/yarp/snapshots/seattlerb/block_opt_splat.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt b/test/yarp/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt index 80d6c52bc1..8035289c04 100644 --- a/test/yarp/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt +++ b/test/yarp/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt @@ -47,5 +47,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (21...22) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_optarg.txt b/test/yarp/snapshots/seattlerb/block_optarg.txt index 80f5f9cac3..35a87200fb 100644 --- a/test/yarp/snapshots/seattlerb/block_optarg.txt +++ b/test/yarp/snapshots/seattlerb/block_optarg.txt @@ -40,5 +40,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_paren_splat.txt b/test/yarp/snapshots/seattlerb/block_paren_splat.txt index 023e119128..93380a5a2e 100644 --- a/test/yarp/snapshots/seattlerb/block_paren_splat.txt +++ b/test/yarp/snapshots/seattlerb/block_paren_splat.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (14...15) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_reg_optarg.txt b/test/yarp/snapshots/seattlerb/block_reg_optarg.txt index 68e489b0ce..295feda52c 100644 --- a/test/yarp/snapshots/seattlerb/block_reg_optarg.txt +++ b/test/yarp/snapshots/seattlerb/block_reg_optarg.txt @@ -42,5 +42,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_return.txt b/test/yarp/snapshots/seattlerb/block_return.txt index 9b8cd5ed02..89151fd495 100644 --- a/test/yarp/snapshots/seattlerb/block_return.txt +++ b/test/yarp/snapshots/seattlerb/block_return.txt @@ -49,5 +49,5 @@ │ ├── body: ∅ │ ├── opening_loc: (15...17) = "do" │ └── closing_loc: (24...27) = "end" - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/seattlerb/block_scope.txt b/test/yarp/snapshots/seattlerb/block_scope.txt index 048f4febda..03d1b09597 100644 --- a/test/yarp/snapshots/seattlerb/block_scope.txt +++ b/test/yarp/snapshots/seattlerb/block_scope.txt @@ -24,5 +24,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (9...10) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/block_splat_reg.txt b/test/yarp/snapshots/seattlerb/block_splat_reg.txt index 28fa486f87..05ba0a4d28 100644 --- a/test/yarp/snapshots/seattlerb/block_splat_reg.txt +++ b/test/yarp/snapshots/seattlerb/block_splat_reg.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/bug169.txt b/test/yarp/snapshots/seattlerb/bug169.txt index d00df77513..49a82c9056 100644 --- a/test/yarp/snapshots/seattlerb/bug169.txt +++ b/test/yarp/snapshots/seattlerb/bug169.txt @@ -23,5 +23,5 @@ │ ├── body: ∅ │ ├── opening_loc: (5...6) = "{" │ └── closing_loc: (6...7) = "}" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/seattlerb/bug179.txt b/test/yarp/snapshots/seattlerb/bug179.txt index 0a82429fc5..2a298d7d2b 100644 --- a/test/yarp/snapshots/seattlerb/bug179.txt +++ b/test/yarp/snapshots/seattlerb/bug179.txt @@ -20,8 +20,8 @@ │ ├── right: │ │ @ NilNode (location: (6...9)) │ ├── operator_loc: (4...6) = ".." - │ └── flags: + │ └── flags: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/bug190.txt b/test/yarp/snapshots/seattlerb/bug190.txt index 1209e9b885..2cc70b7747 100644 --- a/test/yarp/snapshots/seattlerb/bug190.txt +++ b/test/yarp/snapshots/seattlerb/bug190.txt @@ -8,4 +8,4 @@ ├── content_loc: (3...5) = "\\'" ├── closing_loc: (5...6) = "'" ├── unescaped: "'" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/bug236.txt b/test/yarp/snapshots/seattlerb/bug236.txt index 603053ce58..51cfe2b41a 100644 --- a/test/yarp/snapshots/seattlerb/bug236.txt +++ b/test/yarp/snapshots/seattlerb/bug236.txt @@ -36,7 +36,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (1...2) = "{" │ │ └── closing_loc: (6...7) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x" └── @ CallNode (location: (9...15)) ├── receiver: ∅ @@ -67,5 +67,5 @@ │ ├── body: ∅ │ ├── opening_loc: (10...11) = "{" │ └── closing_loc: (14...15) = "}" - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/bug_187.txt b/test/yarp/snapshots/seattlerb/bug_187.txt index 2de3c838c9..2bb9fc45fd 100644 --- a/test/yarp/snapshots/seattlerb/bug_187.txt +++ b/test/yarp/snapshots/seattlerb/bug_187.txt @@ -43,7 +43,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (18...20) = "do" │ │ │ └── closing_loc: (21...24) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── locals: [] │ ├── def_keyword_loc: (8...11) = "def" @@ -54,5 +54,5 @@ │ └── end_keyword_loc: (25...28) = "end" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "private" diff --git a/test/yarp/snapshots/seattlerb/bug_249.txt b/test/yarp/snapshots/seattlerb/bug_249.txt index 9bcffa3fb9..4590ea860d 100644 --- a/test/yarp/snapshots/seattlerb/bug_249.txt +++ b/test/yarp/snapshots/seattlerb/bug_249.txt @@ -48,7 +48,7 @@ │ │ │ │ │ │ └── end_keyword_loc: (35...38) = "end" │ │ │ │ │ ├── opening_loc: (17...19) = "do" │ │ │ │ │ └── closing_loc: (40...43) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "new" │ │ │ ├── opening_loc: (6...7) = "(" │ │ │ └── closing_loc: (43...44) = ")" @@ -58,7 +58,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "new" │ └── @ KeywordHashNode (location: (50...67)) │ └── elements: (length: 1) @@ -78,5 +78,5 @@ │ └── operator_loc: (54...56) = "=>" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "mount" diff --git a/test/yarp/snapshots/seattlerb/bug_args__19.txt b/test/yarp/snapshots/seattlerb/bug_args__19.txt index b945c1b680..806927a0e3 100644 --- a/test/yarp/snapshots/seattlerb/bug_args__19.txt +++ b/test/yarp/snapshots/seattlerb/bug_args__19.txt @@ -50,5 +50,5 @@ │ │ └── name: "d" │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (15...16) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/bug_args_masgn.txt b/test/yarp/snapshots/seattlerb/bug_args_masgn.txt index ff5e9f2485..a22b4f7e90 100644 --- a/test/yarp/snapshots/seattlerb/bug_args_masgn.txt +++ b/test/yarp/snapshots/seattlerb/bug_args_masgn.txt @@ -40,5 +40,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/bug_args_masgn2.txt b/test/yarp/snapshots/seattlerb/bug_args_masgn2.txt index ee3e424afe..272cd30603 100644 --- a/test/yarp/snapshots/seattlerb/bug_args_masgn2.txt +++ b/test/yarp/snapshots/seattlerb/bug_args_masgn2.txt @@ -46,5 +46,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (21...22) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt b/test/yarp/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt index e5cb3d0520..10a2e9539f 100644 --- a/test/yarp/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt +++ b/test/yarp/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt @@ -44,5 +44,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (18...19) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/bug_call_arglist_parens.txt b/test/yarp/snapshots/seattlerb/bug_call_arglist_parens.txt index fe4b4fff9d..077fedf68d 100644 --- a/test/yarp/snapshots/seattlerb/bug_call_arglist_parens.txt +++ b/test/yarp/snapshots/seattlerb/bug_call_arglist_parens.txt @@ -31,7 +31,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "g" │ ├── locals: [] │ ├── def_keyword_loc: (6...9) = "def" @@ -68,7 +68,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "g" │ ├── locals: [] │ ├── def_keyword_loc: (48...51) = "def" @@ -97,5 +97,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "g" diff --git a/test/yarp/snapshots/seattlerb/bug_case_when_regexp.txt b/test/yarp/snapshots/seattlerb/bug_case_when_regexp.txt index 14a4002a36..0d781b4080 100644 --- a/test/yarp/snapshots/seattlerb/bug_case_when_regexp.txt +++ b/test/yarp/snapshots/seattlerb/bug_case_when_regexp.txt @@ -19,7 +19,7 @@ │ │ ├── content_loc: (15...16) = "x" │ │ ├── closing_loc: (16...17) = "/" │ │ ├── unescaped: "x" - │ │ └── flags: + │ │ └── flags: ∅ │ └── statements: ∅ ├── consequent: ∅ ├── case_keyword_loc: (0...4) = "case" diff --git a/test/yarp/snapshots/seattlerb/bug_comma.txt b/test/yarp/snapshots/seattlerb/bug_comma.txt index ab373aba59..6eac74c470 100644 --- a/test/yarp/snapshots/seattlerb/bug_comma.txt +++ b/test/yarp/snapshots/seattlerb/bug_comma.txt @@ -31,7 +31,7 @@ │ │ └── name: "dir" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "test" ├── statements: ∅ ├── consequent: ∅ diff --git a/test/yarp/snapshots/seattlerb/bug_cond_pct.txt b/test/yarp/snapshots/seattlerb/bug_cond_pct.txt index e1f5d7bd5b..8cb7f1f84c 100644 --- a/test/yarp/snapshots/seattlerb/bug_cond_pct.txt +++ b/test/yarp/snapshots/seattlerb/bug_cond_pct.txt @@ -14,7 +14,7 @@ │ │ ├── content_loc: (14...22) = "blahblah" │ │ ├── closing_loc: (22...23) = "%" │ │ ├── unescaped: "blahblah" - │ │ └── flags: + │ │ └── flags: ∅ │ └── statements: ∅ ├── consequent: ∅ ├── case_keyword_loc: (0...4) = "case" diff --git a/test/yarp/snapshots/seattlerb/bug_hash_args.txt b/test/yarp/snapshots/seattlerb/bug_hash_args.txt index 08f3497bdd..7184b66ae9 100644 --- a/test/yarp/snapshots/seattlerb/bug_hash_args.txt +++ b/test/yarp/snapshots/seattlerb/bug_hash_args.txt @@ -30,5 +30,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (18...19) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/seattlerb/bug_hash_args_trailing_comma.txt b/test/yarp/snapshots/seattlerb/bug_hash_args_trailing_comma.txt index c2831751bd..57d5e40ea8 100644 --- a/test/yarp/snapshots/seattlerb/bug_hash_args_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/bug_hash_args_trailing_comma.txt @@ -30,5 +30,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (19...20) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/seattlerb/bug_masgn_right.txt b/test/yarp/snapshots/seattlerb/bug_masgn_right.txt index 02d3665f46..2a3ffe101d 100644 --- a/test/yarp/snapshots/seattlerb/bug_masgn_right.txt +++ b/test/yarp/snapshots/seattlerb/bug_masgn_right.txt @@ -40,5 +40,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/bug_not_parens.txt b/test/yarp/snapshots/seattlerb/bug_not_parens.txt index e9559710e9..f9c7740173 100644 --- a/test/yarp/snapshots/seattlerb/bug_not_parens.txt +++ b/test/yarp/snapshots/seattlerb/bug_not_parens.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: (5...6) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/seattlerb/call_and.txt b/test/yarp/snapshots/seattlerb/call_and.txt index 5759a52583..2ebeeea7ac 100644 --- a/test/yarp/snapshots/seattlerb/call_and.txt +++ b/test/yarp/snapshots/seattlerb/call_and.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "&" diff --git a/test/yarp/snapshots/seattlerb/call_arg_assoc.txt b/test/yarp/snapshots/seattlerb/call_arg_assoc.txt index 794cdff0d7..0ffca3c181 100644 --- a/test/yarp/snapshots/seattlerb/call_arg_assoc.txt +++ b/test/yarp/snapshots/seattlerb/call_arg_assoc.txt @@ -25,5 +25,5 @@ │ └── operator_loc: (6...8) = "=>" ├── closing_loc: (9...10) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_arg_assoc_kwsplat.txt b/test/yarp/snapshots/seattlerb/call_arg_assoc_kwsplat.txt index e0be89867e..1ec7c61252 100644 --- a/test/yarp/snapshots/seattlerb/call_arg_assoc_kwsplat.txt +++ b/test/yarp/snapshots/seattlerb/call_arg_assoc_kwsplat.txt @@ -33,5 +33,5 @@ │ └── operator_loc: (12...14) = "**" ├── closing_loc: (15...16) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_arg_kwsplat.txt b/test/yarp/snapshots/seattlerb/call_arg_kwsplat.txt index 36f34b8c89..3386fae386 100644 --- a/test/yarp/snapshots/seattlerb/call_arg_kwsplat.txt +++ b/test/yarp/snapshots/seattlerb/call_arg_kwsplat.txt @@ -30,5 +30,5 @@ │ └── operator_loc: (5...7) = "**" ├── closing_loc: (8...9) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_args_assoc_quoted.txt b/test/yarp/snapshots/seattlerb/call_args_assoc_quoted.txt index 95b4588caa..b78f31ad14 100644 --- a/test/yarp/snapshots/seattlerb/call_args_assoc_quoted.txt +++ b/test/yarp/snapshots/seattlerb/call_args_assoc_quoted.txt @@ -41,7 +41,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x" ├── @ CallNode (location: (13...21)) │ ├── receiver: ∅ @@ -66,7 +66,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x" └── @ CallNode (location: (23...31)) ├── receiver: ∅ @@ -91,5 +91,5 @@ │ └── operator_loc: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/call_args_assoc_trailing_comma.txt b/test/yarp/snapshots/seattlerb/call_args_assoc_trailing_comma.txt index c1f203a9b6..c4a3a7c638 100644 --- a/test/yarp/snapshots/seattlerb/call_args_assoc_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/call_args_assoc_trailing_comma.txt @@ -25,5 +25,5 @@ │ └── operator_loc: (6...8) = "=>" ├── closing_loc: (10...11) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_args_command.txt b/test/yarp/snapshots/seattlerb/call_args_command.txt index 89bf0a6617..e53bb254a3 100644 --- a/test/yarp/snapshots/seattlerb/call_args_command.txt +++ b/test/yarp/snapshots/seattlerb/call_args_command.txt @@ -43,9 +43,9 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "d" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/call_array_arg.txt b/test/yarp/snapshots/seattlerb/call_array_arg.txt index eb2d8f8083..b2f0cb9e7b 100644 --- a/test/yarp/snapshots/seattlerb/call_array_arg.txt +++ b/test/yarp/snapshots/seattlerb/call_array_arg.txt @@ -29,5 +29,5 @@ │ └── closing_loc: (12...13) = "]" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "==" diff --git a/test/yarp/snapshots/seattlerb/call_array_block_call.txt b/test/yarp/snapshots/seattlerb/call_array_block_call.txt index ce9ced7e30..66df83d61b 100644 --- a/test/yarp/snapshots/seattlerb/call_array_block_call.txt +++ b/test/yarp/snapshots/seattlerb/call_array_block_call.txt @@ -28,11 +28,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (11...13) = "do" │ │ │ └── closing_loc: (14...17) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── opening_loc: (2...3) = "[" │ └── closing_loc: (18...19) = "]" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_array_lambda_block_call.txt b/test/yarp/snapshots/seattlerb/call_array_lambda_block_call.txt index cb4f241661..3f05bbf5f7 100644 --- a/test/yarp/snapshots/seattlerb/call_array_lambda_block_call.txt +++ b/test/yarp/snapshots/seattlerb/call_array_lambda_block_call.txt @@ -35,5 +35,5 @@ │ ├── body: ∅ │ ├── opening_loc: (12...14) = "do" │ └── closing_loc: (15...18) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_array_lit_inline_hash.txt b/test/yarp/snapshots/seattlerb/call_array_lit_inline_hash.txt index 28e6f54e87..6dd5f4cb48 100644 --- a/test/yarp/snapshots/seattlerb/call_array_lit_inline_hash.txt +++ b/test/yarp/snapshots/seattlerb/call_array_lit_inline_hash.txt @@ -35,5 +35,5 @@ │ └── closing_loc: (14...15) = "]" ├── closing_loc: (15...16) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_assoc.txt b/test/yarp/snapshots/seattlerb/call_assoc.txt index 75eca7f7fe..4fba76817f 100644 --- a/test/yarp/snapshots/seattlerb/call_assoc.txt +++ b/test/yarp/snapshots/seattlerb/call_assoc.txt @@ -23,5 +23,5 @@ │ └── operator_loc: (3...5) = "=>" ├── closing_loc: (6...7) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_assoc_new.txt b/test/yarp/snapshots/seattlerb/call_assoc_new.txt index 63715c15ff..6a71ea1884 100644 --- a/test/yarp/snapshots/seattlerb/call_assoc_new.txt +++ b/test/yarp/snapshots/seattlerb/call_assoc_new.txt @@ -26,5 +26,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (5...6) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_assoc_new_if_multiline.txt b/test/yarp/snapshots/seattlerb/call_assoc_new_if_multiline.txt index a7773f063d..786e7359c6 100644 --- a/test/yarp/snapshots/seattlerb/call_assoc_new_if_multiline.txt +++ b/test/yarp/snapshots/seattlerb/call_assoc_new_if_multiline.txt @@ -47,5 +47,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (23...24) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_assoc_trailing_comma.txt b/test/yarp/snapshots/seattlerb/call_assoc_trailing_comma.txt index c1bc50ee80..5fb5ef02d3 100644 --- a/test/yarp/snapshots/seattlerb/call_assoc_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/call_assoc_trailing_comma.txt @@ -23,5 +23,5 @@ │ └── operator_loc: (3...5) = "=>" ├── closing_loc: (7...8) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_bang_command_call.txt b/test/yarp/snapshots/seattlerb/call_bang_command_call.txt index 8bf02d6ac7..f8be3b5c50 100644 --- a/test/yarp/snapshots/seattlerb/call_bang_command_call.txt +++ b/test/yarp/snapshots/seattlerb/call_bang_command_call.txt @@ -27,7 +27,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: ∅ ├── message_loc: (0...1) = "!" @@ -35,5 +35,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/seattlerb/call_bang_squiggle.txt b/test/yarp/snapshots/seattlerb/call_bang_squiggle.txt index 203c36e23b..4c2bb28925 100644 --- a/test/yarp/snapshots/seattlerb/call_bang_squiggle.txt +++ b/test/yarp/snapshots/seattlerb/call_bang_squiggle.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!~" diff --git a/test/yarp/snapshots/seattlerb/call_begin_call_block_call.txt b/test/yarp/snapshots/seattlerb/call_begin_call_block_call.txt index defd0ecd81..eaa754eae3 100644 --- a/test/yarp/snapshots/seattlerb/call_begin_call_block_call.txt +++ b/test/yarp/snapshots/seattlerb/call_begin_call_block_call.txt @@ -40,7 +40,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (12...14) = "do" │ │ │ └── closing_loc: (15...18) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ ├── rescue_clause: ∅ │ ├── else_clause: ∅ @@ -48,5 +48,5 @@ │ └── end_keyword_loc: (19...22) = "end" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_block_arg_named.txt b/test/yarp/snapshots/seattlerb/call_block_arg_named.txt index 4739365aca..70ef65f9e8 100644 --- a/test/yarp/snapshots/seattlerb/call_block_arg_named.txt +++ b/test/yarp/snapshots/seattlerb/call_block_arg_named.txt @@ -26,5 +26,5 @@ │ └── operator_loc: (2...3) = "&" ├── closing_loc: (6...7) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/call_carat.txt b/test/yarp/snapshots/seattlerb/call_carat.txt index 44f7faa34e..3806586ee0 100644 --- a/test/yarp/snapshots/seattlerb/call_carat.txt +++ b/test/yarp/snapshots/seattlerb/call_carat.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "^" diff --git a/test/yarp/snapshots/seattlerb/call_colon2.txt b/test/yarp/snapshots/seattlerb/call_colon2.txt index 7f8eaf55bc..0342eb19d5 100644 --- a/test/yarp/snapshots/seattlerb/call_colon2.txt +++ b/test/yarp/snapshots/seattlerb/call_colon2.txt @@ -13,5 +13,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/call_colon_parens.txt b/test/yarp/snapshots/seattlerb/call_colon_parens.txt index 779b1df0f6..1d331efa9f 100644 --- a/test/yarp/snapshots/seattlerb/call_colon_parens.txt +++ b/test/yarp/snapshots/seattlerb/call_colon_parens.txt @@ -13,5 +13,5 @@ ├── arguments: ∅ ├── closing_loc: (4...5) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "call" diff --git a/test/yarp/snapshots/seattlerb/call_div.txt b/test/yarp/snapshots/seattlerb/call_div.txt index 6f0d53771f..17cb5ee6b4 100644 --- a/test/yarp/snapshots/seattlerb/call_div.txt +++ b/test/yarp/snapshots/seattlerb/call_div.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "/" diff --git a/test/yarp/snapshots/seattlerb/call_dot_parens.txt b/test/yarp/snapshots/seattlerb/call_dot_parens.txt index a626073c15..b6273090c4 100644 --- a/test/yarp/snapshots/seattlerb/call_dot_parens.txt +++ b/test/yarp/snapshots/seattlerb/call_dot_parens.txt @@ -13,5 +13,5 @@ ├── arguments: ∅ ├── closing_loc: (3...4) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "call" diff --git a/test/yarp/snapshots/seattlerb/call_env.txt b/test/yarp/snapshots/seattlerb/call_env.txt index 69e3bf23bf..2d45895c91 100644 --- a/test/yarp/snapshots/seattlerb/call_env.txt +++ b/test/yarp/snapshots/seattlerb/call_env.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "happy" diff --git a/test/yarp/snapshots/seattlerb/call_eq3.txt b/test/yarp/snapshots/seattlerb/call_eq3.txt index 4af86b0108..3cb3c0cb58 100644 --- a/test/yarp/snapshots/seattlerb/call_eq3.txt +++ b/test/yarp/snapshots/seattlerb/call_eq3.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "===" diff --git a/test/yarp/snapshots/seattlerb/call_gt.txt b/test/yarp/snapshots/seattlerb/call_gt.txt index 32ffdf8e9f..c04d1eedfc 100644 --- a/test/yarp/snapshots/seattlerb/call_gt.txt +++ b/test/yarp/snapshots/seattlerb/call_gt.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: ">" diff --git a/test/yarp/snapshots/seattlerb/call_kwsplat.txt b/test/yarp/snapshots/seattlerb/call_kwsplat.txt index 25d5fcaab6..2d8eb3213b 100644 --- a/test/yarp/snapshots/seattlerb/call_kwsplat.txt +++ b/test/yarp/snapshots/seattlerb/call_kwsplat.txt @@ -20,5 +20,5 @@ │ └── operator_loc: (2...4) = "**" ├── closing_loc: (5...6) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_leading_dots.txt b/test/yarp/snapshots/seattlerb/call_leading_dots.txt index ba97ea9f08..e0195c2c66 100644 --- a/test/yarp/snapshots/seattlerb/call_leading_dots.txt +++ b/test/yarp/snapshots/seattlerb/call_leading_dots.txt @@ -23,7 +23,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (5...6) = "." ├── message_loc: (6...7) = "c" @@ -31,5 +31,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/call_leading_dots_comment.txt b/test/yarp/snapshots/seattlerb/call_leading_dots_comment.txt index 30cc0df938..6027ee1a9b 100644 --- a/test/yarp/snapshots/seattlerb/call_leading_dots_comment.txt +++ b/test/yarp/snapshots/seattlerb/call_leading_dots_comment.txt @@ -23,7 +23,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (9...10) = "." ├── message_loc: (10...11) = "d" @@ -31,5 +31,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "d" diff --git a/test/yarp/snapshots/seattlerb/call_lt.txt b/test/yarp/snapshots/seattlerb/call_lt.txt index aadc062c7f..dcd453c9de 100644 --- a/test/yarp/snapshots/seattlerb/call_lt.txt +++ b/test/yarp/snapshots/seattlerb/call_lt.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "<" diff --git a/test/yarp/snapshots/seattlerb/call_lte.txt b/test/yarp/snapshots/seattlerb/call_lte.txt index d9bdd7326c..2abb91176f 100644 --- a/test/yarp/snapshots/seattlerb/call_lte.txt +++ b/test/yarp/snapshots/seattlerb/call_lte.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "<=" diff --git a/test/yarp/snapshots/seattlerb/call_not.txt b/test/yarp/snapshots/seattlerb/call_not.txt index f62195dcc3..0c72554d2c 100644 --- a/test/yarp/snapshots/seattlerb/call_not.txt +++ b/test/yarp/snapshots/seattlerb/call_not.txt @@ -13,5 +13,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/seattlerb/call_pipe.txt b/test/yarp/snapshots/seattlerb/call_pipe.txt index 86958191fe..2c9c1baa41 100644 --- a/test/yarp/snapshots/seattlerb/call_pipe.txt +++ b/test/yarp/snapshots/seattlerb/call_pipe.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "|" diff --git a/test/yarp/snapshots/seattlerb/call_rshift.txt b/test/yarp/snapshots/seattlerb/call_rshift.txt index c08bd04f0e..81f8227dd0 100644 --- a/test/yarp/snapshots/seattlerb/call_rshift.txt +++ b/test/yarp/snapshots/seattlerb/call_rshift.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: ">>" diff --git a/test/yarp/snapshots/seattlerb/call_self_brackets.txt b/test/yarp/snapshots/seattlerb/call_self_brackets.txt index 715924c445..c0b208cddc 100644 --- a/test/yarp/snapshots/seattlerb/call_self_brackets.txt +++ b/test/yarp/snapshots/seattlerb/call_self_brackets.txt @@ -16,5 +16,5 @@ │ └── flags: decimal ├── closing_loc: (6...7) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/seattlerb/call_spaceship.txt b/test/yarp/snapshots/seattlerb/call_spaceship.txt index b122808351..d6cfef6900 100644 --- a/test/yarp/snapshots/seattlerb/call_spaceship.txt +++ b/test/yarp/snapshots/seattlerb/call_spaceship.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "<=>" diff --git a/test/yarp/snapshots/seattlerb/call_stabby_do_end_with_block.txt b/test/yarp/snapshots/seattlerb/call_stabby_do_end_with_block.txt index f9a081a1c5..9108c20dab 100644 --- a/test/yarp/snapshots/seattlerb/call_stabby_do_end_with_block.txt +++ b/test/yarp/snapshots/seattlerb/call_stabby_do_end_with_block.txt @@ -34,5 +34,5 @@ │ │ └── flags: decimal │ ├── opening_loc: (14...16) = "do" │ └── closing_loc: (19...22) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_stabby_with_braces_block.txt b/test/yarp/snapshots/seattlerb/call_stabby_with_braces_block.txt index 5f1335fefe..4cd5b1ff02 100644 --- a/test/yarp/snapshots/seattlerb/call_stabby_with_braces_block.txt +++ b/test/yarp/snapshots/seattlerb/call_stabby_with_braces_block.txt @@ -34,5 +34,5 @@ │ │ └── flags: decimal │ ├── opening_loc: (11...13) = "do" │ └── closing_loc: (16...19) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/call_star.txt b/test/yarp/snapshots/seattlerb/call_star.txt index 925e5949e2..0cebfab357 100644 --- a/test/yarp/snapshots/seattlerb/call_star.txt +++ b/test/yarp/snapshots/seattlerb/call_star.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "*" diff --git a/test/yarp/snapshots/seattlerb/call_star2.txt b/test/yarp/snapshots/seattlerb/call_star2.txt index 531b353905..cb4f599474 100644 --- a/test/yarp/snapshots/seattlerb/call_star2.txt +++ b/test/yarp/snapshots/seattlerb/call_star2.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "**" diff --git a/test/yarp/snapshots/seattlerb/call_trailing_comma.txt b/test/yarp/snapshots/seattlerb/call_trailing_comma.txt index 7d75dab68c..8838e5f7ad 100644 --- a/test/yarp/snapshots/seattlerb/call_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/call_trailing_comma.txt @@ -15,5 +15,5 @@ │ └── flags: decimal ├── closing_loc: (4...5) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/call_trailing_dots.txt b/test/yarp/snapshots/seattlerb/call_trailing_dots.txt index 0f0a6ac5e8..ee96195589 100644 --- a/test/yarp/snapshots/seattlerb/call_trailing_dots.txt +++ b/test/yarp/snapshots/seattlerb/call_trailing_dots.txt @@ -23,7 +23,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── call_operator_loc: (4...5) = "." ├── message_loc: (6...7) = "c" @@ -31,5 +31,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/call_unary_bang.txt b/test/yarp/snapshots/seattlerb/call_unary_bang.txt index 138c59d395..97a63ec630 100644 --- a/test/yarp/snapshots/seattlerb/call_unary_bang.txt +++ b/test/yarp/snapshots/seattlerb/call_unary_bang.txt @@ -13,5 +13,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/seattlerb/case_in.txt b/test/yarp/snapshots/seattlerb/case_in.txt index 01ced35723..36c7917c9d 100644 --- a/test/yarp/snapshots/seattlerb/case_in.txt +++ b/test/yarp/snapshots/seattlerb/case_in.txt @@ -193,7 +193,7 @@ │ │ │ │ @ IntegerNode (location: (157...159)) │ │ │ │ └── flags: decimal │ │ │ ├── operator_loc: (155...157) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (151...153) = "in" │ │ └── then_loc: ∅ @@ -306,7 +306,7 @@ │ │ │ ├── content_loc: (268...274) = "regexp" │ │ │ ├── closing_loc: (274...275) = "/" │ │ │ ├── unescaped: "regexp" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (264...266) = "in" │ │ └── then_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/case_in_67.txt b/test/yarp/snapshots/seattlerb/case_in_67.txt index 70d9a5b6c1..d05aed834f 100644 --- a/test/yarp/snapshots/seattlerb/case_in_67.txt +++ b/test/yarp/snapshots/seattlerb/case_in_67.txt @@ -19,7 +19,7 @@ │ │ │ └── flags: decimal │ │ ├── right: ∅ │ │ ├── operator_loc: (12...14) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (20...23)) │ │ └── body: (length: 1) diff --git a/test/yarp/snapshots/seattlerb/dasgn_icky2.txt b/test/yarp/snapshots/seattlerb/dasgn_icky2.txt index 33a8beaad1..d3eabd62b4 100644 --- a/test/yarp/snapshots/seattlerb/dasgn_icky2.txt +++ b/test/yarp/snapshots/seattlerb/dasgn_icky2.txt @@ -57,5 +57,5 @@ │ │ └── end_keyword_loc: (69...72) = "end" │ ├── opening_loc: (2...4) = "do" │ └── closing_loc: (73...76) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/defn_arg_forward_args.txt b/test/yarp/snapshots/seattlerb/defn_arg_forward_args.txt index 23bf76d5b4..2e37d769cd 100644 --- a/test/yarp/snapshots/seattlerb/defn_arg_forward_args.txt +++ b/test/yarp/snapshots/seattlerb/defn_arg_forward_args.txt @@ -36,7 +36,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (20...23)) │ ├── closing_loc: (23...24) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── locals: [:x, :"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_args_forward_args.txt b/test/yarp/snapshots/seattlerb/defn_args_forward_args.txt index bf58b1d489..7e585e396c 100644 --- a/test/yarp/snapshots/seattlerb/defn_args_forward_args.txt +++ b/test/yarp/snapshots/seattlerb/defn_args_forward_args.txt @@ -45,7 +45,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (32...35)) │ ├── closing_loc: (35...36) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── locals: [:x, :y, :z, :"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_endless_command.txt b/test/yarp/snapshots/seattlerb/defn_endless_command.txt index ab7e58f28c..da8bb7a4cb 100644 --- a/test/yarp/snapshots/seattlerb/defn_endless_command.txt +++ b/test/yarp/snapshots/seattlerb/defn_endless_command.txt @@ -23,7 +23,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "other_method" ├── locals: [] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_endless_command_rescue.txt b/test/yarp/snapshots/seattlerb/defn_endless_command_rescue.txt index 2b6e03499e..01d2e56b76 100644 --- a/test/yarp/snapshots/seattlerb/defn_endless_command_rescue.txt +++ b/test/yarp/snapshots/seattlerb/defn_endless_command_rescue.txt @@ -29,7 +29,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "other_method" ├── locals: [] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_forward_args.txt b/test/yarp/snapshots/seattlerb/defn_forward_args.txt index 394d81efc4..6aee58d731 100644 --- a/test/yarp/snapshots/seattlerb/defn_forward_args.txt +++ b/test/yarp/snapshots/seattlerb/defn_forward_args.txt @@ -31,7 +31,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (14...17)) │ ├── closing_loc: (17...18) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── locals: [:"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_forward_args__no_parens.txt b/test/yarp/snapshots/seattlerb/defn_forward_args__no_parens.txt index baa57305b7..a2c039fcc4 100644 --- a/test/yarp/snapshots/seattlerb/defn_forward_args__no_parens.txt +++ b/test/yarp/snapshots/seattlerb/defn_forward_args__no_parens.txt @@ -31,7 +31,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (14...17)) │ ├── closing_loc: (17...18) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── locals: [:"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_kwarg_env.txt b/test/yarp/snapshots/seattlerb/defn_kwarg_env.txt index a0c237f438..815af0a870 100644 --- a/test/yarp/snapshots/seattlerb/defn_kwarg_env.txt +++ b/test/yarp/snapshots/seattlerb/defn_kwarg_env.txt @@ -41,7 +41,7 @@ │ │ └── operator_loc: (31...33) = "**" │ ├── closing_loc: (40...41) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "test_splat" ├── locals: [:testing] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_oneliner.txt b/test/yarp/snapshots/seattlerb/defn_oneliner.txt index 274cfc231a..e5421b8daf 100644 --- a/test/yarp/snapshots/seattlerb/defn_oneliner.txt +++ b/test/yarp/snapshots/seattlerb/defn_oneliner.txt @@ -34,7 +34,7 @@ │ │ └── depth: 0 │ ├── closing_loc: (26...27) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "system" ├── locals: [:cmd] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defn_oneliner_rescue.txt b/test/yarp/snapshots/seattlerb/defn_oneliner_rescue.txt index 72910246fd..fd14668026 100644 --- a/test/yarp/snapshots/seattlerb/defn_oneliner_rescue.txt +++ b/test/yarp/snapshots/seattlerb/defn_oneliner_rescue.txt @@ -37,7 +37,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: (26...27) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "system" │ │ ├── rescue_clause: │ │ │ @ RescueNode (location: (28...40)) @@ -93,7 +93,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: (73...74) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "system" │ │ ├── keyword_loc: (75...81) = "rescue" │ │ └── rescue_expression: @@ -138,7 +138,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: (118...119) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "system" │ ├── keyword_loc: (120...126) = "rescue" │ └── rescue_expression: diff --git a/test/yarp/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt b/test/yarp/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt index 988048e511..98ac1f393e 100644 --- a/test/yarp/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt +++ b/test/yarp/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt @@ -44,7 +44,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (18...20) = "do" │ │ │ └── closing_loc: (22...25) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "y" │ ├── locals: [] │ ├── def_keyword_loc: (2...5) = "def" @@ -55,5 +55,5 @@ │ └── end_keyword_loc: (27...30) = "end" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/defs_endless_command.txt b/test/yarp/snapshots/seattlerb/defs_endless_command.txt index 480a2f07cc..dc30b3be1e 100644 --- a/test/yarp/snapshots/seattlerb/defs_endless_command.txt +++ b/test/yarp/snapshots/seattlerb/defs_endless_command.txt @@ -33,7 +33,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "other_method" ├── locals: [] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defs_endless_command_rescue.txt b/test/yarp/snapshots/seattlerb/defs_endless_command_rescue.txt index 98a5c28447..754a14505e 100644 --- a/test/yarp/snapshots/seattlerb/defs_endless_command_rescue.txt +++ b/test/yarp/snapshots/seattlerb/defs_endless_command_rescue.txt @@ -39,7 +39,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "other_method" ├── locals: [] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defs_oneliner.txt b/test/yarp/snapshots/seattlerb/defs_oneliner.txt index 2406d3346d..ba27c23443 100644 --- a/test/yarp/snapshots/seattlerb/defs_oneliner.txt +++ b/test/yarp/snapshots/seattlerb/defs_oneliner.txt @@ -35,7 +35,7 @@ │ │ └── depth: 0 │ ├── closing_loc: (31...32) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "system" ├── locals: [:cmd] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/seattlerb/defs_oneliner_rescue.txt b/test/yarp/snapshots/seattlerb/defs_oneliner_rescue.txt index ee03a03761..dee7082424 100644 --- a/test/yarp/snapshots/seattlerb/defs_oneliner_rescue.txt +++ b/test/yarp/snapshots/seattlerb/defs_oneliner_rescue.txt @@ -38,7 +38,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: (31...32) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "system" │ │ ├── rescue_clause: │ │ │ @ RescueNode (location: (33...45)) @@ -95,7 +95,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: (83...84) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "system" │ │ ├── keyword_loc: (85...91) = "rescue" │ │ └── rescue_expression: @@ -141,7 +141,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: (133...134) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "system" │ ├── keyword_loc: (135...141) = "rescue" │ └── rescue_expression: diff --git a/test/yarp/snapshots/seattlerb/difficult0_.txt b/test/yarp/snapshots/seattlerb/difficult0_.txt index c6a521d27a..8e6aa70645 100644 --- a/test/yarp/snapshots/seattlerb/difficult0_.txt +++ b/test/yarp/snapshots/seattlerb/difficult0_.txt @@ -42,7 +42,7 @@ │ │ │ └── closing_loc: (25...26) = "'" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── call_operator_loc: ∅ │ ├── message_loc: (26...27) = "+" @@ -57,9 +57,9 @@ │ │ └── unescaped: "d" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/difficult1_line_numbers.txt b/test/yarp/snapshots/seattlerb/difficult1_line_numbers.txt index 4723d098ce..c85f9b88c6 100644 --- a/test/yarp/snapshots/seattlerb/difficult1_line_numbers.txt +++ b/test/yarp/snapshots/seattlerb/difficult1_line_numbers.txt @@ -22,7 +22,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ ├── @ CallNode (location: (16...21)) │ │ ├── receiver: @@ -46,7 +46,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── @ CallNode (location: (24...32)) │ │ ├── receiver: @@ -72,7 +72,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "d" │ ├── @ CallNode (location: (35...40)) │ │ ├── receiver: @@ -96,7 +96,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "f" │ ├── @ CallNode (location: (43...51)) │ │ ├── receiver: @@ -122,7 +122,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "h" │ ├── @ CallNode (location: (54...58)) │ │ ├── receiver: ∅ @@ -136,7 +136,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (57...58) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ ├── @ CallNode (location: (61...67)) │ │ ├── receiver: @@ -160,7 +160,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (66...67) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── @ CallNode (location: (70...79)) │ │ ├── receiver: @@ -186,7 +186,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (78...79) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "d" │ ├── @ CallNode (location: (82...88)) │ │ ├── receiver: @@ -210,7 +210,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (87...88) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "f" │ └── @ CallNode (location: (91...100)) │ ├── receiver: @@ -236,7 +236,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (99...100) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "h" ├── consequent: ∅ └── end_keyword_loc: (101...104) = "end" diff --git a/test/yarp/snapshots/seattlerb/difficult1_line_numbers2.txt b/test/yarp/snapshots/seattlerb/difficult1_line_numbers2.txt index 7f50567c66..5be8877c7f 100644 --- a/test/yarp/snapshots/seattlerb/difficult1_line_numbers2.txt +++ b/test/yarp/snapshots/seattlerb/difficult1_line_numbers2.txt @@ -25,7 +25,7 @@ │ │ │ │ └── unescaped: "a" │ │ │ ├── closing_loc: (20...21) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "p" │ │ ├── @ LocalVariableWriteNode (location: (24...29)) │ │ │ ├── name: :b @@ -48,7 +48,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "p" │ │ └── @ LocalVariableWriteNode (location: (38...42)) │ │ ├── name: :c diff --git a/test/yarp/snapshots/seattlerb/difficult2_.txt b/test/yarp/snapshots/seattlerb/difficult2_.txt index caa18ac937..8faa7b3508 100644 --- a/test/yarp/snapshots/seattlerb/difficult2_.txt +++ b/test/yarp/snapshots/seattlerb/difficult2_.txt @@ -26,7 +26,7 @@ │ │ │ └── unescaped: "" │ │ ├── closing_loc: (8...9) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── consequent: │ │ @ ElseNode (location: (10...13)) @@ -61,5 +61,5 @@ │ └── operator_loc: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/difficult3_.txt b/test/yarp/snapshots/seattlerb/difficult3_.txt index 07a077488c..72ff30b404 100644 --- a/test/yarp/snapshots/seattlerb/difficult3_.txt +++ b/test/yarp/snapshots/seattlerb/difficult3_.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3_2.txt b/test/yarp/snapshots/seattlerb/difficult3_2.txt index 0c8020cfd2..2940576ce5 100644 --- a/test/yarp/snapshots/seattlerb/difficult3_2.txt +++ b/test/yarp/snapshots/seattlerb/difficult3_2.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3_3.txt b/test/yarp/snapshots/seattlerb/difficult3_3.txt index 87ea39482f..0da71d6f65 100644 --- a/test/yarp/snapshots/seattlerb/difficult3_3.txt +++ b/test/yarp/snapshots/seattlerb/difficult3_3.txt @@ -40,5 +40,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3_5.txt b/test/yarp/snapshots/seattlerb/difficult3_5.txt index 8859389448..98fde853ef 100644 --- a/test/yarp/snapshots/seattlerb/difficult3_5.txt +++ b/test/yarp/snapshots/seattlerb/difficult3_5.txt @@ -39,9 +39,9 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (11...13) = "do" │ │ └── closing_loc: (14...17) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "g" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__10.txt b/test/yarp/snapshots/seattlerb/difficult3__10.txt index 27295ea3cb..10559c35c2 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__10.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__10.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__11.txt b/test/yarp/snapshots/seattlerb/difficult3__11.txt index 2aa267bc96..d7be05def6 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__11.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__11.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__12.txt b/test/yarp/snapshots/seattlerb/difficult3__12.txt index b1f5872f99..1cf3e1e208 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__12.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__12.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__6.txt b/test/yarp/snapshots/seattlerb/difficult3__6.txt index 2fd43d7bf7..1b45f3c2b8 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__6.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__6.txt @@ -45,5 +45,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (20...21) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__7.txt b/test/yarp/snapshots/seattlerb/difficult3__7.txt index a6db668c17..bb75a66b63 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__7.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__7.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__8.txt b/test/yarp/snapshots/seattlerb/difficult3__8.txt index b3581151d3..1bc801e4f5 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__8.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__8.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (19...20) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult3__9.txt b/test/yarp/snapshots/seattlerb/difficult3__9.txt index 105187f8ac..49b8809053 100644 --- a/test/yarp/snapshots/seattlerb/difficult3__9.txt +++ b/test/yarp/snapshots/seattlerb/difficult3__9.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (14...15) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/difficult4__leading_dots.txt b/test/yarp/snapshots/seattlerb/difficult4__leading_dots.txt index 8daf7a20ca..d3ce51d026 100644 --- a/test/yarp/snapshots/seattlerb/difficult4__leading_dots.txt +++ b/test/yarp/snapshots/seattlerb/difficult4__leading_dots.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/difficult4__leading_dots2.txt b/test/yarp/snapshots/seattlerb/difficult4__leading_dots2.txt index 95355987ae..41e1da4193 100644 --- a/test/yarp/snapshots/seattlerb/difficult4__leading_dots2.txt +++ b/test/yarp/snapshots/seattlerb/difficult4__leading_dots2.txt @@ -11,4 +11,4 @@ │ @ IntegerNode (location: (4...5)) │ └── flags: decimal ├── operator_loc: (2...4) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/difficult6_.txt b/test/yarp/snapshots/seattlerb/difficult6_.txt index fdc213acf4..bf813ea6a2 100644 --- a/test/yarp/snapshots/seattlerb/difficult6_.txt +++ b/test/yarp/snapshots/seattlerb/difficult6_.txt @@ -53,5 +53,5 @@ │ └── closing_loc: (22...23) = "]" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/difficult6__7.txt b/test/yarp/snapshots/seattlerb/difficult6__7.txt index 2827a5cb1f..b436d8249d 100644 --- a/test/yarp/snapshots/seattlerb/difficult6__7.txt +++ b/test/yarp/snapshots/seattlerb/difficult6__7.txt @@ -49,5 +49,5 @@ │ │ └── name: "c" │ ├── opening_loc: (8...9) = "{" │ └── closing_loc: (10...11) = "}" - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/difficult6__8.txt b/test/yarp/snapshots/seattlerb/difficult6__8.txt index efe82e6b6e..2c77bfb0e4 100644 --- a/test/yarp/snapshots/seattlerb/difficult6__8.txt +++ b/test/yarp/snapshots/seattlerb/difficult6__8.txt @@ -49,5 +49,5 @@ │ │ └── name: "c" │ ├── opening_loc: (9...10) = "{" │ └── closing_loc: (11...12) = "}" - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/difficult7_.txt b/test/yarp/snapshots/seattlerb/difficult7_.txt index 7d95285b85..495712243d 100644 --- a/test/yarp/snapshots/seattlerb/difficult7_.txt +++ b/test/yarp/snapshots/seattlerb/difficult7_.txt @@ -52,7 +52,7 @@ │ │ │ │ │ │ ├── arguments: ∅ │ │ │ │ │ │ ├── closing_loc: (34...35) = ")" │ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ │ ├── flags: + │ │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ │ └── name: "c" │ │ │ │ │ ├── consequent: │ │ │ │ │ │ @ ElseNode (location: (36...39)) @@ -74,7 +74,7 @@ │ │ │ │ │ └── end_keyword_loc: ∅ │ │ │ │ ├── opening_loc: (26...27) = "{" │ │ │ │ └── closing_loc: (40...41) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "lambda" │ │ └── operator_loc: ∅ │ └── @ AssocNode (location: (51...57)) diff --git a/test/yarp/snapshots/seattlerb/do_bug.txt b/test/yarp/snapshots/seattlerb/do_bug.txt index 8bdab4cffa..8da20af65d 100644 --- a/test/yarp/snapshots/seattlerb/do_bug.txt +++ b/test/yarp/snapshots/seattlerb/do_bug.txt @@ -15,7 +15,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (4...33)) ├── receiver: @@ -56,5 +56,5 @@ │ ├── body: ∅ │ ├── opening_loc: (8...10) = "do" │ └── closing_loc: (30...33) = "end" - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/dot2_nil__26.txt b/test/yarp/snapshots/seattlerb/dot2_nil__26.txt index 0d5706be91..68bb91068f 100644 --- a/test/yarp/snapshots/seattlerb/dot2_nil__26.txt +++ b/test/yarp/snapshots/seattlerb/dot2_nil__26.txt @@ -17,4 +17,4 @@ │ └── name: "a" ├── right: ∅ ├── operator_loc: (1...3) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/dstr_lex_state.txt b/test/yarp/snapshots/seattlerb/dstr_lex_state.txt index 21b7cb0117..2ced434569 100644 --- a/test/yarp/snapshots/seattlerb/dstr_lex_state.txt +++ b/test/yarp/snapshots/seattlerb/dstr_lex_state.txt @@ -26,7 +26,7 @@ │ │ │ └── unescaped: "a" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ └── closing_loc: (6...7) = "}" └── closing_loc: (7...8) = "\"" diff --git a/test/yarp/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt b/test/yarp/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt index c005cffb26..24b34f85f9 100644 --- a/test/yarp/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt +++ b/test/yarp/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt @@ -44,5 +44,5 @@ │ └── end_keyword_loc: (26...29) = "end" ├── closing_loc: (3...4) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/seattlerb/expr_not_bang.txt b/test/yarp/snapshots/seattlerb/expr_not_bang.txt index 9ff96c83d2..a768617332 100644 --- a/test/yarp/snapshots/seattlerb/expr_not_bang.txt +++ b/test/yarp/snapshots/seattlerb/expr_not_bang.txt @@ -25,7 +25,7 @@ │ │ └── name: "b" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── call_operator_loc: ∅ ├── message_loc: (0...1) = "!" @@ -33,5 +33,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/seattlerb/flip2_env_lvar.txt b/test/yarp/snapshots/seattlerb/flip2_env_lvar.txt index c6cb48f693..6edc5be929 100644 --- a/test/yarp/snapshots/seattlerb/flip2_env_lvar.txt +++ b/test/yarp/snapshots/seattlerb/flip2_env_lvar.txt @@ -30,7 +30,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── operator_loc: (4...6) = ".." - │ └── flags: + │ └── flags: ∅ ├── statements: ∅ ├── consequent: ∅ └── end_keyword_loc: (13...16) = "end" diff --git a/test/yarp/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt b/test/yarp/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt index ee57f65875..57762b4eae 100644 --- a/test/yarp/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt +++ b/test/yarp/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt @@ -54,10 +54,10 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "chop" │ ├── closing_loc: (19...20) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── operator_loc: (2...3) = "=" diff --git a/test/yarp/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt b/test/yarp/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt index ed21660c29..8d4c86d9e6 100644 --- a/test/yarp/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt +++ b/test/yarp/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt @@ -16,5 +16,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "strip" diff --git a/test/yarp/snapshots/seattlerb/if_symbol.txt b/test/yarp/snapshots/seattlerb/if_symbol.txt index b8686fd668..70ece14aab 100644 --- a/test/yarp/snapshots/seattlerb/if_symbol.txt +++ b/test/yarp/snapshots/seattlerb/if_symbol.txt @@ -21,7 +21,7 @@ │ │ └── unescaped: "x" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── statements: ∅ ├── consequent: ∅ diff --git a/test/yarp/snapshots/seattlerb/index_0.txt b/test/yarp/snapshots/seattlerb/index_0.txt index d03310c8bc..9830a9acb3 100644 --- a/test/yarp/snapshots/seattlerb/index_0.txt +++ b/test/yarp/snapshots/seattlerb/index_0.txt @@ -33,5 +33,5 @@ │ └── name: "b" ├── closing_loc: (2...3) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/seattlerb/index_0_opasgn.txt b/test/yarp/snapshots/seattlerb/index_0_opasgn.txt index 3c69be05b8..75cab3e36e 100644 --- a/test/yarp/snapshots/seattlerb/index_0_opasgn.txt +++ b/test/yarp/snapshots/seattlerb/index_0_opasgn.txt @@ -20,7 +20,7 @@ ├── opening_loc: (1...2) = "[" ├── arguments: ∅ ├── closing_loc: (2...3) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator: :+ diff --git a/test/yarp/snapshots/seattlerb/iter_args_1.txt b/test/yarp/snapshots/seattlerb/iter_args_1.txt index 9c3efc966a..15ef06ff1c 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_1.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (10...11) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_10_1.txt b/test/yarp/snapshots/seattlerb/iter_args_10_1.txt index 243a0c6fbf..c4198dbe6b 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_10_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_10_1.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (20...21) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_10_2.txt b/test/yarp/snapshots/seattlerb/iter_args_10_2.txt index 3df6af236b..72dc7dae80 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_10_2.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_10_2.txt @@ -47,5 +47,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (24...25) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_11_1.txt b/test/yarp/snapshots/seattlerb/iter_args_11_1.txt index 1b0489691f..50561dfb57 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_11_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_11_1.txt @@ -45,5 +45,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (23...24) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_11_2.txt b/test/yarp/snapshots/seattlerb/iter_args_11_2.txt index 7c4a8c483f..cee42eb8b1 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_11_2.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_11_2.txt @@ -49,5 +49,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (27...28) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_2__19.txt b/test/yarp/snapshots/seattlerb/iter_args_2__19.txt index 272b79db1a..c6430d5cc7 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_2__19.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_2__19.txt @@ -38,5 +38,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (13...14) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_3.txt b/test/yarp/snapshots/seattlerb/iter_args_3.txt index 12e9944cc0..a627db87a0 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_3.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_3.txt @@ -42,5 +42,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (19...20) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_4.txt b/test/yarp/snapshots/seattlerb/iter_args_4.txt index a884a6f803..7f59353809 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_4.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_4.txt @@ -38,5 +38,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (15...16) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_5.txt b/test/yarp/snapshots/seattlerb/iter_args_5.txt index 205ea25e35..1f5e0cc078 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_5.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_5.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_6.txt b/test/yarp/snapshots/seattlerb/iter_args_6.txt index a980cbce44..cfc67bce47 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_6.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_6.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_7_1.txt b/test/yarp/snapshots/seattlerb/iter_args_7_1.txt index 0acdb0b587..af982b9aac 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_7_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_7_1.txt @@ -41,5 +41,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (17...18) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_7_2.txt b/test/yarp/snapshots/seattlerb/iter_args_7_2.txt index 5f7c3a2beb..6c48dc92db 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_7_2.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_7_2.txt @@ -45,5 +45,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (21...22) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_8_1.txt b/test/yarp/snapshots/seattlerb/iter_args_8_1.txt index 78118d6373..beea3f085d 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_8_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_8_1.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (20...21) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_8_2.txt b/test/yarp/snapshots/seattlerb/iter_args_8_2.txt index 166eccb064..561cf42b49 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_8_2.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_8_2.txt @@ -47,5 +47,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (24...25) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_9_1.txt b/test/yarp/snapshots/seattlerb/iter_args_9_1.txt index 945aa84b2d..e598a29ee2 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_9_1.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_9_1.txt @@ -39,5 +39,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_args_9_2.txt b/test/yarp/snapshots/seattlerb/iter_args_9_2.txt index f9323b6a69..6a11730133 100644 --- a/test/yarp/snapshots/seattlerb/iter_args_9_2.txt +++ b/test/yarp/snapshots/seattlerb/iter_args_9_2.txt @@ -43,5 +43,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (20...21) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/iter_kwarg.txt b/test/yarp/snapshots/seattlerb/iter_kwarg.txt index d65ee0df31..d1903f4cd3 100644 --- a/test/yarp/snapshots/seattlerb/iter_kwarg.txt +++ b/test/yarp/snapshots/seattlerb/iter_kwarg.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (11...12) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/iter_kwarg_kwsplat.txt b/test/yarp/snapshots/seattlerb/iter_kwarg_kwsplat.txt index e2b4d8f714..22b29fe585 100644 --- a/test/yarp/snapshots/seattlerb/iter_kwarg_kwsplat.txt +++ b/test/yarp/snapshots/seattlerb/iter_kwarg_kwsplat.txt @@ -40,5 +40,5 @@ │ ├── body: ∅ │ ├── opening_loc: (2...3) = "{" │ └── closing_loc: (16...17) = "}" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/label_vs_string.txt b/test/yarp/snapshots/seattlerb/label_vs_string.txt index b6ef9d6df4..ff11a79b3b 100644 --- a/test/yarp/snapshots/seattlerb/label_vs_string.txt +++ b/test/yarp/snapshots/seattlerb/label_vs_string.txt @@ -28,5 +28,5 @@ │ └── unescaped: ":\n" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "<<" diff --git a/test/yarp/snapshots/seattlerb/lambda_do_vs_brace.txt b/test/yarp/snapshots/seattlerb/lambda_do_vs_brace.txt index cb44c27f04..d9ccd1629e 100644 --- a/test/yarp/snapshots/seattlerb/lambda_do_vs_brace.txt +++ b/test/yarp/snapshots/seattlerb/lambda_do_vs_brace.txt @@ -20,7 +20,7 @@ │ │ └── body: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (13...20)) │ ├── receiver: ∅ @@ -39,7 +39,7 @@ │ │ └── body: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (22...35)) │ ├── receiver: ∅ @@ -63,7 +63,7 @@ │ │ └── body: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" └── @ CallNode (location: (37...46)) ├── receiver: ∅ @@ -87,5 +87,5 @@ │ └── body: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt b/test/yarp/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt index c689818b07..a6d3fc793a 100644 --- a/test/yarp/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt +++ b/test/yarp/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt @@ -22,7 +22,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (7...8) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── keyword_loc: (9...15) = "rescue" │ └── rescue_expression: diff --git a/test/yarp/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt b/test/yarp/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt index 2b5913f868..3dfe67d978 100644 --- a/test/yarp/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt +++ b/test/yarp/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt @@ -26,6 +26,6 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" └── operator_loc: (2...3) = "=" diff --git a/test/yarp/snapshots/seattlerb/lasgn_command.txt b/test/yarp/snapshots/seattlerb/lasgn_command.txt index 7a1e35d1d4..ac5916758d 100644 --- a/test/yarp/snapshots/seattlerb/lasgn_command.txt +++ b/test/yarp/snapshots/seattlerb/lasgn_command.txt @@ -30,6 +30,6 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "c" └── operator_loc: (2...3) = "=" diff --git a/test/yarp/snapshots/seattlerb/lasgn_lasgn_command_call.txt b/test/yarp/snapshots/seattlerb/lasgn_lasgn_command_call.txt index abd0a7c4d5..733ca661bc 100644 --- a/test/yarp/snapshots/seattlerb/lasgn_lasgn_command_call.txt +++ b/test/yarp/snapshots/seattlerb/lasgn_lasgn_command_call.txt @@ -25,7 +25,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ └── operator_loc: (6...7) = "=" └── operator_loc: (2...3) = "=" diff --git a/test/yarp/snapshots/seattlerb/masgn_arg_colon_arg.txt b/test/yarp/snapshots/seattlerb/masgn_arg_colon_arg.txt index 60d726e5d8..ebc379b5c1 100644 --- a/test/yarp/snapshots/seattlerb/masgn_arg_colon_arg.txt +++ b/test/yarp/snapshots/seattlerb/masgn_arg_colon_arg.txt @@ -26,7 +26,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "c=" ├── lparen_loc: ∅ ├── rparen_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/masgn_arg_ident.txt b/test/yarp/snapshots/seattlerb/masgn_arg_ident.txt index 889f687616..7b9fc99bbe 100644 --- a/test/yarp/snapshots/seattlerb/masgn_arg_ident.txt +++ b/test/yarp/snapshots/seattlerb/masgn_arg_ident.txt @@ -26,7 +26,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "C=" ├── lparen_loc: ∅ ├── rparen_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/masgn_command_call.txt b/test/yarp/snapshots/seattlerb/masgn_command_call.txt index 7f25688442..0f48f413ab 100644 --- a/test/yarp/snapshots/seattlerb/masgn_command_call.txt +++ b/test/yarp/snapshots/seattlerb/masgn_command_call.txt @@ -37,5 +37,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/masgn_paren.txt b/test/yarp/snapshots/seattlerb/masgn_paren.txt index 1e4b7e5c48..eb32d4a15f 100644 --- a/test/yarp/snapshots/seattlerb/masgn_paren.txt +++ b/test/yarp/snapshots/seattlerb/masgn_paren.txt @@ -33,5 +33,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "d" diff --git a/test/yarp/snapshots/seattlerb/messy_op_asgn_lineno.txt b/test/yarp/snapshots/seattlerb/messy_op_asgn_lineno.txt index dbe85e26c0..876a120718 100644 --- a/test/yarp/snapshots/seattlerb/messy_op_asgn_lineno.txt +++ b/test/yarp/snapshots/seattlerb/messy_op_asgn_lineno.txt @@ -47,12 +47,12 @@ │ │ │ │ └── name: "e" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "d" │ │ └── operator: :* │ ├── opening_loc: (2...3) = "(" │ └── closing_loc: (14...15) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/method_call_assoc_trailing_comma.txt b/test/yarp/snapshots/seattlerb/method_call_assoc_trailing_comma.txt index 090aca2a62..05d0e2a153 100644 --- a/test/yarp/snapshots/seattlerb/method_call_assoc_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/method_call_assoc_trailing_comma.txt @@ -33,5 +33,5 @@ │ └── operator_loc: (5...7) = "=>" ├── closing_loc: (9...10) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/method_call_trailing_comma.txt b/test/yarp/snapshots/seattlerb/method_call_trailing_comma.txt index 78590a600a..f34e041064 100644 --- a/test/yarp/snapshots/seattlerb/method_call_trailing_comma.txt +++ b/test/yarp/snapshots/seattlerb/method_call_trailing_comma.txt @@ -25,5 +25,5 @@ │ └── flags: decimal ├── closing_loc: (6...7) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/mlhs_keyword.txt b/test/yarp/snapshots/seattlerb/mlhs_keyword.txt index 1b92ceb831..4bc78baf8a 100644 --- a/test/yarp/snapshots/seattlerb/mlhs_keyword.txt +++ b/test/yarp/snapshots/seattlerb/mlhs_keyword.txt @@ -25,5 +25,5 @@ │ └── @ TrueNode (location: (11...15)) ├── closing_loc: (15...16) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!=" diff --git a/test/yarp/snapshots/seattlerb/multiline_hash_declaration.txt b/test/yarp/snapshots/seattlerb/multiline_hash_declaration.txt index c4627472b0..a6f9f628ab 100644 --- a/test/yarp/snapshots/seattlerb/multiline_hash_declaration.txt +++ b/test/yarp/snapshots/seattlerb/multiline_hash_declaration.txt @@ -28,7 +28,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (13...14) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (16...29)) │ ├── receiver: ∅ @@ -55,7 +55,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (28...29) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" └── @ CallNode (location: (31...43)) ├── receiver: ∅ @@ -82,5 +82,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (42...43) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/op_asgn_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_command_call.txt index 46dcf0a727..b713bb4034 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_command_call.txt @@ -29,7 +29,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "c" ├── name: :a └── depth: 0 diff --git a/test/yarp/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt index e544c40f3c..fee8c22313 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt @@ -12,7 +12,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "B" ├── write_name: "B=" ├── operator_loc: (4...7) = "||=" @@ -29,5 +29,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/op_asgn_index_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_index_command_call.txt index a6b34742d5..4ab83152ee 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_index_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_index_command_call.txt @@ -27,7 +27,7 @@ │ ├── closing_loc: ∅ │ └── unescaped: "b" ├── closing_loc: (4...5) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator_loc: (6...9) = "||=" @@ -46,5 +46,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt index e1aa27f08d..ee01e6f965 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt @@ -35,6 +35,6 @@ │ │ └── name: "d" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "c" └── operator: :* diff --git a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier1.txt b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier1.txt index 39729e6742..046828d62f 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier1.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier1.txt @@ -12,7 +12,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "b" ├── write_name: "b=" ├── operator: :+ diff --git a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt index f96f0afff6..d8c017e0d9 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt @@ -12,7 +12,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "b" ├── write_name: "b=" ├── operator: :* @@ -38,5 +38,5 @@ │ └── name: "d" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt b/test/yarp/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt index 12d589bd1d..a8bf8e699d 100644 --- a/test/yarp/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt +++ b/test/yarp/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt @@ -20,7 +20,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "b" ├── write_name: "b=" ├── operator_loc: (4...7) = "||=" @@ -37,5 +37,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "c" diff --git a/test/yarp/snapshots/seattlerb/parse_if_not_canonical.txt b/test/yarp/snapshots/seattlerb/parse_if_not_canonical.txt index 7e36bfdede..088803acae 100644 --- a/test/yarp/snapshots/seattlerb/parse_if_not_canonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_if_not_canonical.txt @@ -26,7 +26,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (3...6) = "not" @@ -34,7 +34,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) diff --git a/test/yarp/snapshots/seattlerb/parse_if_not_noncanonical.txt b/test/yarp/snapshots/seattlerb/parse_if_not_noncanonical.txt index 7e36bfdede..088803acae 100644 --- a/test/yarp/snapshots/seattlerb/parse_if_not_noncanonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_if_not_noncanonical.txt @@ -26,7 +26,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (3...6) = "not" @@ -34,7 +34,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) diff --git a/test/yarp/snapshots/seattlerb/parse_line_block.txt b/test/yarp/snapshots/seattlerb/parse_line_block.txt index eab94e24dc..e9c385ce30 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_block.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_block.txt @@ -24,5 +24,5 @@ │ └── depth: 0 ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt b/test/yarp/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt index fdcedcb306..9aca595796 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt @@ -15,5 +15,5 @@ │ └── name: :@b ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt b/test/yarp/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt index 882e039dbc..00347e2627 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt @@ -15,5 +15,5 @@ │ └── name: :@b ├── closing_loc: (5...6) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/parse_line_call_no_args.txt b/test/yarp/snapshots/seattlerb/parse_line_call_no_args.txt index 7082af0271..25f38fdea9 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_call_no_args.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_call_no_args.txt @@ -50,9 +50,9 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── opening_loc: (2...4) = "do" │ └── closing_loc: (20...23) = "end" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/parse_line_defn_complex.txt b/test/yarp/snapshots/seattlerb/parse_line_defn_complex.txt index c9fbf7ca7f..a8fea752d4 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_defn_complex.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_defn_complex.txt @@ -34,7 +34,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: (14...15) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ ├── @ LocalVariableOperatorWriteNode (location: (18...24)) │ │ ├── name_loc: (18...19) = "y" diff --git a/test/yarp/snapshots/seattlerb/parse_line_dot2.txt b/test/yarp/snapshots/seattlerb/parse_line_dot2.txt index 19b66ea7fd..50b956a765 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_dot2.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_dot2.txt @@ -11,7 +11,7 @@ │ │ @ IntegerNode (location: (4...5)) │ │ └── flags: decimal │ ├── operator_loc: (1...3) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ RangeNode (location: (6...11)) │ ├── left: │ │ @ CallNode (location: (6...7)) @@ -36,7 +36,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── operator_loc: (7...9) = ".." - │ └── flags: + │ └── flags: ∅ └── @ CallNode (location: (12...13)) ├── receiver: ∅ ├── call_operator_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/parse_line_dot2_open.txt b/test/yarp/snapshots/seattlerb/parse_line_dot2_open.txt index 3f64918f21..6a292a4acd 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_dot2_open.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_dot2_open.txt @@ -9,7 +9,7 @@ │ │ └── flags: decimal │ ├── right: ∅ │ ├── operator_loc: (1...3) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ RangeNode (location: (6...9)) │ ├── left: │ │ @ CallNode (location: (6...7)) @@ -24,7 +24,7 @@ │ │ └── name: "a" │ ├── right: ∅ │ ├── operator_loc: (7...9) = ".." - │ └── flags: + │ └── flags: ∅ └── @ CallNode (location: (12...13)) ├── receiver: ∅ ├── call_operator_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/parse_line_heredoc.txt b/test/yarp/snapshots/seattlerb/parse_line_heredoc.txt index 4b2a57e38d..0c1bf27e9e 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_heredoc.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_heredoc.txt @@ -21,7 +21,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "strip" │ └── operator_loc: (13...14) = "=" └── @ CallNode (location: (77...88)) @@ -37,5 +37,5 @@ │ └── depth: 0 ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "puts" diff --git a/test/yarp/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt b/test/yarp/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt index 44c178e098..f2921e4f72 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt @@ -27,5 +27,5 @@ │ └── depth: 0 ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "puts" diff --git a/test/yarp/snapshots/seattlerb/parse_line_iter_call_no_parens.txt b/test/yarp/snapshots/seattlerb/parse_line_iter_call_no_parens.txt index 6fadb22f9a..f12bc39338 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_iter_call_no_parens.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_iter_call_no_parens.txt @@ -62,9 +62,9 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (22...25) = "end" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/parse_line_iter_call_parens.txt b/test/yarp/snapshots/seattlerb/parse_line_iter_call_parens.txt index e45fae65d2..b9d96554ce 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_iter_call_parens.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_iter_call_parens.txt @@ -62,9 +62,9 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── opening_loc: (5...7) = "do" │ └── closing_loc: (23...26) = "end" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/seattlerb/parse_line_str_with_newline_escape.txt b/test/yarp/snapshots/seattlerb/parse_line_str_with_newline_escape.txt index a5fbdd4ca5..fc7327b3ad 100644 --- a/test/yarp/snapshots/seattlerb/parse_line_str_with_newline_escape.txt +++ b/test/yarp/snapshots/seattlerb/parse_line_str_with_newline_escape.txt @@ -19,5 +19,5 @@ │ └── @ TrueNode (location: (8...12)) ├── closing_loc: (12...13) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt b/test/yarp/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt index 89d0a64166..f756b0a275 100644 --- a/test/yarp/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt +++ b/test/yarp/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt @@ -25,5 +25,5 @@ │ └── operator_loc: (3...5) = "=>" ├── closing_loc: (7...8) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt b/test/yarp/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt index 4976c680ee..e65901c63b 100644 --- a/test/yarp/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt +++ b/test/yarp/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt @@ -17,5 +17,5 @@ │ └── flags: decimal ├── closing_loc: (4...5) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/seattlerb/parse_pattern_019.txt b/test/yarp/snapshots/seattlerb/parse_pattern_019.txt index 9cfdd6f5d1..9f5bba5b25 100644 --- a/test/yarp/snapshots/seattlerb/parse_pattern_019.txt +++ b/test/yarp/snapshots/seattlerb/parse_pattern_019.txt @@ -18,7 +18,7 @@ │ │ │ @ IntegerNode (location: (14...15)) │ │ │ └── flags: decimal │ │ ├── operator_loc: (12...14) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (18...22)) │ │ └── body: (length: 1) diff --git a/test/yarp/snapshots/seattlerb/parse_until_not_canonical.txt b/test/yarp/snapshots/seattlerb/parse_until_not_canonical.txt index c3338a6fef..60538b473b 100644 --- a/test/yarp/snapshots/seattlerb/parse_until_not_canonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_until_not_canonical.txt @@ -27,7 +27,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (6...9) = "not" @@ -35,7 +35,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) @@ -45,4 +45,4 @@ │ ├── content_loc: (22...25) = "foo" │ ├── closing_loc: (25...26) = "'" │ └── unescaped: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/parse_until_not_noncanonical.txt b/test/yarp/snapshots/seattlerb/parse_until_not_noncanonical.txt index c3338a6fef..60538b473b 100644 --- a/test/yarp/snapshots/seattlerb/parse_until_not_noncanonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_until_not_noncanonical.txt @@ -27,7 +27,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (6...9) = "not" @@ -35,7 +35,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) @@ -45,4 +45,4 @@ │ ├── content_loc: (22...25) = "foo" │ ├── closing_loc: (25...26) = "'" │ └── unescaped: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/parse_while_not_canonical.txt b/test/yarp/snapshots/seattlerb/parse_while_not_canonical.txt index 2e893c7134..5023501f34 100644 --- a/test/yarp/snapshots/seattlerb/parse_while_not_canonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_while_not_canonical.txt @@ -27,7 +27,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (6...9) = "not" @@ -35,7 +35,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) @@ -45,4 +45,4 @@ │ ├── content_loc: (22...25) = "foo" │ ├── closing_loc: (25...26) = "'" │ └── unescaped: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/parse_while_not_noncanonical.txt b/test/yarp/snapshots/seattlerb/parse_while_not_noncanonical.txt index 2e893c7134..5023501f34 100644 --- a/test/yarp/snapshots/seattlerb/parse_while_not_noncanonical.txt +++ b/test/yarp/snapshots/seattlerb/parse_while_not_noncanonical.txt @@ -27,7 +27,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "nil?" │ ├── call_operator_loc: ∅ │ ├── message_loc: (6...9) = "not" @@ -35,7 +35,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: │ @ StatementsNode (location: (21...26)) @@ -45,4 +45,4 @@ │ ├── content_loc: (22...25) = "foo" │ ├── closing_loc: (25...26) = "'" │ └── unescaped: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/pipe_semicolon.txt b/test/yarp/snapshots/seattlerb/pipe_semicolon.txt index 58a6928af4..bb9420be5e 100644 --- a/test/yarp/snapshots/seattlerb/pipe_semicolon.txt +++ b/test/yarp/snapshots/seattlerb/pipe_semicolon.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (15...18) = "end" - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/pipe_space.txt b/test/yarp/snapshots/seattlerb/pipe_space.txt index 0bd5d833aa..cbf654b4df 100644 --- a/test/yarp/snapshots/seattlerb/pipe_space.txt +++ b/test/yarp/snapshots/seattlerb/pipe_space.txt @@ -32,5 +32,5 @@ │ ├── body: ∅ │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (11...14) = "end" - ├── flags: + ├── flags: ∅ └── name: "b" diff --git a/test/yarp/snapshots/seattlerb/qsymbols_interp.txt b/test/yarp/snapshots/seattlerb/qsymbols_interp.txt index 28cffabb47..7b5c4bbdd0 100644 --- a/test/yarp/snapshots/seattlerb/qsymbols_interp.txt +++ b/test/yarp/snapshots/seattlerb/qsymbols_interp.txt @@ -37,7 +37,7 @@ │ │ │ │ │ └── flags: decimal │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "+" │ │ │ └── closing_loc: (11...12) = "}" │ │ └── closing_loc: ∅ diff --git a/test/yarp/snapshots/seattlerb/quoted_symbol_hash_arg.txt b/test/yarp/snapshots/seattlerb/quoted_symbol_hash_arg.txt index 13f0c81919..b4aca9a642 100644 --- a/test/yarp/snapshots/seattlerb/quoted_symbol_hash_arg.txt +++ b/test/yarp/snapshots/seattlerb/quoted_symbol_hash_arg.txt @@ -28,5 +28,5 @@ │ └── operator_loc: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "puts" diff --git a/test/yarp/snapshots/seattlerb/regexp.txt b/test/yarp/snapshots/seattlerb/regexp.txt index ded3b2972f..5c81923188 100644 --- a/test/yarp/snapshots/seattlerb/regexp.txt +++ b/test/yarp/snapshots/seattlerb/regexp.txt @@ -8,7 +8,7 @@ │ ├── content_loc: (1...4) = "wtf" │ ├── closing_loc: (4...5) = "/" │ ├── unescaped: "wtf" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (7...13)) │ ├── opening_loc: (7...8) = "/" │ ├── content_loc: (8...11) = "wtf" diff --git a/test/yarp/snapshots/seattlerb/regexp_esc_C_slash.txt b/test/yarp/snapshots/seattlerb/regexp_esc_C_slash.txt index 3f08f5b6dd..0dea77a522 100644 --- a/test/yarp/snapshots/seattlerb/regexp_esc_C_slash.txt +++ b/test/yarp/snapshots/seattlerb/regexp_esc_C_slash.txt @@ -8,4 +8,4 @@ ├── content_loc: (1...6) = "\\cC\\d" ├── closing_loc: (6...7) = "/" ├── unescaped: "\u0003d" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/regexp_esc_u.txt b/test/yarp/snapshots/seattlerb/regexp_esc_u.txt index 39ffbe16ab..469102389a 100644 --- a/test/yarp/snapshots/seattlerb/regexp_esc_u.txt +++ b/test/yarp/snapshots/seattlerb/regexp_esc_u.txt @@ -8,4 +8,4 @@ ├── content_loc: (1...16) = "[\\u0021-\\u0027]" ├── closing_loc: (16...17) = "/" ├── unescaped: "[!-']" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/regexp_escape_extended.txt b/test/yarp/snapshots/seattlerb/regexp_escape_extended.txt index 0d320cbe10..ceaaa99b20 100644 --- a/test/yarp/snapshots/seattlerb/regexp_escape_extended.txt +++ b/test/yarp/snapshots/seattlerb/regexp_escape_extended.txt @@ -8,4 +8,4 @@ ├── content_loc: (1...5) = "\\“" ├── closing_loc: (5...6) = "/" ├── unescaped: "“" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/regexp_unicode_curlies.txt b/test/yarp/snapshots/seattlerb/regexp_unicode_curlies.txt index 9ed4847f7f..e737533c1e 100644 --- a/test/yarp/snapshots/seattlerb/regexp_unicode_curlies.txt +++ b/test/yarp/snapshots/seattlerb/regexp_unicode_curlies.txt @@ -8,10 +8,10 @@ │ ├── content_loc: (1...14) = "\\u{c0de babe}" │ ├── closing_loc: (14...15) = "/" │ ├── unescaped: "샞몾" - │ └── flags: + │ └── flags: ∅ └── @ RegularExpressionNode (location: (17...25)) ├── opening_loc: (17...18) = "/" ├── content_loc: (18...24) = "\\u{df}" ├── closing_loc: (24...25) = "/" ├── unescaped: "ß" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/seattlerb/rescue_do_end_ensure_result.txt b/test/yarp/snapshots/seattlerb/rescue_do_end_ensure_result.txt index 8632544ec7..3adabcda3a 100644 --- a/test/yarp/snapshots/seattlerb/rescue_do_end_ensure_result.txt +++ b/test/yarp/snapshots/seattlerb/rescue_do_end_ensure_result.txt @@ -44,7 +44,7 @@ │ │ │ └── end_keyword_loc: (34...37) = "end" │ │ ├── opening_loc: (5...7) = "do" │ │ └── closing_loc: (34...37) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "proc" ├── call_operator_loc: (37...38) = "." ├── message_loc: (38...42) = "call" @@ -52,5 +52,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "call" diff --git a/test/yarp/snapshots/seattlerb/rescue_do_end_no_raise.txt b/test/yarp/snapshots/seattlerb/rescue_do_end_no_raise.txt index 94a8df8a6f..ea94b2d1c3 100644 --- a/test/yarp/snapshots/seattlerb/rescue_do_end_no_raise.txt +++ b/test/yarp/snapshots/seattlerb/rescue_do_end_no_raise.txt @@ -67,5 +67,5 @@ │ │ └── end_keyword_loc: (63...66) = "end" │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (63...66) = "end" - ├── flags: + ├── flags: ∅ └── name: "tap" diff --git a/test/yarp/snapshots/seattlerb/rescue_do_end_raised.txt b/test/yarp/snapshots/seattlerb/rescue_do_end_raised.txt index 10188799fa..dd7d4c28b1 100644 --- a/test/yarp/snapshots/seattlerb/rescue_do_end_raised.txt +++ b/test/yarp/snapshots/seattlerb/rescue_do_end_raised.txt @@ -47,5 +47,5 @@ │ │ └── end_keyword_loc: (32...35) = "end" │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (32...35) = "end" - ├── flags: + ├── flags: ∅ └── name: "tap" diff --git a/test/yarp/snapshots/seattlerb/rescue_do_end_rescued.txt b/test/yarp/snapshots/seattlerb/rescue_do_end_rescued.txt index 9868698cf2..a223f13225 100644 --- a/test/yarp/snapshots/seattlerb/rescue_do_end_rescued.txt +++ b/test/yarp/snapshots/seattlerb/rescue_do_end_rescued.txt @@ -72,5 +72,5 @@ │ │ └── end_keyword_loc: (62...65) = "end" │ ├── opening_loc: (4...6) = "do" │ └── closing_loc: (62...65) = "end" - ├── flags: + ├── flags: ∅ └── name: "tap" diff --git a/test/yarp/snapshots/seattlerb/rescue_in_block.txt b/test/yarp/snapshots/seattlerb/rescue_in_block.txt index 58cc6cc67e..262a21ad46 100644 --- a/test/yarp/snapshots/seattlerb/rescue_in_block.txt +++ b/test/yarp/snapshots/seattlerb/rescue_in_block.txt @@ -43,5 +43,5 @@ │ │ └── end_keyword_loc: (23...26) = "end" │ ├── opening_loc: (5...7) = "do" │ └── closing_loc: (23...26) = "end" - ├── flags: + ├── flags: ∅ └── name: "blah" diff --git a/test/yarp/snapshots/seattlerb/rescue_parens.txt b/test/yarp/snapshots/seattlerb/rescue_parens.txt index c54d3420aa..4c4c5da6f8 100644 --- a/test/yarp/snapshots/seattlerb/rescue_parens.txt +++ b/test/yarp/snapshots/seattlerb/rescue_parens.txt @@ -43,5 +43,5 @@ │ └── closing_loc: (13...14) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/seattlerb/return_call_assocs.txt b/test/yarp/snapshots/seattlerb/return_call_assocs.txt index 967dba7715..983001a470 100644 --- a/test/yarp/snapshots/seattlerb/return_call_assocs.txt +++ b/test/yarp/snapshots/seattlerb/return_call_assocs.txt @@ -82,7 +82,7 @@ │ │ └── operator_loc: (58...60) = "=>" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "y" ├── @ ReturnNode (location: (63...75)) │ ├── keyword_loc: (63...69) = "return" @@ -112,7 +112,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "y" ├── @ ReturnNode (location: (77...90)) │ ├── keyword_loc: (77...83) = "return" @@ -142,7 +142,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (89...90) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "y" └── @ ReturnNode (location: (92...106)) ├── keyword_loc: (92...98) = "return" @@ -177,5 +177,5 @@ │ └── operator_loc: (102...104) = "=>" ├── closing_loc: (105...106) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "y" diff --git a/test/yarp/snapshots/seattlerb/safe_op_asgn.txt b/test/yarp/snapshots/seattlerb/safe_op_asgn.txt index 945e0de056..256b491802 100644 --- a/test/yarp/snapshots/seattlerb/safe_op_asgn.txt +++ b/test/yarp/snapshots/seattlerb/safe_op_asgn.txt @@ -38,5 +38,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/slashy_newlines_within_string.txt b/test/yarp/snapshots/seattlerb/slashy_newlines_within_string.txt index a158c983b9..577a8c9236 100644 --- a/test/yarp/snapshots/seattlerb/slashy_newlines_within_string.txt +++ b/test/yarp/snapshots/seattlerb/slashy_newlines_within_string.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "hello my dear friend" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "puts" └── @ CallNode (location: (35...40)) ├── receiver: @@ -50,5 +50,5 @@ │ └── name: "b" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "+" diff --git a/test/yarp/snapshots/seattlerb/stabby_block_iter_call.txt b/test/yarp/snapshots/seattlerb/stabby_block_iter_call.txt index a9ac1f2778..caf9b64886 100644 --- a/test/yarp/snapshots/seattlerb/stabby_block_iter_call.txt +++ b/test/yarp/snapshots/seattlerb/stabby_block_iter_call.txt @@ -49,9 +49,9 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (15...17) = "do" │ │ └── closing_loc: (18...21) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt b/test/yarp/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt index 00763845c7..bb8b600630 100644 --- a/test/yarp/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt +++ b/test/yarp/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt @@ -43,9 +43,9 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (16...18) = "do" │ │ └── closing_loc: (19...22) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/str_backslashes.txt b/test/yarp/snapshots/seattlerb/str_backslashes.txt index e394f85bca..626c34b9f9 100644 --- a/test/yarp/snapshots/seattlerb/str_backslashes.txt +++ b/test/yarp/snapshots/seattlerb/str_backslashes.txt @@ -18,5 +18,5 @@ │ └── unescaped: "\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "x" diff --git a/test/yarp/snapshots/seattlerb/str_double_double_escaped_newline.txt b/test/yarp/snapshots/seattlerb/str_double_double_escaped_newline.txt index 3692663d4b..ad757d4360 100644 --- a/test/yarp/snapshots/seattlerb/str_double_double_escaped_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_double_double_escaped_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (8...9)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/str_double_escaped_newline.txt b/test/yarp/snapshots/seattlerb/str_double_escaped_newline.txt index 12ae475914..cd00c529f7 100644 --- a/test/yarp/snapshots/seattlerb/str_double_escaped_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_double_escaped_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (7...8)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/str_double_newline.txt b/test/yarp/snapshots/seattlerb/str_double_newline.txt index 3f33e719f2..1226217489 100644 --- a/test/yarp/snapshots/seattlerb/str_double_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_double_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (6...7)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/str_interp_ternary_or_label.txt b/test/yarp/snapshots/seattlerb/str_interp_ternary_or_label.txt index 997996ccc0..effabbb84e 100644 --- a/test/yarp/snapshots/seattlerb/str_interp_ternary_or_label.txt +++ b/test/yarp/snapshots/seattlerb/str_interp_ternary_or_label.txt @@ -32,7 +32,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b?" │ │ ├── statements: │ │ │ @ StatementsNode (location: (10...17)) @@ -64,7 +64,7 @@ │ │ │ │ │ └── name: "a" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "+" │ │ │ ├── call_operator_loc: ∅ │ │ │ ├── message_loc: (14...15) = "+" @@ -79,7 +79,7 @@ │ │ │ │ └── unescaped: "" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── consequent: │ │ │ @ ElseNode (location: (17...21)) diff --git a/test/yarp/snapshots/seattlerb/str_single_double_escaped_newline.txt b/test/yarp/snapshots/seattlerb/str_single_double_escaped_newline.txt index 3a899e072a..ab931ea549 100644 --- a/test/yarp/snapshots/seattlerb/str_single_double_escaped_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_single_double_escaped_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (8...9)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/str_single_escaped_newline.txt b/test/yarp/snapshots/seattlerb/str_single_escaped_newline.txt index 49b8315856..64974652fd 100644 --- a/test/yarp/snapshots/seattlerb/str_single_escaped_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_single_escaped_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (7...8)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/str_single_newline.txt b/test/yarp/snapshots/seattlerb/str_single_newline.txt index a8db423693..5409e11b99 100644 --- a/test/yarp/snapshots/seattlerb/str_single_newline.txt +++ b/test/yarp/snapshots/seattlerb/str_single_newline.txt @@ -18,7 +18,7 @@ │ │ └── unescaped: "\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (6...7)) ├── receiver: ∅ diff --git a/test/yarp/snapshots/seattlerb/thingy.txt b/test/yarp/snapshots/seattlerb/thingy.txt index b64953c7a9..87605ba447 100644 --- a/test/yarp/snapshots/seattlerb/thingy.txt +++ b/test/yarp/snapshots/seattlerb/thingy.txt @@ -25,7 +25,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (5...6) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "call" └── @ CallNode (location: (8...15)) ├── receiver: @@ -49,5 +49,5 @@ │ └── flags: decimal ├── closing_loc: (14...15) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "call" diff --git a/test/yarp/snapshots/seattlerb/unary_minus.txt b/test/yarp/snapshots/seattlerb/unary_minus.txt index 1be09f754e..606ec3852e 100644 --- a/test/yarp/snapshots/seattlerb/unary_minus.txt +++ b/test/yarp/snapshots/seattlerb/unary_minus.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "-@" diff --git a/test/yarp/snapshots/seattlerb/unary_plus.txt b/test/yarp/snapshots/seattlerb/unary_plus.txt index 7452abcb4f..4b71d28f5a 100644 --- a/test/yarp/snapshots/seattlerb/unary_plus.txt +++ b/test/yarp/snapshots/seattlerb/unary_plus.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "+@" diff --git a/test/yarp/snapshots/seattlerb/unary_plus_on_literal.txt b/test/yarp/snapshots/seattlerb/unary_plus_on_literal.txt index e467fcded7..a94837e41a 100644 --- a/test/yarp/snapshots/seattlerb/unary_plus_on_literal.txt +++ b/test/yarp/snapshots/seattlerb/unary_plus_on_literal.txt @@ -16,5 +16,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "+@" diff --git a/test/yarp/snapshots/seattlerb/unary_tilde.txt b/test/yarp/snapshots/seattlerb/unary_tilde.txt index 4cbe0ba9d3..90315af481 100644 --- a/test/yarp/snapshots/seattlerb/unary_tilde.txt +++ b/test/yarp/snapshots/seattlerb/unary_tilde.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "~" diff --git a/test/yarp/snapshots/seattlerb/utf8_bom.txt b/test/yarp/snapshots/seattlerb/utf8_bom.txt index ca8fc1cd8f..8dfd3fbf77 100644 --- a/test/yarp/snapshots/seattlerb/utf8_bom.txt +++ b/test/yarp/snapshots/seattlerb/utf8_bom.txt @@ -15,5 +15,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/seattlerb/yield_call_assocs.txt b/test/yarp/snapshots/seattlerb/yield_call_assocs.txt index 23cad66ba0..626b13775a 100644 --- a/test/yarp/snapshots/seattlerb/yield_call_assocs.txt +++ b/test/yarp/snapshots/seattlerb/yield_call_assocs.txt @@ -87,7 +87,7 @@ │ │ │ └── operator_loc: (55...57) = "=>" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "y" │ └── rparen_loc: ∅ ├── @ YieldNode (location: (60...71)) @@ -119,7 +119,7 @@ │ │ │ └── operator_loc: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "y" │ └── rparen_loc: ∅ ├── @ YieldNode (location: (73...85)) @@ -151,7 +151,7 @@ │ │ │ └── operator_loc: ∅ │ │ ├── closing_loc: (84...85) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "y" │ └── rparen_loc: ∅ └── @ YieldNode (location: (87...100)) @@ -188,6 +188,6 @@ │ │ └── operator_loc: (96...98) = "=>" │ ├── closing_loc: (99...100) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "y" └── rparen_loc: ∅ diff --git a/test/yarp/snapshots/spanning_heredoc.txt b/test/yarp/snapshots/spanning_heredoc.txt index edea4efb51..69b9925af4 100644 --- a/test/yarp/snapshots/spanning_heredoc.txt +++ b/test/yarp/snapshots/spanning_heredoc.txt @@ -38,7 +38,7 @@ │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ └── unescaped: "b" │ │ │ │ ├── closing_loc: (186...187) = "/" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ └── @ StringNode (location: (189...191)) │ │ │ ├── opening_loc: (189...190) = "\"" │ │ │ ├── content_loc: (190...190) = "" @@ -46,11 +46,11 @@ │ │ │ └── unescaped: "" │ │ ├── closing_loc: (191...192) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "gsub" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (276...295)) │ ├── receiver: ∅ @@ -81,7 +81,7 @@ │ │ └── closing_loc: (294...295) = "\"" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (322...343)) │ ├── receiver: ∅ @@ -112,7 +112,7 @@ │ │ └── closing_loc: (342...343) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (427...448)) │ ├── receiver: ∅ @@ -143,7 +143,7 @@ │ │ └── closing_loc: (447...448) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (520...541)) │ ├── receiver: ∅ @@ -174,7 +174,7 @@ │ │ └── closing_loc: (540...541) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (688...709)) │ ├── receiver: ∅ @@ -209,7 +209,7 @@ │ │ └── closing_loc: (708...709) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" ├── @ CallNode (location: (781...802)) │ ├── receiver: ∅ @@ -240,7 +240,7 @@ │ │ └── closing_loc: (801...802) = "]" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "pp" └── @ CallNode (location: (943...964)) ├── receiver: ∅ @@ -275,5 +275,5 @@ │ └── closing_loc: (963...964) = "]" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "pp" diff --git a/test/yarp/snapshots/strings.txt b/test/yarp/snapshots/strings.txt index 25825b6715..f59168e485 100644 --- a/test/yarp/snapshots/strings.txt +++ b/test/yarp/snapshots/strings.txt @@ -146,7 +146,7 @@ │ │ └── unescaped: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ StringNode (location: (186...193)) │ ├── opening_loc: (186...189) = "%q{" diff --git a/test/yarp/snapshots/ternary_operator.txt b/test/yarp/snapshots/ternary_operator.txt index bc7d8556e1..2a55373511 100644 --- a/test/yarp/snapshots/ternary_operator.txt +++ b/test/yarp/snapshots/ternary_operator.txt @@ -112,7 +112,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "empty?" │ ├── statements: │ │ @ StatementsNode (location: (47...51)) @@ -138,7 +138,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "empty?" │ ├── statements: │ │ @ StatementsNode (location: (64...69)) @@ -164,7 +164,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "empty?" │ ├── statements: │ │ @ StatementsNode (location: (82...85)) @@ -190,7 +190,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a?" │ ├── statements: │ │ @ StatementsNode (location: (94...97)) @@ -260,7 +260,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "nil?" ├── statements: │ @ StatementsNode (location: (124...129)) diff --git a/test/yarp/snapshots/unescaping.txt b/test/yarp/snapshots/unescaping.txt index 90c835d86f..862f957f55 100644 --- a/test/yarp/snapshots/unescaping.txt +++ b/test/yarp/snapshots/unescaping.txt @@ -17,7 +17,7 @@ │ ├── content_loc: (13...19) = "\\c\#{1}" │ ├── closing_loc: (19...20) = "/" │ ├── unescaped: "\u0003{1}" - │ └── flags: + │ └── flags: ∅ ├── @ StringNode (location: (22...30)) │ ├── opening_loc: (22...23) = "\"" │ ├── content_loc: (23...29) = "\\c\#{1}" diff --git a/test/yarp/snapshots/unless.txt b/test/yarp/snapshots/unless.txt index 68e4ce3401..c3947c2d54 100644 --- a/test/yarp/snapshots/unless.txt +++ b/test/yarp/snapshots/unless.txt @@ -91,7 +91,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar?" ├── statements: │ @ StatementsNode (location: (119...129)) @@ -116,7 +116,7 @@ │ │ └── unescaped: "b" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── consequent: ∅ └── end_keyword_loc: ∅ diff --git a/test/yarp/snapshots/unparser/corpus/literal/assignment.txt b/test/yarp/snapshots/unparser/corpus/literal/assignment.txt index 13b772a632..272eaf7a40 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/assignment.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/assignment.txt @@ -260,7 +260,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "foo=" │ │ └── @ CallNode (location: (212...217)) │ │ ├── receiver: @@ -273,7 +273,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar=" │ ├── lparen_loc: (204...205) = "(" │ ├── rparen_loc: (217...218) = ")" @@ -308,7 +308,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: (235...236) = "]" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "[]=" │ │ └── @ CallNode (location: (238...242)) │ │ ├── receiver: @@ -325,7 +325,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (241...242) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]=" │ ├── lparen_loc: (228...229) = "(" │ ├── rparen_loc: (242...243) = ")" @@ -356,7 +356,7 @@ │ │ │ │ └── flags: decimal │ │ │ ├── closing_loc: (257...258) = "]" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "[]=" │ │ └── @ CallNode (location: (260...264)) │ │ ├── receiver: @@ -373,7 +373,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (263...264) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]=" │ ├── lparen_loc: (253...254) = "(" │ ├── rparen_loc: (264...265) = ")" @@ -403,7 +403,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo=" │ ├── lparen_loc: (275...276) = "(" │ ├── rparen_loc: (282...283) = ")" @@ -515,7 +515,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: (384...385) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" │ └── operator_loc: (378...379) = "=" ├── @ CallNode (location: (386...395)) @@ -529,7 +529,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (394...395) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (396...409)) │ ├── receiver: @@ -548,7 +548,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (408...409) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (410...421)) │ ├── receiver: @@ -564,7 +564,7 @@ │ │ └── @ TrueNode (location: (417...421)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (422...441)) │ ├── receiver: @@ -602,7 +602,7 @@ │ │ └── name: "value" │ ├── closing_loc: (432...433) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (442...459)) │ ├── receiver: @@ -623,7 +623,7 @@ │ │ │ │ @ IntegerNode (location: (449...450)) │ │ │ │ └── flags: decimal │ │ │ ├── operator_loc: (447...449) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ └── @ CallNode (location: (454...459)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ @@ -636,7 +636,7 @@ │ │ └── name: "value" │ ├── closing_loc: (450...451) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (460...469)) │ ├── receiver: @@ -653,7 +653,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (464...465) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (470...487)) │ ├── receiver: @@ -684,7 +684,7 @@ │ │ └── name: "value" │ ├── closing_loc: (478...479) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (488...506)) │ ├── receiver: @@ -719,7 +719,7 @@ │ │ └── name: "value" │ ├── closing_loc: (497...498) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ LocalVariableWriteNode (location: (507...514)) │ ├── name: :x @@ -750,7 +750,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x=" ├── @ CallNode (location: (523...535)) │ ├── receiver: @@ -780,7 +780,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (528...529) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallOrWriteNode (location: (536...550)) │ ├── receiver: @@ -799,7 +799,7 @@ │ │ ├── closing_loc: (540...541) = ")" │ │ └── unescaped: "" │ ├── closing_loc: (541...542) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator_loc: (543...546) = "||=" @@ -879,7 +879,7 @@ │ │ └── closing_loc: (612...620) = "HEREDOC\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x=" ├── @ CallNode (location: (620...636)) │ ├── receiver: @@ -912,7 +912,7 @@ │ │ └── closing_loc: (643...651) = "HEREDOC\n" │ ├── closing_loc: (622...623) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallOrWriteNode (location: (651...672)) │ ├── receiver: @@ -944,7 +944,7 @@ │ │ │ └── unescaped: "\n" │ │ └── closing_loc: (679...687) = "HEREDOC\n" │ ├── closing_loc: (663...664) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator_loc: (665...668) = "||=" diff --git a/test/yarp/snapshots/unparser/corpus/literal/block.txt b/test/yarp/snapshots/unparser/corpus/literal/block.txt index 2e813d18d4..bf3b680639 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/block.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/block.txt @@ -17,7 +17,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (4...5) = "{" │ │ └── closing_loc: (6...7) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (8...19)) │ ├── receiver: ∅ @@ -48,7 +48,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (12...13) = "{" │ │ └── closing_loc: (18...19) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (20...32)) │ ├── receiver: ∅ @@ -83,7 +83,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (24...25) = "{" │ │ └── closing_loc: (31...32) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (33...48)) │ ├── receiver: ∅ @@ -120,7 +120,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (37...38) = "{" │ │ └── closing_loc: (47...48) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (49...63)) │ ├── receiver: ∅ @@ -153,7 +153,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (53...54) = "{" │ │ └── closing_loc: (62...63) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (64...80)) │ ├── receiver: ∅ @@ -176,7 +176,7 @@ │ │ │ └── @ NilNode (location: (75...78)) │ │ ├── opening_loc: (71...72) = "{" │ │ └── closing_loc: (79...80) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (81...102)) │ ├── receiver: ∅ @@ -214,7 +214,7 @@ │ │ │ └── @ NilNode (location: (97...100)) │ │ ├── opening_loc: (85...86) = "{" │ │ └── closing_loc: (101...102) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (103...123)) │ ├── receiver: ∅ @@ -252,7 +252,7 @@ │ │ │ └── @ NilNode (location: (118...121)) │ │ ├── opening_loc: (107...108) = "{" │ │ └── closing_loc: (122...123) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (124...137)) │ ├── receiver: ∅ @@ -280,7 +280,7 @@ │ │ │ └── name: "bar" │ │ ├── opening_loc: (128...129) = "{" │ │ └── closing_loc: (136...137) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (138...165)) │ ├── receiver: @@ -341,7 +341,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (146...147) = "{" │ │ └── closing_loc: (164...165) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (166...185)) │ ├── receiver: @@ -386,7 +386,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (174...175) = "{" │ │ └── closing_loc: (184...185) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (186...204)) │ ├── receiver: @@ -429,7 +429,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (194...195) = "{" │ │ └── closing_loc: (203...204) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (205...225)) │ ├── receiver: @@ -464,7 +464,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (213...214) = "{" │ │ └── closing_loc: (224...225) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (226...245)) │ ├── receiver: @@ -519,7 +519,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (234...235) = "{" │ │ └── closing_loc: (244...245) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (246...267)) │ ├── receiver: @@ -577,7 +577,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (254...255) = "{" │ │ └── closing_loc: (266...267) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (268...291)) │ ├── receiver: @@ -639,7 +639,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (276...277) = "{" │ │ └── closing_loc: (290...291) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (292...318)) │ ├── receiver: @@ -703,7 +703,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (300...301) = "{" │ │ └── closing_loc: (317...318) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (319...343)) │ ├── receiver: @@ -762,7 +762,7 @@ │ │ │ └── name: "d" │ │ ├── opening_loc: (327...328) = "{" │ │ └── closing_loc: (342...343) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (344...359)) │ ├── receiver: @@ -790,7 +790,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (352...353) = "{" │ │ │ └── closing_loc: (354...355) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── call_operator_loc: (355...356) = "." │ ├── message_loc: (356...359) = "baz" @@ -798,7 +798,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "baz" ├── @ CallNode (location: (360...390)) │ ├── receiver: ∅ @@ -833,7 +833,7 @@ │ │ │ └── end_keyword_loc: (387...390) = "end" │ │ ├── opening_loc: (362...364) = "do" │ │ └── closing_loc: (387...390) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (391...435)) │ ├── receiver: ∅ @@ -885,7 +885,7 @@ │ │ │ └── end_keyword_loc: (432...435) = "end" │ │ ├── opening_loc: (393...395) = "do" │ │ └── closing_loc: (432...435) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (436...479)) │ ├── receiver: ∅ @@ -954,7 +954,7 @@ │ │ │ └── end_keyword_loc: (476...479) = "end" │ │ ├── opening_loc: (438...440) = "do" │ │ └── closing_loc: (476...479) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (480...536)) │ ├── receiver: ∅ @@ -1026,7 +1026,7 @@ │ │ │ └── end_keyword_loc: (533...536) = "end" │ │ ├── opening_loc: (482...484) = "do" │ │ └── closing_loc: (533...536) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (537...569)) │ ├── receiver: ∅ @@ -1093,7 +1093,7 @@ │ │ │ └── end_keyword_loc: (566...569) = "end" │ │ ├── opening_loc: (539...541) = "do" │ │ └── closing_loc: (566...569) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (570...601)) │ ├── receiver: ∅ @@ -1137,7 +1137,7 @@ │ │ │ └── end_keyword_loc: (598...601) = "end" │ │ ├── opening_loc: (572...574) = "do" │ │ └── closing_loc: (598...601) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (602...634)) │ ├── receiver: ∅ @@ -1195,7 +1195,7 @@ │ │ │ └── end_keyword_loc: (631...634) = "end" │ │ ├── opening_loc: (604...606) = "do" │ │ └── closing_loc: (631...634) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (635...680)) │ ├── receiver: ∅ @@ -1265,7 +1265,7 @@ │ │ │ └── end_keyword_loc: (677...680) = "end" │ │ ├── opening_loc: (637...639) = "do" │ │ └── closing_loc: (677...680) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (681...696)) │ ├── receiver: ∅ @@ -1292,7 +1292,7 @@ │ │ │ └── end_keyword_loc: (693...696) = "end" │ │ ├── opening_loc: (683...685) = "do" │ │ └── closing_loc: (693...696) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallNode (location: (697...719)) │ ├── receiver: ∅ @@ -1326,7 +1326,7 @@ │ │ │ └── end_keyword_loc: (716...719) = "end" │ │ ├── opening_loc: (699...701) = "do" │ │ └── closing_loc: (716...719) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (720...737)) ├── receiver: ∅ @@ -1372,9 +1372,9 @@ │ │ │ └── name: "_2" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── opening_loc: (724...725) = "{" │ └── closing_loc: (736...737) = "}" - ├── flags: + ├── flags: ∅ └── name: "bar" diff --git a/test/yarp/snapshots/unparser/corpus/literal/case.txt b/test/yarp/snapshots/unparser/corpus/literal/case.txt index ddf565b732..ab7925969a 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/case.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/case.txt @@ -374,7 +374,7 @@ │ │ │ │ └── name: "baz" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "|" │ │ └── statements: ∅ │ ├── consequent: ∅ @@ -421,7 +421,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "baz=" │ └── statements: ∅ ├── consequent: ∅ diff --git a/test/yarp/snapshots/unparser/corpus/literal/class.txt b/test/yarp/snapshots/unparser/corpus/literal/class.txt index a963e0054f..3fefac1620 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/class.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/class.txt @@ -186,11 +186,11 @@ │ │ │ │ ├── arguments: ∅ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "new" │ │ │ ├── closing_loc: (167...168) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "include" │ │ └── @ DefNode (location: (172...194)) │ │ ├── name: :foo diff --git a/test/yarp/snapshots/unparser/corpus/literal/def.txt b/test/yarp/snapshots/unparser/corpus/literal/def.txt index 44633a5a0f..2033d358bf 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/def.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/def.txt @@ -703,7 +703,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: (512...513) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── keyword_rest: ∅ │ │ └── block: ∅ diff --git a/test/yarp/snapshots/unparser/corpus/literal/defs.txt b/test/yarp/snapshots/unparser/corpus/literal/defs.txt index 3b6f0de267..0ee8232887 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/defs.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/defs.txt @@ -141,7 +141,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (104...105) = "{" │ │ │ │ └── closing_loc: (112...113) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "foo" │ │ ├── opening_loc: (99...100) = "(" │ │ └── closing_loc: (113...114) = ")" @@ -184,7 +184,7 @@ │ │ │ │ └── flags: decimal │ │ │ ├── closing_loc: (140...141) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "foo" │ │ ├── opening_loc: (134...135) = "(" │ │ └── closing_loc: (141...142) = ")" @@ -231,7 +231,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "baz" │ │ ├── opening_loc: (162...163) = "(" │ │ └── closing_loc: (175...176) = ")" diff --git a/test/yarp/snapshots/unparser/corpus/literal/dstr.txt b/test/yarp/snapshots/unparser/corpus/literal/dstr.txt index 9d3e9881c5..b379bf5b43 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/dstr.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/dstr.txt @@ -248,7 +248,7 @@ │ │ └── closing_loc: (251...259) = "HEREDOC\n" │ ├── closing_loc: (240...241) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── @ CallNode (location: (259...299)) ├── receiver: ∅ @@ -311,5 +311,5 @@ │ ├── body: ∅ │ ├── opening_loc: (275...276) = "{" │ └── closing_loc: (298...299) = "}" - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/unparser/corpus/literal/flipflop.txt b/test/yarp/snapshots/unparser/corpus/literal/flipflop.txt index 3bca1975f8..34c36bc59b 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/flipflop.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/flipflop.txt @@ -38,7 +38,7 @@ │ │ │ │ │ │ └── flags: decimal │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "==" │ │ │ │ ├── opening_loc: (4...5) = "(" │ │ │ │ └── closing_loc: (11...12) = ")" @@ -69,12 +69,12 @@ │ │ │ │ │ │ └── flags: decimal │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "==" │ │ │ │ ├── opening_loc: (14...15) = "(" │ │ │ │ └── closing_loc: (21...22) = ")" │ │ │ ├── operator_loc: (12...14) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── opening_loc: (3...4) = "(" │ │ └── closing_loc: (22...23) = ")" │ ├── statements: @@ -127,7 +127,7 @@ │ │ │ │ │ └── flags: decimal │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "==" │ │ │ ├── opening_loc: (38...39) = "(" │ │ │ └── closing_loc: (45...46) = ")" @@ -158,7 +158,7 @@ │ │ │ │ │ └── flags: decimal │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "==" │ │ │ ├── opening_loc: (49...50) = "(" │ │ │ └── closing_loc: (56...57) = ")" diff --git a/test/yarp/snapshots/unparser/corpus/literal/for.txt b/test/yarp/snapshots/unparser/corpus/literal/for.txt index aff0c7cd93..682c2bcb14 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/for.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/for.txt @@ -50,7 +50,7 @@ │ │ └── end_keyword_loc: (26...29) = "end" │ ├── closing_loc: (29...30) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ ForNode (location: (31...56)) │ ├── index: diff --git a/test/yarp/snapshots/unparser/corpus/literal/if.txt b/test/yarp/snapshots/unparser/corpus/literal/if.txt index 9da1a6e4d1..6b5b3e007c 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/if.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/if.txt @@ -11,7 +11,7 @@ │ │ ├── content_loc: (4...7) = "foo" │ │ ├── closing_loc: (7...8) = "/" │ │ ├── unescaped: "foo" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── statements: │ │ @ StatementsNode (location: (11...14)) │ │ └── body: (length: 1) @@ -245,7 +245,7 @@ │ │ │ └── depth: 0 │ │ ├── opening_loc: (205...206) = "{" │ │ └── closing_loc: (221...222) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── statements: │ @ StatementsNode (location: (225...242)) diff --git a/test/yarp/snapshots/unparser/corpus/literal/kwbegin.txt b/test/yarp/snapshots/unparser/corpus/literal/kwbegin.txt index 5bc8b3583f..d2d6e33843 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/kwbegin.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/kwbegin.txt @@ -331,7 +331,7 @@ │ │ │ │ └── name: :Exception │ │ │ ├── closing_loc: (298...299) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ ├── keyword_loc: (300...306) = "rescue" │ │ └── rescue_expression: diff --git a/test/yarp/snapshots/unparser/corpus/literal/lambda.txt b/test/yarp/snapshots/unparser/corpus/literal/lambda.txt index ef554ffdd3..da8f9b67a7 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/lambda.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/lambda.txt @@ -17,7 +17,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (7...8) = "{" │ │ └── closing_loc: (9...10) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "lambda" ├── @ CallNode (location: (11...32)) │ ├── receiver: ∅ @@ -55,7 +55,7 @@ │ │ │ └── depth: 0 │ │ ├── opening_loc: (18...19) = "{" │ │ └── closing_loc: (31...32) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "lambda" ├── @ LambdaNode (location: (33...41)) │ ├── locals: [] diff --git a/test/yarp/snapshots/unparser/corpus/literal/literal.txt b/test/yarp/snapshots/unparser/corpus/literal/literal.txt index 00ff6bcb0e..c503414829 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/literal.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/literal.txt @@ -124,7 +124,7 @@ │ │ │ └── closing_loc: (120...128) = "HEREDOC\n" │ │ ├── closing_loc: (110...111) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── call_operator_loc: (111...112) = "." │ ├── message_loc: (112...113) = "a" @@ -132,7 +132,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (128...136)) │ ├── receiver: @@ -151,7 +151,7 @@ │ │ │ └── unescaped: "" │ │ ├── closing_loc: (133...134) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── call_operator_loc: (134...135) = "." │ ├── message_loc: (135...136) = "a" @@ -159,7 +159,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ HashNode (location: (137...167)) │ ├── opening_loc: (137...138) = "{" @@ -277,7 +277,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+@" ├── @ IntegerNode (location: (227...228)) │ └── flags: decimal @@ -508,13 +508,13 @@ │ ├── content_loc: (481...484) = "foo" │ ├── closing_loc: (484...485) = "/" │ ├── unescaped: "foo" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (486...514)) │ ├── opening_loc: (486...487) = "/" │ ├── content_loc: (487...513) = "[^-+',.\\/:@[:alnum:]\\[\\]]+" │ ├── closing_loc: (513...514) = "/" │ ├── unescaped: "[^-+',./:@[:alnum:][]]+" - │ └── flags: + │ └── flags: ∅ ├── @ InterpolatedRegularExpressionNode (location: (515...527)) │ ├── opening_loc: (515...516) = "/" │ ├── parts: (length: 2) @@ -532,7 +532,7 @@ │ │ │ └── name: :@bar │ │ └── closing_loc: (525...526) = "}" │ ├── closing_loc: (526...527) = "/" - │ └── flags: + │ └── flags: ∅ ├── @ InterpolatedRegularExpressionNode (location: (528...543)) │ ├── opening_loc: (528...529) = "/" │ ├── parts: (length: 2) @@ -566,19 +566,19 @@ │ │ │ └── unescaped: "\u0000" │ │ └── closing_loc: (555...556) = "}" │ ├── closing_loc: (556...557) = "/" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (558...562)) │ ├── opening_loc: (558...559) = "/" │ ├── content_loc: (559...561) = "\\n" │ ├── closing_loc: (561...562) = "/" │ ├── unescaped: "\n" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (563...567)) │ ├── opening_loc: (563...564) = "/" │ ├── content_loc: (564...566) = "\\n" │ ├── closing_loc: (566...567) = "/" │ ├── unescaped: "\n" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (568...573)) │ ├── opening_loc: (568...569) = "/" │ ├── content_loc: (569...571) = "\\n" @@ -654,7 +654,7 @@ │ │ │ │ └── @ FloatNode (location: (617...620)) │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "/" │ │ ├── opening_loc: (610...611) = "(" │ │ └── closing_loc: (620...621) = ")" @@ -662,7 +662,7 @@ │ │ @ IntegerNode (location: (623...624)) │ │ └── flags: decimal │ ├── operator_loc: (621...623) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ RangeNode (location: (625...639)) │ ├── left: │ │ @ IntegerNode (location: (625...626)) @@ -684,12 +684,12 @@ │ │ │ │ └── @ FloatNode (location: (635...638)) │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "/" │ │ ├── opening_loc: (628...629) = "(" │ │ └── closing_loc: (638...639) = ")" │ ├── operator_loc: (626...628) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ RangeNode (location: (640...656)) │ ├── left: │ │ @ ParenthesesNode (location: (640...651)) @@ -708,7 +708,7 @@ │ │ │ │ └── @ FloatNode (location: (647...650)) │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "/" │ │ ├── opening_loc: (640...641) = "(" │ │ └── closing_loc: (650...651) = ")" @@ -716,7 +716,7 @@ │ │ @ IntegerNode (location: (653...656)) │ │ └── flags: decimal │ ├── operator_loc: (651...653) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ FloatNode (location: (657...661)) ├── @ FloatNode (location: (662...665)) ├── @ ArrayNode (location: (666...672)) @@ -1025,7 +1025,7 @@ │ │ │ └── closing_loc: (889...890) = "\"" │ │ ├── opening_loc: (874...875) = "{" │ │ └── closing_loc: (891...892) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ SymbolNode (location: (893...901)) │ ├── opening_loc: (893...895) = ":\"" diff --git a/test/yarp/snapshots/unparser/corpus/literal/module.txt b/test/yarp/snapshots/unparser/corpus/literal/module.txt index 2ba439b4a8..74f960f946 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/module.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/module.txt @@ -75,11 +75,11 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "new" │ │ ├── closing_loc: (75...76) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "include" │ └── @ DefNode (location: (80...102)) │ ├── name: :foo diff --git a/test/yarp/snapshots/unparser/corpus/literal/opasgn.txt b/test/yarp/snapshots/unparser/corpus/literal/opasgn.txt index 73d2c07fc8..46accb0402 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/opasgn.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/opasgn.txt @@ -94,7 +94,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (66...83)) │ ├── receiver: @@ -142,7 +142,7 @@ │ │ └── name: "v" │ ├── closing_loc: (78...79) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallOperatorWriteNode (location: (84...92)) │ ├── receiver: @@ -154,7 +154,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator: :+ @@ -172,7 +172,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator: :- @@ -190,7 +190,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator: :** @@ -208,7 +208,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator: :* @@ -226,7 +226,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator: :/ @@ -244,7 +244,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator_loc: (134...137) = "&&=" @@ -269,7 +269,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "b" │ ├── write_name: "b=" │ ├── operator_loc: (144...147) = "||=" @@ -298,7 +298,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (153...154) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :+ @@ -328,7 +328,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (163...164) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :- @@ -358,7 +358,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (173...174) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :** @@ -388,7 +388,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (184...185) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :* @@ -418,7 +418,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (194...195) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :/ @@ -448,7 +448,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (204...205) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator_loc: (206...209) = "&&=" @@ -485,7 +485,7 @@ │ │ ├── flags: variable_call │ │ └── name: "b" │ ├── closing_loc: (215...216) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator_loc: (217...220) = "||=" @@ -509,7 +509,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "A" ├── write_name: "A=" ├── operator: :+ diff --git a/test/yarp/snapshots/unparser/corpus/literal/range.txt b/test/yarp/snapshots/unparser/corpus/literal/range.txt index 9dbb8f3ca5..2b402bc44b 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/range.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/range.txt @@ -13,7 +13,7 @@ │ │ │ └── flags: decimal │ │ ├── right: ∅ │ │ ├── operator_loc: (2...4) = ".." - │ │ └── flags: + │ │ └── flags: ∅ │ ├── opening_loc: (0...1) = "(" │ └── closing_loc: (4...5) = ")" ├── @ RangeNode (location: (6...10)) @@ -24,7 +24,7 @@ │ │ @ IntegerNode (location: (9...10)) │ │ └── flags: decimal │ ├── operator_loc: (7...9) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ ParenthesesNode (location: (11...17)) │ ├── body: │ │ @ StatementsNode (location: (12...16)) diff --git a/test/yarp/snapshots/unparser/corpus/literal/send.txt b/test/yarp/snapshots/unparser/corpus/literal/send.txt index fe0716712e..37626450c4 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/send.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/send.txt @@ -76,7 +76,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── end_keyword_loc: (70...73) = "end" │ └── name: :A @@ -99,7 +99,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (90...106)) │ ├── receiver: @@ -118,7 +118,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (107...127)) │ ├── receiver: @@ -142,7 +142,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (128...169)) │ ├── receiver: @@ -196,7 +196,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "baz" ├── @ CallNode (location: (170...195)) │ ├── receiver: @@ -236,7 +236,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "baz" ├── @ CallNode (location: (196...217)) │ ├── receiver: @@ -254,7 +254,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (218...238)) │ ├── receiver: @@ -278,7 +278,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (239...254)) │ ├── receiver: @@ -301,7 +301,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (255...272)) │ ├── receiver: @@ -320,14 +320,14 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "foo" │ │ ├── statements: ∅ - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: (268...269) = "." │ ├── message_loc: (269...272) = "bar" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (273...290)) │ ├── receiver: @@ -346,14 +346,14 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "foo" │ │ ├── statements: ∅ - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: (286...287) = "." │ ├── message_loc: (287...290) = "bar" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (291...303)) │ ├── receiver: @@ -371,7 +371,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (296...297) = "{" │ │ │ └── closing_loc: (298...299) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "loop" │ ├── call_operator_loc: (299...300) = "." │ ├── message_loc: (300...303) = "bar" @@ -379,7 +379,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (304...318)) │ ├── receiver: @@ -405,7 +405,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "baz" ├── @ CallNode (location: (319...338)) │ ├── receiver: @@ -420,7 +420,7 @@ │ │ │ │ ├── content_loc: (321...324) = "bar" │ │ │ │ ├── closing_loc: (324...325) = "/" │ │ │ │ ├── unescaped: "bar" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── call_operator_loc: ∅ │ │ │ ├── message_loc: (326...328) = "=~" │ │ │ ├── opening_loc: ∅ @@ -434,7 +434,7 @@ │ │ │ │ └── unescaped: "foo" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "=~" │ │ ├── opening_loc: (319...320) = "(" │ │ └── closing_loc: (333...334) = ")" @@ -444,7 +444,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (339...349)) │ ├── receiver: @@ -460,7 +460,7 @@ │ │ │ │ @ IntegerNode (location: (343...344)) │ │ │ │ └── flags: decimal │ │ │ ├── operator_loc: (341...343) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── opening_loc: (339...340) = "(" │ │ └── closing_loc: (344...345) = ")" │ ├── call_operator_loc: (345...346) = "." @@ -469,7 +469,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "max" ├── @ CallNode (location: (350...368)) │ ├── receiver: @@ -500,10 +500,10 @@ │ │ │ │ ├── content_loc: (359...362) = "bar" │ │ │ │ ├── closing_loc: (362...363) = "/" │ │ │ │ ├── unescaped: "bar" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "=~" │ │ ├── opening_loc: (350...351) = "(" │ │ └── closing_loc: (363...364) = ")" @@ -513,7 +513,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (369...382)) │ ├── receiver: @@ -522,7 +522,7 @@ │ │ ├── content_loc: (370...373) = "bar" │ │ ├── closing_loc: (373...374) = "/" │ │ ├── unescaped: "bar" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (375...377) = "=~" │ ├── opening_loc: ∅ @@ -536,7 +536,7 @@ │ │ └── unescaped: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ CallNode (location: (383...395)) │ ├── receiver: @@ -545,7 +545,7 @@ │ │ ├── content_loc: (384...387) = "bar" │ │ ├── closing_loc: (387...388) = "/" │ │ ├── unescaped: "bar" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (389...391) = "=~" │ ├── opening_loc: ∅ @@ -564,7 +564,7 @@ │ │ └── name: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ RangeNode (location: (396...404)) │ ├── left: @@ -581,10 +581,10 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "max" │ ├── operator_loc: (397...399) = ".." - │ └── flags: + │ └── flags: ∅ ├── @ CallNode (location: (405...410)) │ ├── receiver: │ │ @ ConstantReadNode (location: (405...406)) @@ -595,7 +595,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (411...416)) │ ├── receiver: ∅ @@ -605,7 +605,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (415...416) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "FOO" ├── @ CallNode (location: (417...421)) │ ├── receiver: @@ -645,7 +645,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (428...431)) │ ├── receiver: ∅ @@ -709,13 +709,13 @@ │ │ │ │ └── name: "baz" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "*" │ │ ├── opening_loc: (439...440) = "(" │ │ └── closing_loc: (449...450) = ")" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ CallNode (location: (451...463)) │ ├── receiver: @@ -740,10 +740,10 @@ │ │ ├── content_loc: (459...462) = "bar" │ │ ├── closing_loc: (462...463) = "/" │ │ ├── unescaped: "bar" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ CallNode (location: (464...482)) │ ├── receiver: ∅ @@ -788,7 +788,7 @@ │ │ └── operator_loc: (468...469) = "&" │ ├── closing_loc: (481...482) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (483...494)) │ ├── receiver: ∅ @@ -813,7 +813,7 @@ │ │ └── operator_loc: (487...488) = "&" │ ├── closing_loc: (493...494) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (495...513)) │ ├── receiver: ∅ @@ -851,7 +851,7 @@ │ │ └── operator_loc: (506...507) = "&" │ ├── closing_loc: (512...513) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (514...529)) │ ├── receiver: ∅ @@ -876,7 +876,7 @@ │ │ └── name: "arguments" │ ├── closing_loc: (528...529) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (530...539)) │ ├── receiver: ∅ @@ -892,7 +892,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (538...539) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (540...548)) │ ├── receiver: ∅ @@ -914,7 +914,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (547...548) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (549...564)) │ ├── receiver: ∅ @@ -949,7 +949,7 @@ │ │ └── name: "args" │ ├── closing_loc: (563...564) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (565...582)) │ ├── receiver: ∅ @@ -982,14 +982,14 @@ │ │ │ ├── content_loc: (577...580) = "bar" │ │ │ ├── closing_loc: (580...581) = "/" │ │ │ ├── unescaped: "bar" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "=~" │ ├── closing_loc: (581...582) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (583...596)) │ ├── receiver: @@ -1024,7 +1024,7 @@ │ │ └── operator_loc: (591...592) = "&" │ ├── closing_loc: (595...596) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (597...623)) │ ├── receiver: @@ -1082,7 +1082,7 @@ │ │ └── name: "argb" │ ├── closing_loc: (622...623) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (624...638)) │ ├── receiver: @@ -1117,7 +1117,7 @@ │ │ └── name: "args" │ ├── closing_loc: (637...638) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (639...658)) │ ├── receiver: @@ -1162,7 +1162,7 @@ │ │ └── name: "foo" │ ├── closing_loc: (657...658) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (659...678)) │ ├── receiver: @@ -1202,7 +1202,7 @@ │ │ └── operator_loc: (673...674) = "&" │ ├── closing_loc: (677...678) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (679...696)) │ ├── receiver: @@ -1245,7 +1245,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (695...696) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (697...723)) │ ├── receiver: @@ -1298,7 +1298,7 @@ │ │ └── operator_loc: (716...718) = "=>" │ ├── closing_loc: (722...723) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (724...743)) │ ├── receiver: @@ -1343,7 +1343,7 @@ │ │ └── name: "args" │ ├── closing_loc: (742...743) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (744...771)) │ ├── receiver: @@ -1401,7 +1401,7 @@ │ │ └── operator_loc: (764...765) = "&" │ ├── closing_loc: (770...771) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (772...788)) │ ├── receiver: @@ -1437,7 +1437,7 @@ │ │ └── closing_loc: (786...787) = "}" │ ├── closing_loc: (787...788) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (789...815)) │ ├── receiver: @@ -1492,7 +1492,7 @@ │ │ └── name: "boz" │ ├── closing_loc: (814...815) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── @ CallNode (location: (816...828)) │ ├── receiver: @@ -1519,7 +1519,7 @@ │ │ └── unescaped: "baz" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar=" ├── @ CallNode (location: (829...838)) │ ├── receiver: ∅ @@ -1552,7 +1552,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (837...838) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (839...850)) │ ├── receiver: @@ -1595,7 +1595,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (849...850) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── @ CallNode (location: (851...861)) │ ├── receiver: @@ -1632,7 +1632,7 @@ │ │ └── operator_loc: (857...859) = "**" │ ├── closing_loc: (860...861) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── @ CallNode (location: (862...871)) │ ├── receiver: @@ -1667,7 +1667,7 @@ │ │ └── name: "baz" │ ├── closing_loc: (870...871) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (872...881)) │ ├── receiver: @@ -1693,7 +1693,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (880...881) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (882...887)) │ ├── receiver: @@ -1713,7 +1713,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (886...887) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ CallNode (location: (888...896)) │ ├── receiver: @@ -1724,7 +1724,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (897...910)) │ ├── receiver: @@ -1742,7 +1742,7 @@ │ │ └── unescaped: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo=" ├── @ CallNode (location: (911...928)) │ ├── receiver: @@ -1780,7 +1780,7 @@ │ │ │ │ └── name: "b" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── opening_loc: (911...912) = "(" │ │ └── closing_loc: (917...918) = ")" @@ -1824,13 +1824,13 @@ │ │ │ │ └── name: "d" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "-" │ │ ├── opening_loc: (921...922) = "(" │ │ └── closing_loc: (927...928) = ")" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (929...948)) │ ├── receiver: @@ -1868,7 +1868,7 @@ │ │ │ │ └── name: "b" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── opening_loc: (929...930) = "(" │ │ └── closing_loc: (935...936) = ")" @@ -1918,11 +1918,11 @@ │ │ │ └── name: "f" │ │ ├── closing_loc: (947...948) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "-" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (949...966)) │ ├── receiver: @@ -1960,7 +1960,7 @@ │ │ │ │ └── name: "b" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── opening_loc: (949...950) = "(" │ │ └── closing_loc: (955...956) = ")" @@ -2003,11 +2003,11 @@ │ │ │ └── name: "f" │ │ ├── closing_loc: (965...966) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "-" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (967...975)) │ ├── receiver: ∅ @@ -2034,7 +2034,7 @@ │ │ └── operator_loc: (969...971) = "**" │ ├── closing_loc: (974...975) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "x" ├── @ CallNode (location: (976...982)) │ ├── receiver: @@ -2086,7 +2086,7 @@ │ │ └── name: "b" │ ├── closing_loc: (990...991) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "~" └── @ CallNode (location: (992...999)) ├── receiver: diff --git a/test/yarp/snapshots/unparser/corpus/literal/since/27.txt b/test/yarp/snapshots/unparser/corpus/literal/since/27.txt index ab662e2a02..05bc6fda5d 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/since/27.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/since/27.txt @@ -42,7 +42,7 @@ │ │ └── name: "_2" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" └── @ ParenthesesNode (location: (17...22)) ├── body: @@ -54,6 +54,6 @@ │ │ @ IntegerNode (location: (20...21)) │ │ └── flags: decimal │ ├── operator_loc: (18...20) = ".." - │ └── flags: + │ └── flags: ∅ ├── opening_loc: (17...18) = "(" └── closing_loc: (21...22) = ")" diff --git a/test/yarp/snapshots/unparser/corpus/literal/since/31.txt b/test/yarp/snapshots/unparser/corpus/literal/since/31.txt index 93db82b997..2932955b49 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/since/31.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/since/31.txt @@ -36,7 +36,7 @@ │ │ │ └── operator_loc: (17...18) = "&" │ │ ├── closing_loc: (18...19) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:&] │ ├── def_keyword_loc: (0...3) = "def" @@ -80,7 +80,7 @@ │ │ └── operator_loc: (45...46) = "&" │ ├── closing_loc: (46...47) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:a, :&] ├── def_keyword_loc: (25...28) = "def" diff --git a/test/yarp/snapshots/unparser/corpus/literal/since/32.txt b/test/yarp/snapshots/unparser/corpus/literal/since/32.txt index 422943969f..a2330c3cc7 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/since/32.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/since/32.txt @@ -43,7 +43,7 @@ │ │ │ └── operator_loc: (38...40) = "**" │ │ ├── closing_loc: (40...41) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:argument, :**] │ ├── def_keyword_loc: (0...3) = "def" @@ -90,7 +90,7 @@ │ │ └── expression: ∅ │ ├── closing_loc: (85...86) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:argument, :*] ├── def_keyword_loc: (47...50) = "def" diff --git a/test/yarp/snapshots/unparser/corpus/literal/super.txt b/test/yarp/snapshots/unparser/corpus/literal/super.txt index a3c9d24931..71550e5acc 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/super.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/super.txt @@ -141,7 +141,7 @@ │ │ │ │ └── name: "foo" │ │ │ ├── opening_loc: (74...75) = "{" │ │ │ └── closing_loc: (82...83) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── rparen_loc: (83...84) = ")" │ └── block: ∅ diff --git a/test/yarp/snapshots/unparser/corpus/literal/unary.txt b/test/yarp/snapshots/unparser/corpus/literal/unary.txt index 052d15ce5a..ca20fb57bb 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/unary.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/unary.txt @@ -13,7 +13,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (3...8)) │ ├── receiver: @@ -31,7 +31,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "!" │ │ ├── opening_loc: (4...5) = "(" │ │ └── closing_loc: (7...8) = ")" @@ -41,7 +41,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (9...25)) │ ├── receiver: @@ -87,7 +87,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "!" │ │ ├── opening_loc: (10...11) = "(" │ │ └── closing_loc: (24...25) = ")" @@ -97,7 +97,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (26...35)) │ ├── receiver: @@ -117,7 +117,7 @@ │ │ │ │ ├── arguments: ∅ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "!" │ │ │ ├── opening_loc: (27...28) = "(" │ │ │ └── closing_loc: (30...31) = ")" @@ -127,7 +127,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "baz" │ ├── call_operator_loc: ∅ │ ├── message_loc: (26...27) = "!" @@ -135,7 +135,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (36...38)) │ ├── receiver: @@ -155,7 +155,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "~" ├── @ CallNode (location: (39...41)) │ ├── receiver: @@ -175,7 +175,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-@" ├── @ CallNode (location: (42...44)) │ ├── receiver: @@ -195,7 +195,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+@" └── @ CallNode (location: (45...54)) ├── receiver: @@ -223,7 +223,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "-@" │ │ ├── opening_loc: (46...47) = "(" │ │ └── closing_loc: (49...50) = ")" @@ -233,7 +233,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── call_operator_loc: ∅ ├── message_loc: (45...46) = "-" @@ -241,5 +241,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "-@" diff --git a/test/yarp/snapshots/unparser/corpus/literal/while.txt b/test/yarp/snapshots/unparser/corpus/literal/while.txt index 2062932ee7..e6c7f74e02 100644 --- a/test/yarp/snapshots/unparser/corpus/literal/while.txt +++ b/test/yarp/snapshots/unparser/corpus/literal/while.txt @@ -67,10 +67,10 @@ │ │ │ │ │ │ ├── name: :bar │ │ │ │ │ │ └── depth: 0 │ │ │ │ │ └── operator_loc: (47...48) = "=" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── opening_loc: (15...16) = "{" │ │ │ └── closing_loc: (63...64) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" │ ├── end_keyword_loc: (65...68) = "end" │ └── name: :A @@ -109,7 +109,7 @@ │ │ │ │ └── name: "baz" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "!=" │ │ ├── statements: │ │ │ @ StatementsNode (location: (80...89)) @@ -130,7 +130,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ └── operator_loc: (84...85) = "=" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── locals: [:foo] │ ├── def_keyword_loc: (70...73) = "def" │ ├── operator_loc: ∅ @@ -173,7 +173,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ └── operator_loc: (127...128) = "=" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── end_keyword_loc: (143...146) = "end" │ └── name: :A ├── @ ModuleNode (location: (148...182)) @@ -211,7 +211,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ └── operator_loc: (163...164) = "=" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── end_keyword_loc: (179...182) = "end" │ └── name: :A ├── @ ModuleNode (location: (184...228)) @@ -256,7 +256,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ └── operator_loc: (213...214) = "=" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── end_keyword_loc: (225...228) = "end" │ └── name: :A ├── @ ModuleNode (location: (230...299)) @@ -330,10 +330,10 @@ │ │ │ │ │ │ ├── flags: variable_call │ │ │ │ │ │ └── name: "bar" │ │ │ │ │ └── operator_loc: (278...279) = "=" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── opening_loc: (246...247) = "{" │ │ │ └── closing_loc: (294...295) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "each" │ ├── end_keyword_loc: (296...299) = "end" │ └── name: :A @@ -401,10 +401,10 @@ │ │ │ │ │ │ ├── flags: variable_call │ │ │ │ │ │ └── name: "bar" │ │ │ │ │ └── operator_loc: (349...350) = "=" - │ │ │ │ └── flags: + │ │ │ │ └── flags: ∅ │ │ │ ├── opening_loc: (317...318) = "{" │ │ │ └── closing_loc: (365...366) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "each" │ ├── end_keyword_loc: (367...370) = "end" │ └── name: :A @@ -594,7 +594,7 @@ │ ├── predicate: │ │ @ FalseNode (location: (499...504)) │ ├── statements: ∅ - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (509...528)) │ ├── keyword_loc: (509...514) = "while" │ ├── closing_loc: (525...528) = "end" @@ -605,7 +605,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (523...524)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (529...556)) │ ├── keyword_loc: (529...534) = "while" │ ├── closing_loc: (553...556) = "end" @@ -628,7 +628,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (540...541) = "{" │ │ │ │ └── closing_loc: (542...543) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "foo" │ │ ├── opening_loc: (535...536) = "(" │ │ └── closing_loc: (543...544) = ")" @@ -640,14 +640,14 @@ │ │ ├── value_loc: (548...552) = "body" │ │ ├── closing_loc: ∅ │ │ └── unescaped: "body" - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (557...572)) │ ├── keyword_loc: (557...562) = "until" │ ├── closing_loc: (569...572) = "end" │ ├── predicate: │ │ @ FalseNode (location: (563...568)) │ ├── statements: ∅ - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (573...592)) │ ├── keyword_loc: (573...578) = "until" │ ├── closing_loc: (589...592) = "end" @@ -658,7 +658,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (587...588)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ └── @ UntilNode (location: (593...620)) ├── keyword_loc: (593...598) = "until" ├── closing_loc: (617...620) = "end" @@ -681,7 +681,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (604...605) = "{" │ │ │ └── closing_loc: (606...607) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" │ ├── opening_loc: (599...600) = "(" │ └── closing_loc: (607...608) = ")" @@ -693,4 +693,4 @@ │ ├── value_loc: (612...616) = "body" │ ├── closing_loc: ∅ │ └── unescaped: "body" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/unparser/corpus/semantic/block.txt b/test/yarp/snapshots/unparser/corpus/semantic/block.txt index 1f8675f1c6..267ecff35f 100644 --- a/test/yarp/snapshots/unparser/corpus/semantic/block.txt +++ b/test/yarp/snapshots/unparser/corpus/semantic/block.txt @@ -17,7 +17,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (4...6) = "do" │ │ └── closing_loc: (7...10) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (12...29)) │ ├── receiver: ∅ @@ -47,7 +47,7 @@ │ │ │ └── end_keyword_loc: (26...29) = "end" │ │ ├── opening_loc: (16...18) = "do" │ │ └── closing_loc: (26...29) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (31...64)) │ ├── receiver: ∅ @@ -72,7 +72,7 @@ │ │ │ └── @ NilNode (location: (57...60)) │ │ ├── opening_loc: (35...37) = "do" │ │ └── closing_loc: (61...64) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (66...80)) │ ├── receiver: ∅ @@ -103,7 +103,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (70...72) = "do" │ │ └── closing_loc: (77...80) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (82...116)) │ ├── receiver: ∅ @@ -146,7 +146,7 @@ │ │ │ └── depth: 0 │ │ ├── opening_loc: (94...96) = "do" │ │ └── closing_loc: (113...116) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── @ CallNode (location: (118...148)) ├── receiver: ∅ @@ -181,5 +181,5 @@ │ │ └── name: "a" │ ├── opening_loc: (130...132) = "do" │ └── closing_loc: (145...148) = "end" - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/unparser/corpus/semantic/def.txt b/test/yarp/snapshots/unparser/corpus/semantic/def.txt index ec9b9fb4df..6561e12daf 100644 --- a/test/yarp/snapshots/unparser/corpus/semantic/def.txt +++ b/test/yarp/snapshots/unparser/corpus/semantic/def.txt @@ -45,7 +45,7 @@ │ │ │ │ └── name: "b" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "-" │ │ ├── opening_loc: (10...11) = "(" │ │ └── closing_loc: (16...17) = ")" diff --git a/test/yarp/snapshots/unparser/corpus/semantic/literal.txt b/test/yarp/snapshots/unparser/corpus/semantic/literal.txt index 025f5bd07d..d20577d515 100644 --- a/test/yarp/snapshots/unparser/corpus/semantic/literal.txt +++ b/test/yarp/snapshots/unparser/corpus/semantic/literal.txt @@ -27,13 +27,13 @@ │ ├── content_loc: (61...62) = "/" │ ├── closing_loc: (62...63) = ")" │ ├── unescaped: "/" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (64...70)) │ ├── opening_loc: (64...67) = "%r(" │ ├── content_loc: (67...69) = "\\)" │ ├── closing_loc: (69...70) = ")" │ ├── unescaped: ")" - │ └── flags: + │ └── flags: ∅ ├── @ InterpolatedRegularExpressionNode (location: (71...85)) │ ├── opening_loc: (71...74) = "%r(" │ ├── parts: (length: 2) @@ -51,7 +51,7 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "baz" │ ├── closing_loc: (84...85) = ")" - │ └── flags: + │ └── flags: ∅ ├── @ FloatNode (location: (86...102)) ├── @ FloatNode (location: (103...120)) └── @ CallNode (location: (121...131)) @@ -82,9 +82,9 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── closing_loc: (130...131) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "w" diff --git a/test/yarp/snapshots/unparser/corpus/semantic/send.txt b/test/yarp/snapshots/unparser/corpus/semantic/send.txt index d9b7410435..583f754bb9 100644 --- a/test/yarp/snapshots/unparser/corpus/semantic/send.txt +++ b/test/yarp/snapshots/unparser/corpus/semantic/send.txt @@ -25,7 +25,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (9...10) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (12...27)) │ ├── receiver: @@ -61,7 +61,7 @@ │ │ │ │ └── name: "b" │ │ │ ├── closing_loc: (19...20) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "===" │ │ ├── call_operator_loc: (20...21) = "." │ │ ├── message_loc: (21...22) = "c" @@ -69,7 +69,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ ├── call_operator_loc: ∅ │ ├── message_loc: (23...25) = "==" @@ -89,7 +89,7 @@ │ │ └── name: "d" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "==" └── @ CallNode (location: (29...44)) ├── receiver: @@ -129,7 +129,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "c" │ ├── call_operator_loc: (37...38) = "." │ ├── message_loc: (38...41) = "===" @@ -149,9 +149,9 @@ │ │ └── name: "c" │ ├── closing_loc: (43...44) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "===" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "==" diff --git a/test/yarp/snapshots/unparser/corpus/semantic/while.txt b/test/yarp/snapshots/unparser/corpus/semantic/while.txt index b702e7fce5..c23ec9d13f 100644 --- a/test/yarp/snapshots/unparser/corpus/semantic/while.txt +++ b/test/yarp/snapshots/unparser/corpus/semantic/while.txt @@ -21,7 +21,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (11...12) = "{" │ │ │ └── closing_loc: (12...13) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b?" │ ├── statements: │ │ @ StatementsNode (location: (0...1)) @@ -36,7 +36,7 @@ │ │ ├── block: ∅ │ │ ├── flags: variable_call │ │ └── name: "a" - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (15...34)) │ ├── keyword_loc: (15...20) = "until" │ ├── closing_loc: (31...34) = "end" @@ -55,7 +55,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (24...25) = "{" │ │ │ └── closing_loc: (25...26) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b?" │ ├── statements: │ │ @ StatementsNode (location: (29...30)) @@ -70,7 +70,7 @@ │ │ ├── block: ∅ │ │ ├── flags: variable_call │ │ └── name: "a" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (36...55)) │ ├── keyword_loc: (46...51) = "while" │ ├── closing_loc: ∅ @@ -97,7 +97,7 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "bar" │ │ └── operator_loc: (40...41) = "=" - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (57...75)) │ ├── keyword_loc: (59...64) = "until" │ ├── closing_loc: ∅ @@ -129,7 +129,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (72...73) = "{" │ │ │ │ └── closing_loc: (74...75) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "a" │ │ └── operator_loc: (67...69) = "&&" │ ├── statements: @@ -145,7 +145,7 @@ │ │ ├── block: ∅ │ │ ├── flags: variable_call │ │ └── name: "a" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (77...96)) │ ├── keyword_loc: (77...82) = "while" │ ├── closing_loc: (93...96) = "end" @@ -172,7 +172,7 @@ │ │ └── @ LocalVariableReadNode (location: (91...92)) │ │ ├── name: :a │ │ └── depth: 0 - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (98...130)) │ ├── keyword_loc: (100...105) = "until" │ ├── closing_loc: ∅ @@ -210,7 +210,7 @@ │ │ │ │ └── name: "c" │ │ │ ├── opening_loc: (116...118) = "do" │ │ │ └── closing_loc: (127...130) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ ├── statements: │ │ @ StatementsNode (location: (98...99)) @@ -218,7 +218,7 @@ │ │ └── @ LocalVariableReadNode (location: (98...99)) │ │ ├── name: :a │ │ └── depth: 0 - │ └── flags: + │ └── flags: ∅ └── @ ModuleNode (location: (132...188)) ├── locals: [:foo] ├── module_keyword_loc: (132...138) = "module" @@ -270,6 +270,6 @@ │ │ │ ├── flags: variable_call │ │ │ └── name: "bar" │ │ └── operator_loc: (173...174) = "=" - │ └── flags: + │ └── flags: ∅ ├── end_keyword_loc: (185...188) = "end" └── name: :A diff --git a/test/yarp/snapshots/until.txt b/test/yarp/snapshots/until.txt index d859e4763f..9073dfe725 100644 --- a/test/yarp/snapshots/until.txt +++ b/test/yarp/snapshots/until.txt @@ -13,7 +13,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (12...13)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (20...32)) │ ├── keyword_loc: (22...27) = "until" │ ├── closing_loc: ∅ @@ -24,7 +24,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (20...21)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (34...50)) │ ├── keyword_loc: (40...45) = "until" │ ├── closing_loc: ∅ @@ -36,7 +36,7 @@ │ │ └── @ BreakNode (location: (34...39)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (34...39) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (52...67)) │ ├── keyword_loc: (57...62) = "until" │ ├── closing_loc: ∅ @@ -48,7 +48,7 @@ │ │ └── @ NextNode (location: (52...56)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (52...56) = "next" - │ └── flags: + │ └── flags: ∅ ├── @ UntilNode (location: (69...86)) │ ├── keyword_loc: (76...81) = "until" │ ├── closing_loc: ∅ @@ -60,7 +60,7 @@ │ │ └── @ ReturnNode (location: (69...75)) │ │ ├── keyword_loc: (69...75) = "return" │ │ └── arguments: ∅ - │ └── flags: + │ └── flags: ∅ └── @ UntilNode (location: (88...109)) ├── keyword_loc: (99...104) = "until" ├── closing_loc: ∅ @@ -73,7 +73,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar?" ├── statements: │ @ StatementsNode (location: (88...98)) @@ -98,6 +98,6 @@ │ │ └── unescaped: "b" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/while.txt b/test/yarp/snapshots/while.txt index ad875b8326..6dd96cd403 100644 --- a/test/yarp/snapshots/while.txt +++ b/test/yarp/snapshots/while.txt @@ -13,7 +13,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (12...13)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (20...32)) │ ├── keyword_loc: (22...27) = "while" │ ├── closing_loc: ∅ @@ -24,7 +24,7 @@ │ │ └── body: (length: 1) │ │ └── @ IntegerNode (location: (20...21)) │ │ └── flags: decimal - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (34...50)) │ ├── keyword_loc: (40...45) = "while" │ ├── closing_loc: ∅ @@ -36,7 +36,7 @@ │ │ └── @ BreakNode (location: (34...39)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (34...39) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (52...67)) │ ├── keyword_loc: (57...62) = "while" │ ├── closing_loc: ∅ @@ -48,7 +48,7 @@ │ │ └── @ NextNode (location: (52...56)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (52...56) = "next" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (69...86)) │ ├── keyword_loc: (76...81) = "while" │ ├── closing_loc: ∅ @@ -60,7 +60,7 @@ │ │ └── @ ReturnNode (location: (69...75)) │ │ ├── keyword_loc: (69...75) = "return" │ │ └── arguments: ∅ - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (88...109)) │ ├── keyword_loc: (99...104) = "while" │ ├── closing_loc: ∅ @@ -73,7 +73,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar?" │ ├── statements: │ │ @ StatementsNode (location: (88...98)) @@ -98,9 +98,9 @@ │ │ │ └── unescaped: "b" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (111...161)) │ ├── keyword_loc: (111...116) = "while" │ ├── closing_loc: (158...161) = "end" @@ -133,7 +133,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (138...140) = "do" │ │ │ │ │ └── closing_loc: (141...144) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ ├── rest: ∅ │ │ │ ├── posts: (length: 0) @@ -154,7 +154,7 @@ │ │ └── @ BreakNode (location: (151...156)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (151...156) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (163...210)) │ ├── keyword_loc: (163...168) = "while" │ ├── closing_loc: (207...210) = "end" @@ -189,7 +189,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (187...189) = "do" │ │ │ │ │ └── closing_loc: (190...193) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ └── operator_loc: (181...182) = "=" │ │ ├── end_keyword_loc: (195...198) = "end" @@ -200,7 +200,7 @@ │ │ └── @ BreakNode (location: (200...205)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (200...205) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (212...260)) │ ├── keyword_loc: (212...217) = "while" │ ├── closing_loc: (257...260) = "end" @@ -228,7 +228,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (237...239) = "do" │ │ │ │ └── closing_loc: (240...243) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ └── end_keyword_loc: (245...248) = "end" │ ├── statements: @@ -237,7 +237,7 @@ │ │ └── @ BreakNode (location: (250...255)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (250...255) = "break" - │ └── flags: + │ └── flags: ∅ └── @ WhileNode (location: (262...314)) ├── keyword_loc: (262...267) = "while" ├── closing_loc: (311...314) = "end" @@ -270,7 +270,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (291...293) = "do" │ │ │ │ └── closing_loc: (294...297) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ └── operator_loc: (285...286) = "=" │ └── end_keyword_loc: (299...302) = "end" @@ -280,4 +280,4 @@ │ └── @ BreakNode (location: (304...309)) │ ├── arguments: ∅ │ └── keyword_loc: (304...309) = "break" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt b/test/yarp/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt index 3f0e5a9711..f208bfd44b 100644 --- a/test/yarp/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt +++ b/test/yarp/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt @@ -44,7 +44,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── consequent: │ @ ElseNode (location: (10...15)) diff --git a/test/yarp/snapshots/whitequark/and_asgn.txt b/test/yarp/snapshots/whitequark/and_asgn.txt index 7c4399a2be..a066cdad4d 100644 --- a/test/yarp/snapshots/whitequark/and_asgn.txt +++ b/test/yarp/snapshots/whitequark/and_asgn.txt @@ -20,7 +20,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "a" │ ├── write_name: "a=" │ ├── operator_loc: (6...9) = "&&=" @@ -50,7 +50,7 @@ │ └── @ IntegerNode (location: (20...21)) │ └── flags: decimal ├── closing_loc: (21...22) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator_loc: (23...26) = "&&=" diff --git a/test/yarp/snapshots/whitequark/anonymous_blockarg.txt b/test/yarp/snapshots/whitequark/anonymous_blockarg.txt index c145c0e919..8d7b301185 100644 --- a/test/yarp/snapshots/whitequark/anonymous_blockarg.txt +++ b/test/yarp/snapshots/whitequark/anonymous_blockarg.txt @@ -36,7 +36,7 @@ │ │ └── operator_loc: (16...17) = "&" │ ├── closing_loc: (17...18) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:&] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/arg_label.txt b/test/yarp/snapshots/whitequark/arg_label.txt index de3ad36588..154595a4fc 100644 --- a/test/yarp/snapshots/whitequark/arg_label.txt +++ b/test/yarp/snapshots/whitequark/arg_label.txt @@ -26,7 +26,7 @@ │ │ │ └── unescaped: "b" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── locals: [] │ ├── def_keyword_loc: (0...3) = "def" @@ -58,7 +58,7 @@ │ │ │ └── unescaped: "b" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── locals: [] │ ├── def_keyword_loc: (18...21) = "def" @@ -101,9 +101,9 @@ │ │ │ └── unescaped: "b" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a" │ ├── opening_loc: (39...40) = "{" │ └── closing_loc: (48...49) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/whitequark/arg_scope.txt b/test/yarp/snapshots/whitequark/arg_scope.txt index 352bb403b2..4fcb24b0f5 100644 --- a/test/yarp/snapshots/whitequark/arg_scope.txt +++ b/test/yarp/snapshots/whitequark/arg_scope.txt @@ -29,5 +29,5 @@ │ │ └── depth: 0 │ ├── opening_loc: (6...7) = "{" │ └── closing_loc: (12...13) = "}" - ├── flags: + ├── flags: ∅ └── name: "lambda" diff --git a/test/yarp/snapshots/whitequark/args_args_assocs.txt b/test/yarp/snapshots/whitequark/args_args_assocs.txt index 723cde18e5..ebec1c5256 100644 --- a/test/yarp/snapshots/whitequark/args_args_assocs.txt +++ b/test/yarp/snapshots/whitequark/args_args_assocs.txt @@ -36,7 +36,7 @@ │ │ └── operator_loc: (14...16) = "=>" │ ├── closing_loc: (18...19) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (21...46)) ├── receiver: ∅ @@ -84,5 +84,5 @@ │ └── operator_loc: (41...42) = "&" ├── closing_loc: (45...46) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/args_args_assocs_comma.txt b/test/yarp/snapshots/whitequark/args_args_assocs_comma.txt index a5e9b07ac4..df8e9cb739 100644 --- a/test/yarp/snapshots/whitequark/args_args_assocs_comma.txt +++ b/test/yarp/snapshots/whitequark/args_args_assocs_comma.txt @@ -46,5 +46,5 @@ │ └── operator_loc: (14...16) = "=>" ├── closing_loc: (19...20) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/args_args_comma.txt b/test/yarp/snapshots/whitequark/args_args_comma.txt index ab35f83c9f..361f36eb6e 100644 --- a/test/yarp/snapshots/whitequark/args_args_comma.txt +++ b/test/yarp/snapshots/whitequark/args_args_comma.txt @@ -33,5 +33,5 @@ │ └── name: "bar" ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/args_args_star.txt b/test/yarp/snapshots/whitequark/args_args_star.txt index 45abbfb674..6e40ad7fc2 100644 --- a/test/yarp/snapshots/whitequark/args_args_star.txt +++ b/test/yarp/snapshots/whitequark/args_args_star.txt @@ -36,7 +36,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (13...14) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (16...36)) ├── receiver: ∅ @@ -84,5 +84,5 @@ │ └── operator_loc: (31...32) = "&" ├── closing_loc: (35...36) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/args_assocs.txt b/test/yarp/snapshots/whitequark/args_assocs.txt index c0f356b7c1..4a49911aa3 100644 --- a/test/yarp/snapshots/whitequark/args_assocs.txt +++ b/test/yarp/snapshots/whitequark/args_assocs.txt @@ -26,7 +26,7 @@ │ │ └── operator_loc: (9...11) = "=>" │ ├── closing_loc: (13...14) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (16...36)) │ ├── receiver: ∅ @@ -64,7 +64,7 @@ │ │ └── operator_loc: (31...32) = "&" │ ├── closing_loc: (35...36) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (38...59)) │ ├── receiver: @@ -100,7 +100,7 @@ │ │ └── operator_loc: (55...57) = "=>" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (61...76)) │ ├── receiver: @@ -126,7 +126,7 @@ │ │ └── operator_loc: (71...73) = "=>" │ ├── closing_loc: (75...76) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ SuperNode (location: (78...95)) │ ├── keyword_loc: (78...83) = "super" diff --git a/test/yarp/snapshots/whitequark/args_assocs_comma.txt b/test/yarp/snapshots/whitequark/args_assocs_comma.txt index d32a2cd456..a37c01d525 100644 --- a/test/yarp/snapshots/whitequark/args_assocs_comma.txt +++ b/test/yarp/snapshots/whitequark/args_assocs_comma.txt @@ -36,5 +36,5 @@ │ └── operator_loc: (9...11) = "=>" ├── closing_loc: (14...15) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/args_assocs_legacy.txt b/test/yarp/snapshots/whitequark/args_assocs_legacy.txt index c0f356b7c1..4a49911aa3 100644 --- a/test/yarp/snapshots/whitequark/args_assocs_legacy.txt +++ b/test/yarp/snapshots/whitequark/args_assocs_legacy.txt @@ -26,7 +26,7 @@ │ │ └── operator_loc: (9...11) = "=>" │ ├── closing_loc: (13...14) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (16...36)) │ ├── receiver: ∅ @@ -64,7 +64,7 @@ │ │ └── operator_loc: (31...32) = "&" │ ├── closing_loc: (35...36) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (38...59)) │ ├── receiver: @@ -100,7 +100,7 @@ │ │ └── operator_loc: (55...57) = "=>" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]=" ├── @ CallNode (location: (61...76)) │ ├── receiver: @@ -126,7 +126,7 @@ │ │ └── operator_loc: (71...73) = "=>" │ ├── closing_loc: (75...76) = "]" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "[]" ├── @ SuperNode (location: (78...95)) │ ├── keyword_loc: (78...83) = "super" diff --git a/test/yarp/snapshots/whitequark/args_block_pass.txt b/test/yarp/snapshots/whitequark/args_block_pass.txt index 9cb1337a92..622f3fea37 100644 --- a/test/yarp/snapshots/whitequark/args_block_pass.txt +++ b/test/yarp/snapshots/whitequark/args_block_pass.txt @@ -26,5 +26,5 @@ │ └── operator_loc: (4...5) = "&" ├── closing_loc: (8...9) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/args_cmd.txt b/test/yarp/snapshots/whitequark/args_cmd.txt index 8a020d5b59..ea53fa675e 100644 --- a/test/yarp/snapshots/whitequark/args_cmd.txt +++ b/test/yarp/snapshots/whitequark/args_cmd.txt @@ -31,9 +31,9 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── closing_loc: (9...10) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/args_star.txt b/test/yarp/snapshots/whitequark/args_star.txt index c788c453af..5e1d0efe63 100644 --- a/test/yarp/snapshots/whitequark/args_star.txt +++ b/test/yarp/snapshots/whitequark/args_star.txt @@ -26,7 +26,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (8...9) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (11...26)) ├── receiver: ∅ @@ -64,5 +64,5 @@ │ └── operator_loc: (21...22) = "&" ├── closing_loc: (25...26) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/asgn_cmd.txt b/test/yarp/snapshots/whitequark/asgn_cmd.txt index 8b27981f84..d2d1b8ec07 100644 --- a/test/yarp/snapshots/whitequark/asgn_cmd.txt +++ b/test/yarp/snapshots/whitequark/asgn_cmd.txt @@ -26,7 +26,7 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "m" │ │ └── operator_loc: (10...11) = "=" │ └── operator_loc: (4...5) = "=" @@ -48,6 +48,6 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── operator_loc: (23...24) = "=" diff --git a/test/yarp/snapshots/whitequark/bang.txt b/test/yarp/snapshots/whitequark/bang.txt index aa518956d9..3fb4571b16 100644 --- a/test/yarp/snapshots/whitequark/bang.txt +++ b/test/yarp/snapshots/whitequark/bang.txt @@ -21,5 +21,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/whitequark/bang_cmd.txt b/test/yarp/snapshots/whitequark/bang_cmd.txt index 7473581844..e772f50514 100644 --- a/test/yarp/snapshots/whitequark/bang_cmd.txt +++ b/test/yarp/snapshots/whitequark/bang_cmd.txt @@ -25,7 +25,7 @@ │ │ └── name: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── call_operator_loc: ∅ ├── message_loc: (0...1) = "!" @@ -33,5 +33,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/whitequark/begin_cmdarg.txt b/test/yarp/snapshots/whitequark/begin_cmdarg.txt index 937448d32b..bb16a76261 100644 --- a/test/yarp/snapshots/whitequark/begin_cmdarg.txt +++ b/test/yarp/snapshots/whitequark/begin_cmdarg.txt @@ -36,7 +36,7 @@ │ │ │ │ └── flags: decimal │ │ │ ├── opening_loc: (16...18) = "do" │ │ │ └── closing_loc: (21...24) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "times" │ ├── rescue_clause: ∅ │ ├── else_clause: ∅ @@ -44,5 +44,5 @@ │ └── end_keyword_loc: (25...28) = "end" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/beginless_irange_after_newline.txt b/test/yarp/snapshots/whitequark/beginless_irange_after_newline.txt index c380049ce8..443cddbac2 100644 --- a/test/yarp/snapshots/whitequark/beginless_irange_after_newline.txt +++ b/test/yarp/snapshots/whitequark/beginless_irange_after_newline.txt @@ -19,4 +19,4 @@ │ @ IntegerNode (location: (6...9)) │ └── flags: decimal ├── operator_loc: (4...6) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/beginless_range.txt b/test/yarp/snapshots/whitequark/beginless_range.txt index 53b53bbce1..93140d84c3 100644 --- a/test/yarp/snapshots/whitequark/beginless_range.txt +++ b/test/yarp/snapshots/whitequark/beginless_range.txt @@ -16,4 +16,4 @@ │ @ IntegerNode (location: (10...13)) │ └── flags: decimal ├── operator_loc: (8...10) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/blockargs.txt b/test/yarp/snapshots/whitequark/blockargs.txt index 8dc2df4eab..0fb5a16e45 100644 --- a/test/yarp/snapshots/whitequark/blockargs.txt +++ b/test/yarp/snapshots/whitequark/blockargs.txt @@ -17,7 +17,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (1...2) = "{" │ │ └── closing_loc: (4...5) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (7...15)) │ ├── receiver: ∅ @@ -38,7 +38,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (8...9) = "{" │ │ └── closing_loc: (14...15) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (17...26)) │ ├── receiver: ∅ @@ -71,7 +71,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (18...19) = "{" │ │ └── closing_loc: (25...26) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (28...44)) │ ├── receiver: ∅ @@ -108,7 +108,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (29...30) = "{" │ │ └── closing_loc: (43...44) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (46...58)) │ ├── receiver: ∅ @@ -145,7 +145,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (47...48) = "{" │ │ └── closing_loc: (57...58) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (60...76)) │ ├── receiver: ∅ @@ -184,7 +184,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (61...62) = "{" │ │ └── closing_loc: (75...76) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (78...91)) │ ├── receiver: ∅ @@ -221,7 +221,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (79...80) = "{" │ │ └── closing_loc: (90...91) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (93...102)) │ ├── receiver: ∅ @@ -254,7 +254,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (94...95) = "{" │ │ └── closing_loc: (101...102) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (104...112)) │ ├── receiver: ∅ @@ -287,7 +287,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (105...106) = "{" │ │ └── closing_loc: (111...112) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (114...125)) │ ├── receiver: ∅ @@ -310,7 +310,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (115...116) = "{" │ │ └── closing_loc: (124...125) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (127...136)) │ ├── receiver: ∅ @@ -333,7 +333,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (128...129) = "{" │ │ └── closing_loc: (135...136) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (138...150)) │ ├── receiver: ∅ @@ -368,7 +368,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (139...140) = "{" │ │ └── closing_loc: (149...150) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (152...167)) │ ├── receiver: ∅ @@ -407,7 +407,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (153...154) = "{" │ │ └── closing_loc: (166...167) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (169...188)) │ ├── receiver: ∅ @@ -448,7 +448,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (170...171) = "{" │ │ └── closing_loc: (187...188) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (190...206)) │ ├── receiver: ∅ @@ -487,7 +487,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (191...192) = "{" │ │ └── closing_loc: (205...206) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (208...220)) │ ├── receiver: ∅ @@ -522,7 +522,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (209...210) = "{" │ │ └── closing_loc: (219...220) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (222...233)) │ ├── receiver: ∅ @@ -557,7 +557,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (223...224) = "{" │ │ └── closing_loc: (232...233) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (235...247)) │ ├── receiver: ∅ @@ -594,7 +594,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (236...237) = "{" │ │ └── closing_loc: (246...247) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (249...260)) │ ├── receiver: ∅ @@ -627,7 +627,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (250...251) = "{" │ │ └── closing_loc: (259...260) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (262...279)) │ ├── receiver: ∅ @@ -669,7 +669,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (263...264) = "{" │ │ └── closing_loc: (278...279) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (281...305)) │ ├── receiver: ∅ @@ -717,7 +717,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (282...283) = "{" │ │ └── closing_loc: (304...305) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (307...334)) │ ├── receiver: ∅ @@ -770,7 +770,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (308...309) = "{" │ │ └── closing_loc: (333...334) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (336...356)) │ ├── receiver: ∅ @@ -814,7 +814,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (337...338) = "{" │ │ └── closing_loc: (355...356) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (358...367)) │ ├── receiver: ∅ @@ -849,7 +849,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (359...360) = "{" │ │ └── closing_loc: (366...367) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (369...377)) │ ├── receiver: ∅ @@ -880,7 +880,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (370...371) = "{" │ │ └── closing_loc: (376...377) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (379...387)) │ ├── receiver: ∅ @@ -911,7 +911,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (380...381) = "{" │ │ └── closing_loc: (386...387) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (389...397)) │ ├── receiver: ∅ @@ -942,7 +942,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (390...391) = "{" │ │ └── closing_loc: (396...397) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (399...416)) │ ├── receiver: ∅ @@ -981,7 +981,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (400...401) = "{" │ │ └── closing_loc: (415...416) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (418...450)) │ ├── receiver: ∅ @@ -1030,7 +1030,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (419...420) = "{" │ │ └── closing_loc: (449...450) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (452...463)) │ ├── receiver: ∅ @@ -1063,7 +1063,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (453...454) = "{" │ │ └── closing_loc: (462...463) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (465...479)) │ ├── receiver: ∅ @@ -1103,7 +1103,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (466...467) = "{" │ │ └── closing_loc: (478...479) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (481...499)) │ ├── receiver: ∅ @@ -1147,7 +1147,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (482...483) = "{" │ │ └── closing_loc: (498...499) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (501...522)) │ ├── receiver: ∅ @@ -1193,7 +1193,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (502...503) = "{" │ │ └── closing_loc: (521...522) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ CallNode (location: (524...541)) │ ├── receiver: ∅ @@ -1235,7 +1235,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (525...526) = "{" │ │ └── closing_loc: (540...541) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" └── @ CallNode (location: (543...550)) ├── receiver: ∅ @@ -1256,5 +1256,5 @@ │ ├── body: ∅ │ ├── opening_loc: (544...545) = "{" │ └── closing_loc: (549...550) = "}" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/whitequark/break_block.txt b/test/yarp/snapshots/whitequark/break_block.txt index 04fc2bdcd6..27d5a25dfc 100644 --- a/test/yarp/snapshots/whitequark/break_block.txt +++ b/test/yarp/snapshots/whitequark/break_block.txt @@ -33,6 +33,6 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (14...16) = "do" │ │ └── closing_loc: (17...20) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── keyword_loc: (0...5) = "break" diff --git a/test/yarp/snapshots/whitequark/bug_447.txt b/test/yarp/snapshots/whitequark/bug_447.txt index 51903c29dc..af256bdaa3 100644 --- a/test/yarp/snapshots/whitequark/bug_447.txt +++ b/test/yarp/snapshots/whitequark/bug_447.txt @@ -23,7 +23,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (5...7) = "do" │ │ └── closing_loc: (8...11) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (13...27)) ├── receiver: ∅ @@ -47,5 +47,5 @@ │ ├── body: ∅ │ ├── opening_loc: (21...23) = "do" │ └── closing_loc: (24...27) = "end" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/bug_452.txt b/test/yarp/snapshots/whitequark/bug_452.txt index a3f25c4097..3654e0f3b5 100644 --- a/test/yarp/snapshots/whitequark/bug_452.txt +++ b/test/yarp/snapshots/whitequark/bug_452.txt @@ -27,11 +27,11 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: (20...21) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "toString" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "td" └── @ CallNode (location: (23...37)) ├── receiver: @@ -57,5 +57,5 @@ │ ├── body: ∅ │ ├── opening_loc: (30...32) = "do" │ └── closing_loc: (34...37) = "end" - ├── flags: + ├── flags: ∅ └── name: "num" diff --git a/test/yarp/snapshots/whitequark/bug_466.txt b/test/yarp/snapshots/whitequark/bug_466.txt index 49f7c26347..496987c57c 100644 --- a/test/yarp/snapshots/whitequark/bug_466.txt +++ b/test/yarp/snapshots/whitequark/bug_466.txt @@ -39,7 +39,7 @@ │ │ │ │ │ │ └── flags: decimal │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "+" │ │ │ │ ├── opening_loc: (7...8) = "(" │ │ │ │ └── closing_loc: (11...12) = ")" @@ -49,7 +49,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "to_i" │ │ └── closing_loc: (17...18) = "}" │ └── closing_loc: (18...19) = "\"" @@ -61,5 +61,5 @@ │ ├── body: ∅ │ ├── opening_loc: (20...22) = "do" │ └── closing_loc: (24...27) = "end" - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/whitequark/bug_473.txt b/test/yarp/snapshots/whitequark/bug_473.txt index 12228231e0..aede6114ae 100644 --- a/test/yarp/snapshots/whitequark/bug_473.txt +++ b/test/yarp/snapshots/whitequark/bug_473.txt @@ -27,5 +27,5 @@ │ └── closing_loc: (8...9) = "\"" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/bug_480.txt b/test/yarp/snapshots/whitequark/bug_480.txt index 242b25fe86..c3c8d0a9a9 100644 --- a/test/yarp/snapshots/whitequark/bug_480.txt +++ b/test/yarp/snapshots/whitequark/bug_480.txt @@ -31,5 +31,5 @@ │ └── closing_loc: (11...12) = "\"" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/bug_481.txt b/test/yarp/snapshots/whitequark/bug_481.txt index bfd66ff3a7..35ff181f48 100644 --- a/test/yarp/snapshots/whitequark/bug_481.txt +++ b/test/yarp/snapshots/whitequark/bug_481.txt @@ -26,7 +26,7 @@ │ │ └── end_keyword_loc: (11...14) = "end" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (16...28)) ├── receiver: @@ -44,5 +44,5 @@ │ ├── body: ∅ │ ├── opening_loc: (22...24) = "do" │ └── closing_loc: (25...28) = "end" - ├── flags: + ├── flags: ∅ └── name: "tap" diff --git a/test/yarp/snapshots/whitequark/bug_cmd_string_lookahead.txt b/test/yarp/snapshots/whitequark/bug_cmd_string_lookahead.txt index 997f487cb9..bd4516c834 100644 --- a/test/yarp/snapshots/whitequark/bug_cmd_string_lookahead.txt +++ b/test/yarp/snapshots/whitequark/bug_cmd_string_lookahead.txt @@ -24,5 +24,5 @@ │ ├── body: ∅ │ ├── opening_loc: (11...13) = "do" │ └── closing_loc: (14...17) = "end" - ├── flags: + ├── flags: ∅ └── name: "desc" diff --git a/test/yarp/snapshots/whitequark/bug_cmdarg.txt b/test/yarp/snapshots/whitequark/bug_cmdarg.txt index 9d1a7d3f74..1ff779b413 100644 --- a/test/yarp/snapshots/whitequark/bug_cmdarg.txt +++ b/test/yarp/snapshots/whitequark/bug_cmdarg.txt @@ -25,7 +25,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "assert" ├── @ CallNode (location: (17...28)) │ ├── receiver: ∅ @@ -47,7 +47,7 @@ │ │ └── name: "dogs" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "assert" └── @ CallNode (location: (30...56)) ├── receiver: ∅ @@ -90,10 +90,10 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (46...48) = "do" │ │ │ └── closing_loc: (49...52) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ └── operator_loc: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/whitequark/bug_do_block_in_call_args.txt b/test/yarp/snapshots/whitequark/bug_do_block_in_call_args.txt index b109b3fafc..854135e4e8 100644 --- a/test/yarp/snapshots/whitequark/bug_do_block_in_call_args.txt +++ b/test/yarp/snapshots/whitequark/bug_do_block_in_call_args.txt @@ -34,7 +34,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (23...25) = "do" │ │ │ └── closing_loc: (26...29) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "each" │ ├── locals: [] │ ├── def_keyword_loc: (4...7) = "def" @@ -45,5 +45,5 @@ │ └── end_keyword_loc: (30...33) = "end" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "bar" diff --git a/test/yarp/snapshots/whitequark/bug_do_block_in_cmdarg.txt b/test/yarp/snapshots/whitequark/bug_do_block_in_cmdarg.txt index f4a5db8bc3..068b4b8533 100644 --- a/test/yarp/snapshots/whitequark/bug_do_block_in_cmdarg.txt +++ b/test/yarp/snapshots/whitequark/bug_do_block_in_cmdarg.txt @@ -29,11 +29,11 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (10...12) = "do" │ │ │ └── closing_loc: (13...16) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "proc" │ ├── opening_loc: (4...5) = "(" │ └── closing_loc: (16...17) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "tap" diff --git a/test/yarp/snapshots/whitequark/bug_do_block_in_hash_brace.txt b/test/yarp/snapshots/whitequark/bug_do_block_in_hash_brace.txt index 62db6cd67b..554a663ba0 100644 --- a/test/yarp/snapshots/whitequark/bug_do_block_in_hash_brace.txt +++ b/test/yarp/snapshots/whitequark/bug_do_block_in_hash_brace.txt @@ -41,7 +41,7 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (19...21) = "do" │ │ │ │ │ │ └── closing_loc: (22...25) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "proc" │ │ │ │ └── operator_loc: ∅ │ │ │ └── @ AssocNode (location: (27...41)) @@ -66,13 +66,13 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (35...37) = "do" │ │ │ │ │ └── closing_loc: (38...41) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ └── operator_loc: ∅ │ │ └── closing_loc: (41...42) = "}" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (44...84)) │ ├── receiver: ∅ @@ -106,7 +106,7 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (61...63) = "do" │ │ │ │ │ │ └── closing_loc: (64...67) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "proc" │ │ │ │ └── operator_loc: (53...55) = "**" │ │ │ └── @ AssocNode (location: (69...83)) @@ -131,13 +131,13 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (77...79) = "do" │ │ │ │ │ └── closing_loc: (80...83) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ └── operator_loc: ∅ │ │ └── closing_loc: (83...84) = "}" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (86...129)) │ ├── receiver: ∅ @@ -177,7 +177,7 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (106...108) = "do" │ │ │ │ │ │ └── closing_loc: (109...112) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "proc" │ │ │ │ └── operator_loc: (98...100) = "=>" │ │ │ └── @ AssocNode (location: (114...128)) @@ -202,13 +202,13 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (122...124) = "do" │ │ │ │ │ └── closing_loc: (125...128) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ └── operator_loc: ∅ │ │ └── closing_loc: (128...129) = "}" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (131...171)) │ ├── receiver: ∅ @@ -248,7 +248,7 @@ │ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ │ ├── opening_loc: (148...150) = "do" │ │ │ │ │ │ └── closing_loc: (151...154) = "end" - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "proc" │ │ │ │ └── operator_loc: ∅ │ │ │ └── @ AssocNode (location: (156...170)) @@ -273,13 +273,13 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (164...166) = "do" │ │ │ │ │ └── closing_loc: (167...170) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ └── operator_loc: ∅ │ │ └── closing_loc: (170...171) = "}" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" └── @ CallNode (location: (173...225)) ├── receiver: ∅ @@ -313,7 +313,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (187...189) = "do" │ │ │ │ │ └── closing_loc: (190...193) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ ├── value: │ │ │ │ @ CallNode (location: (197...208)) @@ -330,7 +330,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (202...204) = "do" │ │ │ │ │ └── closing_loc: (205...208) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "proc" │ │ │ └── operator_loc: (194...196) = "=>" │ │ └── @ AssocNode (location: (210...224)) @@ -355,11 +355,11 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (218...220) = "do" │ │ │ │ └── closing_loc: (221...224) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "proc" │ │ └── operator_loc: ∅ │ └── closing_loc: (224...225) = "}" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/bug_heredoc_do.txt b/test/yarp/snapshots/whitequark/bug_heredoc_do.txt index 34cb4b2b80..d5c2381c9d 100644 --- a/test/yarp/snapshots/whitequark/bug_heredoc_do.txt +++ b/test/yarp/snapshots/whitequark/bug_heredoc_do.txt @@ -24,5 +24,5 @@ │ ├── body: ∅ │ ├── opening_loc: (11...13) = "do" │ └── closing_loc: (20...23) = "end" - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/whitequark/bug_while_not_parens_do.txt b/test/yarp/snapshots/whitequark/bug_while_not_parens_do.txt index e83bf79d72..46ae4cbca0 100644 --- a/test/yarp/snapshots/whitequark/bug_while_not_parens_do.txt +++ b/test/yarp/snapshots/whitequark/bug_while_not_parens_do.txt @@ -22,7 +22,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── statements: ∅ - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/class_definition_in_while_cond.txt b/test/yarp/snapshots/whitequark/class_definition_in_while_cond.txt index 0afe8336b4..90ef472d4f 100644 --- a/test/yarp/snapshots/whitequark/class_definition_in_while_cond.txt +++ b/test/yarp/snapshots/whitequark/class_definition_in_while_cond.txt @@ -35,7 +35,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (29...31) = "do" │ │ │ │ │ └── closing_loc: (32...35) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ └── operator_loc: (23...24) = "=" │ │ └── end_keyword_loc: (37...40) = "end" @@ -45,7 +45,7 @@ │ │ └── @ BreakNode (location: (42...47)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (42...47) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (54...102)) │ ├── keyword_loc: (54...59) = "while" │ ├── closing_loc: (99...102) = "end" @@ -73,7 +73,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (79...81) = "do" │ │ │ │ └── closing_loc: (82...85) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ └── end_keyword_loc: (87...90) = "end" │ ├── statements: @@ -82,7 +82,7 @@ │ │ └── @ BreakNode (location: (92...97)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (92...97) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (104...151)) │ ├── keyword_loc: (104...109) = "while" │ ├── closing_loc: (148...151) = "end" @@ -117,7 +117,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (128...130) = "do" │ │ │ │ │ └── closing_loc: (131...134) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ └── operator_loc: (122...123) = "=" │ │ ├── end_keyword_loc: (136...139) = "end" @@ -128,7 +128,7 @@ │ │ └── @ BreakNode (location: (141...146)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (141...146) = "break" - │ └── flags: + │ └── flags: ∅ └── @ WhileNode (location: (153...197)) ├── keyword_loc: (153...158) = "while" ├── closing_loc: (194...197) = "end" @@ -158,7 +158,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (174...176) = "do" │ │ │ └── closing_loc: (177...180) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "tap" │ ├── end_keyword_loc: (182...185) = "end" │ └── name: :Foo @@ -168,4 +168,4 @@ │ └── @ BreakNode (location: (187...192)) │ ├── arguments: ∅ │ └── keyword_loc: (187...192) = "break" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/class_super_label.txt b/test/yarp/snapshots/whitequark/class_super_label.txt index d462018f7b..5d2275843b 100644 --- a/test/yarp/snapshots/whitequark/class_super_label.txt +++ b/test/yarp/snapshots/whitequark/class_super_label.txt @@ -26,7 +26,7 @@ │ │ └── unescaped: "b" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── body: ∅ ├── end_keyword_loc: (17...20) = "end" diff --git a/test/yarp/snapshots/whitequark/comments_before_leading_dot__27.txt b/test/yarp/snapshots/whitequark/comments_before_leading_dot__27.txt index 95d91b2835..dabf6b05e7 100644 --- a/test/yarp/snapshots/whitequark/comments_before_leading_dot__27.txt +++ b/test/yarp/snapshots/whitequark/comments_before_leading_dot__27.txt @@ -41,7 +41,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" ├── @ CallNode (location: (31...42)) │ ├── receiver: @@ -81,5 +81,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/whitequark/cond_eflipflop.txt b/test/yarp/snapshots/whitequark/cond_eflipflop.txt index c525850a52..04eb325714 100644 --- a/test/yarp/snapshots/whitequark/cond_eflipflop.txt +++ b/test/yarp/snapshots/whitequark/cond_eflipflop.txt @@ -42,7 +42,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" └── @ IfNode (location: (14...31)) ├── if_keyword_loc: (14...16) = "if" diff --git a/test/yarp/snapshots/whitequark/cond_iflipflop.txt b/test/yarp/snapshots/whitequark/cond_iflipflop.txt index 42d728bc57..786a414acc 100644 --- a/test/yarp/snapshots/whitequark/cond_iflipflop.txt +++ b/test/yarp/snapshots/whitequark/cond_iflipflop.txt @@ -33,7 +33,7 @@ │ │ │ │ ├── flags: variable_call │ │ │ │ └── name: "bar" │ │ │ ├── operator_loc: (5...7) = ".." - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── opening_loc: (1...2) = "(" │ │ └── closing_loc: (10...11) = ")" │ ├── call_operator_loc: ∅ @@ -42,7 +42,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" └── @ IfNode (location: (13...29)) ├── if_keyword_loc: (13...15) = "if" @@ -71,7 +71,7 @@ │ │ ├── flags: variable_call │ │ └── name: "bar" │ ├── operator_loc: (19...21) = ".." - │ └── flags: + │ └── flags: ∅ ├── statements: ∅ ├── consequent: ∅ └── end_keyword_loc: (26...29) = "end" diff --git a/test/yarp/snapshots/whitequark/cond_match_current_line.txt b/test/yarp/snapshots/whitequark/cond_match_current_line.txt index 88e35d7ca0..c1f588c263 100644 --- a/test/yarp/snapshots/whitequark/cond_match_current_line.txt +++ b/test/yarp/snapshots/whitequark/cond_match_current_line.txt @@ -10,14 +10,14 @@ │ │ ├── content_loc: (2...5) = "wat" │ │ ├── closing_loc: (5...6) = "/" │ │ ├── unescaped: "wat" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (0...1) = "!" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" └── @ IfNode (location: (8...21)) ├── if_keyword_loc: (8...10) = "if" @@ -27,7 +27,7 @@ │ ├── content_loc: (12...15) = "wat" │ ├── closing_loc: (15...16) = "/" │ ├── unescaped: "wat" - │ └── flags: + │ └── flags: ∅ ├── statements: ∅ ├── consequent: ∅ └── end_keyword_loc: (18...21) = "end" diff --git a/test/yarp/snapshots/whitequark/dedenting_heredoc.txt b/test/yarp/snapshots/whitequark/dedenting_heredoc.txt index 564a8fa956..b5cb19c475 100644 --- a/test/yarp/snapshots/whitequark/dedenting_heredoc.txt +++ b/test/yarp/snapshots/whitequark/dedenting_heredoc.txt @@ -38,7 +38,7 @@ │ │ └── closing_loc: (26...28) = "E\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (29...37)) │ ├── receiver: ∅ @@ -80,7 +80,7 @@ │ │ └── closing_loc: (53...55) = "E\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (56...62)) │ ├── receiver: ∅ @@ -97,7 +97,7 @@ │ │ └── unescaped: "x\ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (79...85)) │ ├── receiver: ∅ @@ -114,7 +114,7 @@ │ │ └── unescaped: "\tx\ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (98...104)) │ ├── receiver: ∅ @@ -131,7 +131,7 @@ │ │ └── unescaped: "x\ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (125...131)) │ ├── receiver: ∅ @@ -148,7 +148,7 @@ │ │ └── unescaped: "\tx\ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (149...155)) │ ├── receiver: ∅ @@ -165,7 +165,7 @@ │ │ └── unescaped: " x\n\ty\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (171...177)) │ ├── receiver: ∅ @@ -182,7 +182,7 @@ │ │ └── unescaped: " x\n y\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (194...200)) │ ├── receiver: ∅ @@ -199,7 +199,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (206...212)) │ ├── receiver: ∅ @@ -216,7 +216,7 @@ │ │ └── unescaped: " x\n\ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (223...229)) │ ├── receiver: ∅ @@ -233,7 +233,7 @@ │ │ └── unescaped: "x\n \ny\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (246...252)) │ ├── receiver: ∅ @@ -250,7 +250,7 @@ │ │ └── unescaped: "x\n y\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (266...272)) │ ├── receiver: ∅ @@ -267,7 +267,7 @@ │ │ └── unescaped: "x\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (280...286)) │ ├── receiver: ∅ @@ -284,7 +284,7 @@ │ │ └── unescaped: "ð\n" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── @ CallNode (location: (295...301)) │ ├── receiver: ∅ @@ -301,7 +301,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" └── @ CallNode (location: (305...313)) ├── receiver: ∅ @@ -343,5 +343,5 @@ │ └── closing_loc: (329...331) = "E\n" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/endless_method.txt b/test/yarp/snapshots/whitequark/endless_method.txt index 3d42644037..904989742b 100644 --- a/test/yarp/snapshots/whitequark/endless_method.txt +++ b/test/yarp/snapshots/whitequark/endless_method.txt @@ -53,7 +53,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── locals: [:x] │ ├── def_keyword_loc: (16...19) = "def" @@ -132,7 +132,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── locals: [:x] ├── def_keyword_loc: (56...59) = "def" diff --git a/test/yarp/snapshots/whitequark/endless_method_command_syntax.txt b/test/yarp/snapshots/whitequark/endless_method_command_syntax.txt index dfdcb80b48..62bfdb6435 100644 --- a/test/yarp/snapshots/whitequark/endless_method_command_syntax.txt +++ b/test/yarp/snapshots/whitequark/endless_method_command_syntax.txt @@ -26,7 +26,7 @@ │ │ │ └── unescaped: "Hello" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [] │ ├── def_keyword_loc: (0...3) = "def" @@ -58,7 +58,7 @@ │ │ │ └── unescaped: "Hello" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [] │ ├── def_keyword_loc: (24...27) = "def" @@ -98,7 +98,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [:x] │ ├── def_keyword_loc: (50...53) = "def" @@ -140,7 +140,7 @@ │ │ │ └── unescaped: "Hello" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [] │ ├── def_keyword_loc: (71...74) = "def" @@ -182,7 +182,7 @@ │ │ │ └── unescaped: "Hello" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [] │ ├── def_keyword_loc: (99...102) = "def" @@ -232,7 +232,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "puts" │ ├── locals: [:x] │ ├── def_keyword_loc: (129...132) = "def" @@ -296,7 +296,7 @@ │ │ │ └── closing_loc: (213...214) = "\"" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── locals: [:x] │ ├── def_keyword_loc: (154...157) = "def" @@ -361,7 +361,7 @@ │ │ └── closing_loc: (277...278) = "\"" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── locals: [:x] ├── def_keyword_loc: (216...219) = "def" diff --git a/test/yarp/snapshots/whitequark/endless_method_forwarded_args_legacy.txt b/test/yarp/snapshots/whitequark/endless_method_forwarded_args_legacy.txt index d413f05d69..5e6f8314ed 100644 --- a/test/yarp/snapshots/whitequark/endless_method_forwarded_args_legacy.txt +++ b/test/yarp/snapshots/whitequark/endless_method_forwarded_args_legacy.txt @@ -31,7 +31,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (19...22)) │ ├── closing_loc: (22...23) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/for.txt b/test/yarp/snapshots/whitequark/for.txt index 4d126e3b20..daf73081e6 100644 --- a/test/yarp/snapshots/whitequark/for.txt +++ b/test/yarp/snapshots/whitequark/for.txt @@ -39,7 +39,7 @@ │ │ │ └── depth: 0 │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ ├── for_keyword_loc: (0...3) = "for" │ ├── in_keyword_loc: (6...8) = "in" @@ -81,7 +81,7 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── for_keyword_loc: (26...29) = "for" ├── in_keyword_loc: (32...34) = "in" diff --git a/test/yarp/snapshots/whitequark/for_mlhs.txt b/test/yarp/snapshots/whitequark/for_mlhs.txt index 49b758bd45..94e8f1ae25 100644 --- a/test/yarp/snapshots/whitequark/for_mlhs.txt +++ b/test/yarp/snapshots/whitequark/for_mlhs.txt @@ -45,7 +45,7 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "p" ├── for_keyword_loc: (0...3) = "for" ├── in_keyword_loc: (9...11) = "in" diff --git a/test/yarp/snapshots/whitequark/forward_arg.txt b/test/yarp/snapshots/whitequark/forward_arg.txt index ff91265da9..c695439378 100644 --- a/test/yarp/snapshots/whitequark/forward_arg.txt +++ b/test/yarp/snapshots/whitequark/forward_arg.txt @@ -31,7 +31,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (18...21)) │ ├── closing_loc: (21...22) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forward_arg_with_open_args.txt b/test/yarp/snapshots/whitequark/forward_arg_with_open_args.txt index 5067075b42..555d071d34 100644 --- a/test/yarp/snapshots/whitequark/forward_arg_with_open_args.txt +++ b/test/yarp/snapshots/whitequark/forward_arg_with_open_args.txt @@ -35,7 +35,7 @@ │ │ │ │ └── @ ForwardingArgumentsNode (location: (19...22)) │ │ │ ├── closing_loc: (22...23) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── locals: [:"..."] │ │ ├── def_keyword_loc: (1...4) = "def" @@ -78,7 +78,7 @@ │ │ │ │ └── @ ForwardingArgumentsNode (location: (48...51)) │ │ │ ├── closing_loc: (51...52) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "bar" │ │ ├── locals: [:"..."] │ │ ├── def_keyword_loc: (31...34) = "def" @@ -139,7 +139,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (94...97)) │ │ ├── closing_loc: (97...98) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:"..."] │ ├── def_keyword_loc: (77...80) = "def" @@ -178,7 +178,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (126...129)) │ │ ├── closing_loc: (129...130) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:a, :"..."] │ ├── def_keyword_loc: (105...108) = "def" @@ -217,7 +217,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (156...159)) │ │ ├── closing_loc: (159...160) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:a, :"..."] │ ├── def_keyword_loc: (136...139) = "def" @@ -292,7 +292,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (219...222)) │ │ ├── closing_loc: (222...223) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:b, :"..."] │ ├── def_keyword_loc: (194...197) = "def" @@ -336,7 +336,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (253...256)) │ │ ├── closing_loc: (256...257) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:b, :"..."] │ ├── def_keyword_loc: (229...232) = "def" @@ -375,7 +375,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (284...287)) │ ├── closing_loc: (287...288) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:a, :"..."] ├── def_keyword_loc: (264...267) = "def" diff --git a/test/yarp/snapshots/whitequark/forward_args_legacy.txt b/test/yarp/snapshots/whitequark/forward_args_legacy.txt index 4d6abd7034..74c1d4236e 100644 --- a/test/yarp/snapshots/whitequark/forward_args_legacy.txt +++ b/test/yarp/snapshots/whitequark/forward_args_legacy.txt @@ -31,7 +31,7 @@ │ │ │ └── @ ForwardingArgumentsNode (location: (18...21)) │ │ ├── closing_loc: (21...22) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "bar" │ ├── locals: [:"..."] │ ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt b/test/yarp/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt index 076b36b3fc..96ac76fccf 100644 --- a/test/yarp/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt +++ b/test/yarp/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt @@ -43,7 +43,7 @@ │ │ └── operator_loc: (37...39) = "**" │ ├── closing_loc: (39...40) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:argument, :**] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forwarded_argument_with_restarg.txt b/test/yarp/snapshots/whitequark/forwarded_argument_with_restarg.txt index 05005dc634..032ffec312 100644 --- a/test/yarp/snapshots/whitequark/forwarded_argument_with_restarg.txt +++ b/test/yarp/snapshots/whitequark/forwarded_argument_with_restarg.txt @@ -41,7 +41,7 @@ │ │ └── expression: ∅ │ ├── closing_loc: (37...38) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:argument, :*] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forwarded_kwrestarg.txt b/test/yarp/snapshots/whitequark/forwarded_kwrestarg.txt index bf434a4961..c8e7633349 100644 --- a/test/yarp/snapshots/whitequark/forwarded_kwrestarg.txt +++ b/test/yarp/snapshots/whitequark/forwarded_kwrestarg.txt @@ -38,7 +38,7 @@ │ │ └── operator_loc: (17...19) = "**" │ ├── closing_loc: (19...20) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:**] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt b/test/yarp/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt index 75132d5480..35fcf8b0b7 100644 --- a/test/yarp/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt +++ b/test/yarp/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt @@ -48,7 +48,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: (35...36) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:**] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/forwarded_restarg.txt b/test/yarp/snapshots/whitequark/forwarded_restarg.txt index 18c9075087..e55d4c8fa7 100644 --- a/test/yarp/snapshots/whitequark/forwarded_restarg.txt +++ b/test/yarp/snapshots/whitequark/forwarded_restarg.txt @@ -36,7 +36,7 @@ │ │ └── expression: ∅ │ ├── closing_loc: (17...18) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:*] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/hash_label_end.txt b/test/yarp/snapshots/whitequark/hash_label_end.txt index b01b889718..fcf66caad7 100644 --- a/test/yarp/snapshots/whitequark/hash_label_end.txt +++ b/test/yarp/snapshots/whitequark/hash_label_end.txt @@ -44,7 +44,7 @@ │ │ └── end_keyword_loc: ∅ │ ├── closing_loc: (11...12) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "f" ├── @ HashNode (location: (14...26)) │ ├── opening_loc: (14...15) = "{" diff --git a/test/yarp/snapshots/whitequark/if_while_after_class__since_32.txt b/test/yarp/snapshots/whitequark/if_while_after_class__since_32.txt index f058ec456a..8f0915d9ec 100644 --- a/test/yarp/snapshots/whitequark/if_while_after_class__since_32.txt +++ b/test/yarp/snapshots/whitequark/if_while_after_class__since_32.txt @@ -50,7 +50,7 @@ │ │ │ │ │ └── @ ConstantReadNode (location: (64...70)) │ │ │ │ │ └── name: :Object │ │ │ │ └── keyword_loc: (58...63) = "break" - │ │ │ └── flags: + │ │ │ └── flags: ∅ │ │ ├── child: │ │ │ @ ConstantReadNode (location: (76...82)) │ │ │ └── name: :Kernel @@ -105,7 +105,7 @@ │ │ │ │ └── @ ConstantReadNode (location: (155...161)) │ │ │ │ └── name: :Object │ │ │ └── keyword_loc: (149...154) = "break" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── child: │ │ @ ConstantReadNode (location: (167...173)) │ │ └── name: :Kernel diff --git a/test/yarp/snapshots/whitequark/interp_digit_var.txt b/test/yarp/snapshots/whitequark/interp_digit_var.txt index 4a29381c8b..d400516e19 100644 --- a/test/yarp/snapshots/whitequark/interp_digit_var.txt +++ b/test/yarp/snapshots/whitequark/interp_digit_var.txt @@ -92,13 +92,13 @@ │ ├── content_loc: (142...145) = "\#@1" │ ├── closing_loc: (145...146) = "}" │ ├── unescaped: "\#@1" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (150...158)) │ ├── opening_loc: (150...153) = "%r{" │ ├── content_loc: (153...157) = "\#@@1" │ ├── closing_loc: (157...158) = "}" │ ├── unescaped: "\#@@1" - │ └── flags: + │ └── flags: ∅ ├── @ SymbolNode (location: (162...169)) │ ├── opening_loc: (162...165) = "%s{" │ ├── value_loc: (165...168) = "\#@1" @@ -162,13 +162,13 @@ │ ├── content_loc: (276...279) = "\#@1" │ ├── closing_loc: (279...280) = "/" │ ├── unescaped: "\#@1" - │ └── flags: + │ └── flags: ∅ ├── @ RegularExpressionNode (location: (284...290)) │ ├── opening_loc: (284...285) = "/" │ ├── content_loc: (285...289) = "\#@@1" │ ├── closing_loc: (289...290) = "/" │ ├── unescaped: "\#@@1" - │ └── flags: + │ └── flags: ∅ ├── @ SymbolNode (location: (294...300)) │ ├── opening_loc: (294...296) = ":\"" │ ├── value_loc: (296...299) = "\#@1" diff --git a/test/yarp/snapshots/whitequark/keyword_argument_omission.txt b/test/yarp/snapshots/whitequark/keyword_argument_omission.txt index 3efdfeab13..6808bf12f7 100644 --- a/test/yarp/snapshots/whitequark/keyword_argument_omission.txt +++ b/test/yarp/snapshots/whitequark/keyword_argument_omission.txt @@ -33,5 +33,5 @@ │ └── operator_loc: ∅ ├── closing_loc: (10...11) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "foo" diff --git a/test/yarp/snapshots/whitequark/kwbegin_compstmt.txt b/test/yarp/snapshots/whitequark/kwbegin_compstmt.txt index 82468dc388..ea9495bac0 100644 --- a/test/yarp/snapshots/whitequark/kwbegin_compstmt.txt +++ b/test/yarp/snapshots/whitequark/kwbegin_compstmt.txt @@ -16,7 +16,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "foo!" │ └── @ CallNode (location: (12...16)) │ ├── receiver: ∅ @@ -26,7 +26,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar!" ├── rescue_clause: ∅ ├── else_clause: ∅ diff --git a/test/yarp/snapshots/whitequark/kwnilarg.txt b/test/yarp/snapshots/whitequark/kwnilarg.txt index 8280a5b590..40c7371e0b 100644 --- a/test/yarp/snapshots/whitequark/kwnilarg.txt +++ b/test/yarp/snapshots/whitequark/kwnilarg.txt @@ -80,5 +80,5 @@ │ ├── body: ∅ │ ├── opening_loc: (35...36) = "{" │ └── closing_loc: (45...46) = "}" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt b/test/yarp/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt index db8de6dbba..3143a319b3 100644 --- a/test/yarp/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt +++ b/test/yarp/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt @@ -43,7 +43,7 @@ │ │ └── operator_loc: (21...23) = "**" │ ├── closing_loc: (23...24) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "b" ├── locals: [:a, :**] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/lbrace_arg_after_command_args.txt b/test/yarp/snapshots/whitequark/lbrace_arg_after_command_args.txt index 3ceaa20b2d..6650533d42 100644 --- a/test/yarp/snapshots/whitequark/lbrace_arg_after_command_args.txt +++ b/test/yarp/snapshots/whitequark/lbrace_arg_after_command_args.txt @@ -44,9 +44,9 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (13...15) = "do" │ │ │ └── closing_loc: (17...20) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "m" │ ├── opening_loc: (9...10) = "{" │ └── closing_loc: (21...22) = "}" - ├── flags: + ├── flags: ∅ └── name: "let" diff --git a/test/yarp/snapshots/whitequark/lparenarg_after_lvar__since_25.txt b/test/yarp/snapshots/whitequark/lparenarg_after_lvar__since_25.txt index c84366fd23..822a160be6 100644 --- a/test/yarp/snapshots/whitequark/lparenarg_after_lvar__since_25.txt +++ b/test/yarp/snapshots/whitequark/lparenarg_after_lvar__since_25.txt @@ -26,11 +26,11 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "abs" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "foo" └── @ CallNode (location: (16...31)) ├── receiver: ∅ @@ -55,9 +55,9 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "abs" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "meth" diff --git a/test/yarp/snapshots/whitequark/lvar_injecting_match.txt b/test/yarp/snapshots/whitequark/lvar_injecting_match.txt index 6213094721..54d4937c5e 100644 --- a/test/yarp/snapshots/whitequark/lvar_injecting_match.txt +++ b/test/yarp/snapshots/whitequark/lvar_injecting_match.txt @@ -10,7 +10,7 @@ │ │ ├── content_loc: (1...14) = "(?<match>bar)" │ │ ├── closing_loc: (14...15) = "/" │ │ ├── unescaped: "(?<match>bar)" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── call_operator_loc: ∅ │ ├── message_loc: (16...18) = "=~" │ ├── opening_loc: ∅ @@ -24,7 +24,7 @@ │ │ └── unescaped: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" └── @ LocalVariableReadNode (location: (26...31)) ├── name: :match diff --git a/test/yarp/snapshots/whitequark/masgn_attr.txt b/test/yarp/snapshots/whitequark/masgn_attr.txt index 68a287fdb7..2c2fc1540d 100644 --- a/test/yarp/snapshots/whitequark/masgn_attr.txt +++ b/test/yarp/snapshots/whitequark/masgn_attr.txt @@ -14,7 +14,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "A=" │ │ └── @ LocalVariableTargetNode (location: (8...11)) │ │ ├── name: :foo @@ -37,7 +37,7 @@ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "a=" │ │ └── @ CallNode (location: (27...37)) │ │ ├── receiver: @@ -54,7 +54,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: (36...37) = "]" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "[]=" │ ├── lparen_loc: ∅ │ ├── rparen_loc: ∅ @@ -74,7 +74,7 @@ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "a=" │ └── @ LocalVariableTargetNode (location: (54...57)) │ ├── name: :foo diff --git a/test/yarp/snapshots/whitequark/masgn_cmd.txt b/test/yarp/snapshots/whitequark/masgn_cmd.txt index 4abcb4ca9f..8ec6fa3509 100644 --- a/test/yarp/snapshots/whitequark/masgn_cmd.txt +++ b/test/yarp/snapshots/whitequark/masgn_cmd.txt @@ -28,5 +28,5 @@ │ └── depth: 0 ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/method_definition_in_while_cond.txt b/test/yarp/snapshots/whitequark/method_definition_in_while_cond.txt index b2fe8dc705..6c0e1250b0 100644 --- a/test/yarp/snapshots/whitequark/method_definition_in_while_cond.txt +++ b/test/yarp/snapshots/whitequark/method_definition_in_while_cond.txt @@ -34,7 +34,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (22...24) = "do" │ │ │ │ │ └── closing_loc: (25...28) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ ├── rest: ∅ │ │ │ ├── posts: (length: 0) @@ -55,7 +55,7 @@ │ │ └── @ BreakNode (location: (35...40)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (35...40) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (47...89)) │ ├── keyword_loc: (47...52) = "while" │ ├── closing_loc: (86...89) = "end" @@ -82,7 +82,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (66...68) = "do" │ │ │ │ └── closing_loc: (69...72) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ ├── locals: [] │ │ ├── def_keyword_loc: (53...56) = "def" @@ -97,7 +97,7 @@ │ │ └── @ BreakNode (location: (79...84)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (79...84) = "break" - │ └── flags: + │ └── flags: ∅ ├── @ WhileNode (location: (91...141)) │ ├── keyword_loc: (91...96) = "while" │ ├── closing_loc: (138...141) = "end" @@ -130,7 +130,7 @@ │ │ │ │ │ ├── body: ∅ │ │ │ │ │ ├── opening_loc: (118...120) = "do" │ │ │ │ │ └── closing_loc: (121...124) = "end" - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "tap" │ │ │ ├── rest: ∅ │ │ │ ├── posts: (length: 0) @@ -151,7 +151,7 @@ │ │ └── @ BreakNode (location: (131...136)) │ │ ├── arguments: ∅ │ │ └── keyword_loc: (131...136) = "break" - │ └── flags: + │ └── flags: ∅ └── @ WhileNode (location: (143...190)) ├── keyword_loc: (143...148) = "while" ├── closing_loc: (187...190) = "end" @@ -179,7 +179,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (167...169) = "do" │ │ │ └── closing_loc: (170...173) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "tap" │ ├── locals: [] │ ├── def_keyword_loc: (149...152) = "def" @@ -194,4 +194,4 @@ │ └── @ BreakNode (location: (180...185)) │ ├── arguments: ∅ │ └── keyword_loc: (180...185) = "break" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/newline_in_hash_argument.txt b/test/yarp/snapshots/whitequark/newline_in_hash_argument.txt index 4f07fa4357..5e294850bd 100644 --- a/test/yarp/snapshots/whitequark/newline_in_hash_argument.txt +++ b/test/yarp/snapshots/whitequark/newline_in_hash_argument.txt @@ -102,7 +102,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "set" └── @ CallNode (location: (60...74)) ├── receiver: @@ -137,5 +137,5 @@ │ └── operator_loc: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "set" diff --git a/test/yarp/snapshots/whitequark/next_block.txt b/test/yarp/snapshots/whitequark/next_block.txt index 54c368892c..37400d267d 100644 --- a/test/yarp/snapshots/whitequark/next_block.txt +++ b/test/yarp/snapshots/whitequark/next_block.txt @@ -33,6 +33,6 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (13...15) = "do" │ │ └── closing_loc: (16...19) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── keyword_loc: (0...4) = "next" diff --git a/test/yarp/snapshots/whitequark/non_lvar_injecting_match.txt b/test/yarp/snapshots/whitequark/non_lvar_injecting_match.txt index f656a29929..9111de09ce 100644 --- a/test/yarp/snapshots/whitequark/non_lvar_injecting_match.txt +++ b/test/yarp/snapshots/whitequark/non_lvar_injecting_match.txt @@ -22,7 +22,7 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "(?<match>bar)" │ ├── closing_loc: (18...19) = "/" - │ └── flags: + │ └── flags: ∅ ├── call_operator_loc: ∅ ├── message_loc: (20...22) = "=~" ├── opening_loc: ∅ @@ -36,5 +36,5 @@ │ └── unescaped: "bar" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "=~" diff --git a/test/yarp/snapshots/whitequark/not.txt b/test/yarp/snapshots/whitequark/not.txt index f3286ebeff..2aeaccc2d8 100644 --- a/test/yarp/snapshots/whitequark/not.txt +++ b/test/yarp/snapshots/whitequark/not.txt @@ -21,7 +21,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" ├── @ CallNode (location: (9...14)) │ ├── receiver: ∅ @@ -31,7 +31,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (13...14) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!" └── @ CallNode (location: (16...24)) ├── receiver: @@ -51,5 +51,5 @@ ├── arguments: ∅ ├── closing_loc: (23...24) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/whitequark/not_cmd.txt b/test/yarp/snapshots/whitequark/not_cmd.txt index 9457f321ab..296a087ba5 100644 --- a/test/yarp/snapshots/whitequark/not_cmd.txt +++ b/test/yarp/snapshots/whitequark/not_cmd.txt @@ -25,7 +25,7 @@ │ │ └── name: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── call_operator_loc: ∅ ├── message_loc: (0...3) = "not" @@ -33,5 +33,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/whitequark/not_masgn__24.txt b/test/yarp/snapshots/whitequark/not_masgn__24.txt index d5e5d3c088..296cddf9c1 100644 --- a/test/yarp/snapshots/whitequark/not_masgn__24.txt +++ b/test/yarp/snapshots/whitequark/not_masgn__24.txt @@ -39,5 +39,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "!" diff --git a/test/yarp/snapshots/whitequark/numbered_args_after_27.txt b/test/yarp/snapshots/whitequark/numbered_args_after_27.txt index 376da483c4..c1cbe3c75f 100644 --- a/test/yarp/snapshots/whitequark/numbered_args_after_27.txt +++ b/test/yarp/snapshots/whitequark/numbered_args_after_27.txt @@ -42,7 +42,7 @@ │ │ └── name: "_9" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ LambdaNode (location: (19...32)) │ ├── locals: [] @@ -83,7 +83,7 @@ │ │ └── name: "_9" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (34...50)) │ ├── receiver: ∅ @@ -129,11 +129,11 @@ │ │ │ │ └── name: "_9" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ ├── opening_loc: (36...38) = "do" │ │ └── closing_loc: (47...50) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (52...65)) ├── receiver: ∅ @@ -179,9 +179,9 @@ │ │ │ └── name: "_9" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "+" │ ├── opening_loc: (54...55) = "{" │ └── closing_loc: (64...65) = "}" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/op_asgn.txt b/test/yarp/snapshots/whitequark/op_asgn.txt index 60df47b840..0b99b36409 100644 --- a/test/yarp/snapshots/whitequark/op_asgn.txt +++ b/test/yarp/snapshots/whitequark/op_asgn.txt @@ -20,7 +20,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "A" │ ├── write_name: "A=" │ ├── operator: :+ @@ -45,7 +45,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "a" │ ├── write_name: "a=" │ ├── operator: :+ @@ -70,7 +70,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "a" ├── write_name: "a=" ├── operator: :+ diff --git a/test/yarp/snapshots/whitequark/op_asgn_cmd.txt b/test/yarp/snapshots/whitequark/op_asgn_cmd.txt index d0a522d966..0eb79d224b 100644 --- a/test/yarp/snapshots/whitequark/op_asgn_cmd.txt +++ b/test/yarp/snapshots/whitequark/op_asgn_cmd.txt @@ -20,7 +20,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "A" │ ├── write_name: "A=" │ ├── operator: :+ @@ -46,7 +46,7 @@ │ │ └── name: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ CallOperatorWriteNode (location: (16...30)) │ ├── receiver: @@ -65,7 +65,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "a" │ ├── write_name: "a=" │ ├── operator: :+ @@ -91,7 +91,7 @@ │ │ └── name: "foo" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── @ ConstantPathOperatorWriteNode (location: (32...47)) │ ├── target: @@ -133,7 +133,7 @@ │ │ │ └── name: "foo" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "m" │ └── operator: :+ └── @ CallOperatorWriteNode (location: (49...64)) @@ -153,7 +153,7 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── flags: + ├── flags: ∅ ├── read_name: "a" ├── write_name: "a=" ├── operator: :+ @@ -179,5 +179,5 @@ │ └── name: "foo" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/op_asgn_index.txt b/test/yarp/snapshots/whitequark/op_asgn_index.txt index 8c212dd4c3..588ea23944 100644 --- a/test/yarp/snapshots/whitequark/op_asgn_index.txt +++ b/test/yarp/snapshots/whitequark/op_asgn_index.txt @@ -26,7 +26,7 @@ │ └── @ IntegerNode (location: (7...8)) │ └── flags: decimal ├── closing_loc: (8...9) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator: :+ diff --git a/test/yarp/snapshots/whitequark/op_asgn_index_cmd.txt b/test/yarp/snapshots/whitequark/op_asgn_index_cmd.txt index 6f803e8931..bc0794516a 100644 --- a/test/yarp/snapshots/whitequark/op_asgn_index_cmd.txt +++ b/test/yarp/snapshots/whitequark/op_asgn_index_cmd.txt @@ -26,7 +26,7 @@ │ └── @ IntegerNode (location: (7...8)) │ └── flags: decimal ├── closing_loc: (8...9) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator: :+ @@ -52,5 +52,5 @@ │ └── name: "foo" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/or_asgn.txt b/test/yarp/snapshots/whitequark/or_asgn.txt index 51822c1837..0b752638e2 100644 --- a/test/yarp/snapshots/whitequark/or_asgn.txt +++ b/test/yarp/snapshots/whitequark/or_asgn.txt @@ -20,7 +20,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "a" │ ├── write_name: "a=" │ ├── operator_loc: (6...9) = "||=" @@ -50,7 +50,7 @@ │ └── @ IntegerNode (location: (20...21)) │ └── flags: decimal ├── closing_loc: (21...22) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator_loc: (23...26) = "||=" diff --git a/test/yarp/snapshots/whitequark/parser_bug_272.txt b/test/yarp/snapshots/whitequark/parser_bug_272.txt index 9280c3078f..2766990546 100644 --- a/test/yarp/snapshots/whitequark/parser_bug_272.txt +++ b/test/yarp/snapshots/whitequark/parser_bug_272.txt @@ -36,5 +36,5 @@ │ ├── body: ∅ │ ├── opening_loc: (5...7) = "do" │ └── closing_loc: (12...15) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/whitequark/parser_bug_525.txt b/test/yarp/snapshots/whitequark/parser_bug_525.txt index 127a7d48b9..84afeb1cff 100644 --- a/test/yarp/snapshots/whitequark/parser_bug_525.txt +++ b/test/yarp/snapshots/whitequark/parser_bug_525.txt @@ -54,9 +54,9 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (21...23) = "do" │ │ │ └── closing_loc: (24...27) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "m3" │ ├── opening_loc: (12...14) = "do" │ └── closing_loc: (29...32) = "end" - ├── flags: + ├── flags: ∅ └── name: "m1" diff --git a/test/yarp/snapshots/whitequark/parser_bug_604.txt b/test/yarp/snapshots/whitequark/parser_bug_604.txt index 558c202863..50e5b00c0a 100644 --- a/test/yarp/snapshots/whitequark/parser_bug_604.txt +++ b/test/yarp/snapshots/whitequark/parser_bug_604.txt @@ -41,7 +41,7 @@ │ │ └── name: "b" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── closing_loc: ∅ ├── block: @@ -51,5 +51,5 @@ │ ├── body: ∅ │ ├── opening_loc: (8...10) = "do" │ └── closing_loc: (11...14) = "end" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/parser_bug_830.txt b/test/yarp/snapshots/whitequark/parser_bug_830.txt index 003f1cae27..4a3aadf57d 100644 --- a/test/yarp/snapshots/whitequark/parser_bug_830.txt +++ b/test/yarp/snapshots/whitequark/parser_bug_830.txt @@ -8,4 +8,4 @@ ├── content_loc: (1...3) = "\\(" ├── closing_loc: (3...4) = "/" ├── unescaped: "(" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt b/test/yarp/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt index 22f43ce752..2205d37dac 100644 --- a/test/yarp/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt +++ b/test/yarp/snapshots/whitequark/parser_slash_slash_n_escaping_in_literals.txt @@ -50,7 +50,7 @@ │ ├── content_loc: (61...65) = "a\\\nb" │ ├── closing_loc: (65...66) = "}" │ ├── unescaped: "ab" - │ └── flags: + │ └── flags: ∅ ├── @ SymbolNode (location: (68...76)) │ ├── opening_loc: (68...71) = "%s{" │ ├── value_loc: (71...75) = "a\\\nb" @@ -85,7 +85,7 @@ │ ├── content_loc: (116...120) = "a\\\nb" │ ├── closing_loc: (120...121) = "/" │ ├── unescaped: "ab" - │ └── flags: + │ └── flags: ∅ ├── @ SymbolNode (location: (123...130)) │ ├── opening_loc: (123...125) = ":\"" │ ├── value_loc: (125...129) = "a\\\nb" diff --git a/test/yarp/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt b/test/yarp/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt index 09b9d5192c..b36942b341 100644 --- a/test/yarp/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt +++ b/test/yarp/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt @@ -22,7 +22,7 @@ │ │ │ │ └── flags: decimal │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "+" │ │ └── @ SourceEncodingNode (location: (38...50)) │ ├── opening_loc: (13...14) = "[" diff --git a/test/yarp/snapshots/whitequark/procarg0.txt b/test/yarp/snapshots/whitequark/procarg0.txt index aeabf595d4..ca5faaeded 100644 --- a/test/yarp/snapshots/whitequark/procarg0.txt +++ b/test/yarp/snapshots/whitequark/procarg0.txt @@ -38,7 +38,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (2...3) = "{" │ │ └── closing_loc: (17...18) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (21...32)) ├── receiver: ∅ @@ -69,5 +69,5 @@ │ ├── body: ∅ │ ├── opening_loc: (23...24) = "{" │ └── closing_loc: (31...32) = "}" - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/range_inclusive.txt b/test/yarp/snapshots/whitequark/range_inclusive.txt index 5d75fb96c0..8d60ec4e5a 100644 --- a/test/yarp/snapshots/whitequark/range_inclusive.txt +++ b/test/yarp/snapshots/whitequark/range_inclusive.txt @@ -11,4 +11,4 @@ │ @ IntegerNode (location: (3...4)) │ └── flags: decimal ├── operator_loc: (1...3) = ".." - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/regex_interp.txt b/test/yarp/snapshots/whitequark/regex_interp.txt index e33362a7d7..7996cce824 100644 --- a/test/yarp/snapshots/whitequark/regex_interp.txt +++ b/test/yarp/snapshots/whitequark/regex_interp.txt @@ -33,4 +33,4 @@ │ ├── closing_loc: ∅ │ └── unescaped: "baz" ├── closing_loc: (13...14) = "/" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/rescue_without_begin_end.txt b/test/yarp/snapshots/whitequark/rescue_without_begin_end.txt index 5fbd3eb2df..b5622e355b 100644 --- a/test/yarp/snapshots/whitequark/rescue_without_begin_end.txt +++ b/test/yarp/snapshots/whitequark/rescue_without_begin_end.txt @@ -55,5 +55,5 @@ │ │ └── end_keyword_loc: (27...30) = "end" │ ├── opening_loc: (5...7) = "do" │ └── closing_loc: (27...30) = "end" - ├── flags: + ├── flags: ∅ └── name: "meth" diff --git a/test/yarp/snapshots/whitequark/return_block.txt b/test/yarp/snapshots/whitequark/return_block.txt index 6282fa328a..845e1fa1f6 100644 --- a/test/yarp/snapshots/whitequark/return_block.txt +++ b/test/yarp/snapshots/whitequark/return_block.txt @@ -34,5 +34,5 @@ │ ├── body: ∅ │ ├── opening_loc: (15...17) = "do" │ └── closing_loc: (18...21) = "end" - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_10653.txt b/test/yarp/snapshots/whitequark/ruby_bug_10653.txt index 25e74b46bb..89dd71f362 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_10653.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_10653.txt @@ -24,7 +24,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (14...16) = "do" │ │ │ └── closing_loc: (17...20) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── consequent: │ │ @ ElseNode (location: (21...33)) @@ -46,7 +46,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (27...29) = "do" │ │ │ │ └── closing_loc: (30...33) = "end" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ └── end_keyword_loc: ∅ │ └── end_keyword_loc: ∅ @@ -71,7 +71,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (49...50) = "{" │ │ │ └── closing_loc: (50...51) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── consequent: │ │ @ ElseNode (location: (52...60)) @@ -93,7 +93,7 @@ │ │ │ │ ├── body: ∅ │ │ │ │ ├── opening_loc: (58...59) = "{" │ │ │ │ └── closing_loc: (59...60) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "tap" │ │ └── end_keyword_loc: ∅ │ └── end_keyword_loc: ∅ @@ -148,11 +148,11 @@ │ │ │ │ └── depth: 0 │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "p" │ │ ├── opening_loc: (75...77) = "do" │ │ └── closing_loc: (86...89) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "tap" ├── consequent: │ @ ElseNode (location: (90...93)) diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11107.txt b/test/yarp/snapshots/whitequark/ruby_bug_11107.txt index b243fc8dea..c7bb8cd3f8 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11107.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11107.txt @@ -39,9 +39,9 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (14...16) = "do" │ │ └── closing_loc: (17...20) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11380.txt b/test/yarp/snapshots/whitequark/ruby_bug_11380.txt index e27749424d..d911bcbd7c 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11380.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11380.txt @@ -46,5 +46,5 @@ │ ├── body: ∅ │ ├── opening_loc: (22...24) = "do" │ └── closing_loc: (25...28) = "end" - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11873.txt b/test/yarp/snapshots/whitequark/ruby_bug_11873.txt index 55c6a8d68a..1b9efc461a 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11873.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11873.txt @@ -39,11 +39,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (7...8) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ StringNode (location: (10...13)) │ │ ├── opening_loc: (10...11) = "\"" @@ -58,7 +58,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (14...16) = "do" │ │ └── closing_loc: (17...20) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (22...42)) │ ├── receiver: ∅ @@ -96,18 +96,18 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (29...30) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (32...35)) │ │ ├── opening_loc: (32...33) = "/" │ │ ├── content_loc: (33...34) = "x" │ │ ├── closing_loc: (34...35) = "/" │ │ ├── unescaped: "x" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: │ │ @ BlockNode (location: (36...42)) @@ -116,7 +116,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (36...38) = "do" │ │ └── closing_loc: (39...42) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (44...65)) │ ├── receiver: ∅ @@ -154,11 +154,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (51...52) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (54...58)) │ │ ├── opening_loc: (54...55) = "/" @@ -174,7 +174,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (59...61) = "do" │ │ └── closing_loc: (62...65) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (67...88)) │ ├── receiver: ∅ @@ -212,11 +212,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (74...75) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (75...76) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ StringNode (location: (78...81)) │ │ ├── opening_loc: (78...79) = "\"" @@ -231,7 +231,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (82...84) = "do" │ │ └── closing_loc: (85...88) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (90...111)) │ ├── receiver: ∅ @@ -269,18 +269,18 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (97...98) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (98...99) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (101...104)) │ │ ├── opening_loc: (101...102) = "/" │ │ ├── content_loc: (102...103) = "x" │ │ ├── closing_loc: (103...104) = "/" │ │ ├── unescaped: "x" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: │ │ @ BlockNode (location: (105...111)) @@ -289,7 +289,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (105...107) = "do" │ │ └── closing_loc: (108...111) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (113...135)) │ ├── receiver: ∅ @@ -327,11 +327,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (120...121) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (121...122) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (124...128)) │ │ ├── opening_loc: (124...125) = "/" @@ -347,7 +347,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (129...131) = "do" │ │ └── closing_loc: (132...135) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (137...157)) │ ├── receiver: ∅ @@ -391,11 +391,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (140...141) = "{" │ │ │ │ └── closing_loc: (144...145) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ StringNode (location: (147...150)) │ │ ├── opening_loc: (147...148) = "\"" @@ -410,7 +410,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (151...153) = "do" │ │ └── closing_loc: (154...157) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (159...179)) │ ├── receiver: ∅ @@ -454,18 +454,18 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (162...163) = "{" │ │ │ │ └── closing_loc: (166...167) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (169...172)) │ │ ├── opening_loc: (169...170) = "/" │ │ ├── content_loc: (170...171) = "x" │ │ ├── closing_loc: (171...172) = "/" │ │ ├── unescaped: "x" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: │ │ @ BlockNode (location: (173...179)) @@ -474,7 +474,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (173...175) = "do" │ │ └── closing_loc: (176...179) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (181...202)) │ ├── receiver: ∅ @@ -518,11 +518,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (184...185) = "{" │ │ │ │ └── closing_loc: (188...189) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (191...195)) │ │ ├── opening_loc: (191...192) = "/" @@ -538,7 +538,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (196...198) = "do" │ │ └── closing_loc: (199...202) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (204...225)) │ ├── receiver: ∅ @@ -582,11 +582,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (211...212) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (207...208) = "{" │ │ │ │ └── closing_loc: (212...213) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ StringNode (location: (215...218)) │ │ ├── opening_loc: (215...216) = "\"" @@ -601,7 +601,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (219...221) = "do" │ │ └── closing_loc: (222...225) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (227...248)) │ ├── receiver: ∅ @@ -645,18 +645,18 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (234...235) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (230...231) = "{" │ │ │ │ └── closing_loc: (235...236) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RegularExpressionNode (location: (238...241)) │ │ ├── opening_loc: (238...239) = "/" │ │ ├── content_loc: (239...240) = "x" │ │ ├── closing_loc: (240...241) = "/" │ │ ├── unescaped: "x" - │ │ └── flags: + │ │ └── flags: ∅ │ ├── closing_loc: ∅ │ ├── block: │ │ @ BlockNode (location: (242...248)) @@ -665,7 +665,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (242...244) = "do" │ │ └── closing_loc: (245...248) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (250...272)) ├── receiver: ∅ @@ -709,11 +709,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (257...258) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── opening_loc: (253...254) = "{" │ │ │ └── closing_loc: (258...259) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ └── @ RegularExpressionNode (location: (261...265)) │ ├── opening_loc: (261...262) = "/" @@ -729,5 +729,5 @@ │ ├── body: ∅ │ ├── opening_loc: (266...268) = "do" │ └── closing_loc: (269...272) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11873_a.txt b/test/yarp/snapshots/whitequark/ruby_bug_11873_a.txt index b4a99f5d9d..77fc88ce44 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11873_a.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11873_a.txt @@ -39,11 +39,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (7...8) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ IntegerNode (location: (10...11)) │ │ └── flags: decimal @@ -55,7 +55,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (12...14) = "do" │ │ └── closing_loc: (15...18) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (20...40)) │ ├── receiver: ∅ @@ -93,11 +93,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (27...28) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ FloatNode (location: (30...33)) │ ├── closing_loc: ∅ @@ -108,7 +108,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (34...36) = "do" │ │ └── closing_loc: (37...40) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (42...63)) │ ├── receiver: ∅ @@ -146,11 +146,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (49...50) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ ImaginaryNode (location: (52...56)) │ │ └── numeric: @@ -163,7 +163,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (57...59) = "do" │ │ └── closing_loc: (60...63) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (65...86)) │ ├── receiver: ∅ @@ -201,11 +201,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (72...73) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RationalNode (location: (75...79)) │ │ └── numeric: @@ -218,7 +218,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (80...82) = "do" │ │ └── closing_loc: (83...86) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (88...107)) │ ├── receiver: ∅ @@ -256,11 +256,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (95...96) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ SymbolNode (location: (98...100)) │ │ ├── opening_loc: (98...99) = ":" @@ -275,7 +275,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (101...103) = "do" │ │ └── closing_loc: (104...107) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (109...128)) │ ├── receiver: ∅ @@ -313,11 +313,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (116...117) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (117...118) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ IntegerNode (location: (120...121)) │ │ └── flags: decimal @@ -329,7 +329,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (122...124) = "do" │ │ └── closing_loc: (125...128) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (130...151)) │ ├── receiver: ∅ @@ -367,11 +367,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (137...138) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (138...139) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ FloatNode (location: (141...144)) │ ├── closing_loc: ∅ @@ -382,7 +382,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (145...147) = "do" │ │ └── closing_loc: (148...151) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (153...175)) │ ├── receiver: ∅ @@ -420,11 +420,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (160...161) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (161...162) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ ImaginaryNode (location: (164...168)) │ │ └── numeric: @@ -437,7 +437,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (169...171) = "do" │ │ └── closing_loc: (172...175) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (177...199)) │ ├── receiver: ∅ @@ -475,11 +475,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (184...185) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (185...186) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RationalNode (location: (188...192)) │ │ └── numeric: @@ -492,7 +492,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (193...195) = "do" │ │ └── closing_loc: (196...199) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (201...221)) │ ├── receiver: ∅ @@ -530,11 +530,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (208...209) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── closing_loc: (209...210) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ SymbolNode (location: (212...214)) │ │ ├── opening_loc: (212...213) = ":" @@ -549,7 +549,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (215...217) = "do" │ │ └── closing_loc: (218...221) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (223...241)) │ ├── receiver: ∅ @@ -593,11 +593,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (226...227) = "{" │ │ │ │ └── closing_loc: (230...231) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ IntegerNode (location: (233...234)) │ │ └── flags: decimal @@ -609,7 +609,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (235...237) = "do" │ │ └── closing_loc: (238...241) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (243...263)) │ ├── receiver: ∅ @@ -653,11 +653,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (246...247) = "{" │ │ │ │ └── closing_loc: (250...251) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ FloatNode (location: (253...256)) │ ├── closing_loc: ∅ @@ -668,7 +668,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (257...259) = "do" │ │ └── closing_loc: (260...263) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (265...286)) │ ├── receiver: ∅ @@ -712,11 +712,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (268...269) = "{" │ │ │ │ └── closing_loc: (272...273) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ ImaginaryNode (location: (275...279)) │ │ └── numeric: @@ -729,7 +729,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (280...282) = "do" │ │ └── closing_loc: (283...286) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (288...309)) │ ├── receiver: ∅ @@ -773,11 +773,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (291...292) = "{" │ │ │ │ └── closing_loc: (295...296) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RationalNode (location: (298...302)) │ │ └── numeric: @@ -790,7 +790,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (303...305) = "do" │ │ └── closing_loc: (306...309) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (311...330)) │ ├── receiver: ∅ @@ -834,11 +834,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (314...315) = "{" │ │ │ │ └── closing_loc: (318...319) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ SymbolNode (location: (321...323)) │ │ ├── opening_loc: (321...322) = ":" @@ -853,7 +853,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (324...326) = "do" │ │ └── closing_loc: (327...330) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (332...351)) │ ├── receiver: ∅ @@ -897,11 +897,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (339...340) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (335...336) = "{" │ │ │ │ └── closing_loc: (340...341) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ IntegerNode (location: (343...344)) │ │ └── flags: decimal @@ -913,7 +913,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (345...347) = "do" │ │ └── closing_loc: (348...351) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (353...374)) │ ├── receiver: ∅ @@ -957,11 +957,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (360...361) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (356...357) = "{" │ │ │ │ └── closing_loc: (361...362) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ FloatNode (location: (364...367)) │ ├── closing_loc: ∅ @@ -972,7 +972,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (368...370) = "do" │ │ └── closing_loc: (371...374) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (376...398)) │ ├── receiver: ∅ @@ -1016,11 +1016,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (383...384) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (379...380) = "{" │ │ │ │ └── closing_loc: (384...385) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ ImaginaryNode (location: (387...391)) │ │ └── numeric: @@ -1033,7 +1033,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (392...394) = "do" │ │ └── closing_loc: (395...398) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" ├── @ CallNode (location: (400...422)) │ ├── receiver: ∅ @@ -1077,11 +1077,11 @@ │ │ │ │ │ │ └── name: "d" │ │ │ │ │ ├── closing_loc: (407...408) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "c" │ │ │ │ ├── opening_loc: (403...404) = "{" │ │ │ │ └── closing_loc: (408...409) = "}" - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "b" │ │ └── @ RationalNode (location: (411...415)) │ │ └── numeric: @@ -1094,7 +1094,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (416...418) = "do" │ │ └── closing_loc: (419...422) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ CallNode (location: (424...444)) ├── receiver: ∅ @@ -1138,11 +1138,11 @@ │ │ │ │ │ └── name: "d" │ │ │ │ ├── closing_loc: (431...432) = ")" │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "c" │ │ │ ├── opening_loc: (427...428) = "{" │ │ │ └── closing_loc: (432...433) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "b" │ └── @ SymbolNode (location: (435...437)) │ ├── opening_loc: (435...436) = ":" @@ -1157,5 +1157,5 @@ │ ├── body: ∅ │ ├── opening_loc: (438...440) = "do" │ └── closing_loc: (441...444) = "end" - ├── flags: + ├── flags: ∅ └── name: "a" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11873_b.txt b/test/yarp/snapshots/whitequark/ruby_bug_11873_b.txt index b3d200eb89..6aa77e1a2d 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11873_b.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11873_b.txt @@ -45,7 +45,7 @@ │ │ │ │ │ │ └── name: "p" │ │ │ │ │ ├── closing_loc: (7...8) = ")" │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ ├── flags: + │ │ │ │ │ ├── flags: ∅ │ │ │ │ │ └── name: "p" │ │ │ │ └── @ CallNode (location: (9...12)) │ │ │ │ ├── receiver: ∅ @@ -67,11 +67,11 @@ │ │ │ │ │ └── name: "p" │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: + │ │ │ │ ├── flags: ∅ │ │ │ │ └── name: "p" │ │ │ ├── opening_loc: (3...4) = "{" │ │ │ └── closing_loc: (12...13) = "}" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "p" │ └── @ CallNode (location: (15...18)) │ ├── receiver: ∅ @@ -91,5 +91,5 @@ │ ├── body: ∅ │ ├── opening_loc: (19...21) = "do" │ └── closing_loc: (22...25) = "end" - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11989.txt b/test/yarp/snapshots/whitequark/ruby_bug_11989.txt index a15435f272..9ac30763a0 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11989.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11989.txt @@ -18,5 +18,5 @@ │ └── unescaped: "x\n y\n" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_11990.txt b/test/yarp/snapshots/whitequark/ruby_bug_11990.txt index 5bdb43c096..34ad91b5dc 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_11990.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_11990.txt @@ -26,5 +26,5 @@ │ └── unescaped: " y" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "p" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_12073.txt b/test/yarp/snapshots/whitequark/ruby_bug_12073.txt index 329c7eacdd..c52ce2cdea 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_12073.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_12073.txt @@ -34,7 +34,7 @@ │ │ └── operator_loc: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a" └── @ DefNode (location: (15...49)) ├── name: :foo @@ -77,7 +77,7 @@ │ │ └── unescaped: "" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── locals: [:raise] ├── def_keyword_loc: (15...18) = "def" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_12402.txt b/test/yarp/snapshots/whitequark/ruby_bug_12402.txt index 8c0f7baef9..c434aa6546 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_12402.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_12402.txt @@ -32,7 +32,7 @@ │ │ │ @ NilNode (location: (24...27)) │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── name: :foo │ ├── operator: :+ @@ -63,7 +63,7 @@ │ │ │ │ └── name: "bar" │ │ │ ├── closing_loc: (45...46) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ ├── keyword_loc: (47...53) = "rescue" │ │ └── rescue_expression: @@ -101,7 +101,7 @@ │ │ │ @ NilNode (location: (82...85)) │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ └── operator_loc: (63...64) = "=" ├── @ LocalVariableWriteNode (location: (87...114)) @@ -131,7 +131,7 @@ │ │ │ │ └── name: "bar" │ │ │ ├── closing_loc: (102...103) = ")" │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ ├── keyword_loc: (104...110) = "rescue" │ │ └── rescue_expression: @@ -147,7 +147,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "C" │ ├── write_name: "C=" │ ├── operator: :+ @@ -178,7 +178,7 @@ │ │ @ NilNode (location: (142...145)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── @ CallOperatorWriteNode (location: (147...177)) │ ├── receiver: @@ -190,7 +190,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "C" │ ├── write_name: "C=" │ ├── operator: :+ @@ -218,7 +218,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (165...166) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── keyword_loc: (167...173) = "rescue" │ └── rescue_expression: @@ -233,7 +233,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "m" │ ├── write_name: "m=" │ ├── operator: :+ @@ -264,7 +264,7 @@ │ │ @ NilNode (location: (205...208)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── @ CallOperatorWriteNode (location: (210...240)) │ ├── receiver: @@ -276,7 +276,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "m" │ ├── write_name: "m=" │ ├── operator: :+ @@ -304,7 +304,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (228...229) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── keyword_loc: (230...236) = "rescue" │ └── rescue_expression: @@ -347,7 +347,7 @@ │ │ @ NilNode (location: (270...273)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── @ ConstantPathOrWriteNode (location: (275...307)) │ ├── target: @@ -384,7 +384,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (295...296) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── keyword_loc: (297...303) = "rescue" │ └── rescue_expression: @@ -399,7 +399,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "m" │ ├── write_name: "m=" │ ├── operator: :+ @@ -430,7 +430,7 @@ │ │ @ NilNode (location: (336...339)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── @ CallOperatorWriteNode (location: (341...372)) │ ├── receiver: @@ -442,7 +442,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "m" │ ├── write_name: "m=" │ ├── operator: :+ @@ -470,7 +470,7 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: (360...361) = ")" │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ ├── keyword_loc: (362...368) = "rescue" │ └── rescue_expression: @@ -489,7 +489,7 @@ │ │ └── @ IntegerNode (location: (378...379)) │ │ └── flags: decimal │ ├── closing_loc: (379...380) = "]" - │ ├── flags: + │ ├── flags: ∅ │ ├── read_name: "[]" │ ├── write_name: "[]=" │ ├── operator: :+ @@ -520,7 +520,7 @@ │ │ @ NilNode (location: (401...404)) │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" └── @ CallOperatorWriteNode (location: (406...437)) ├── receiver: @@ -536,7 +536,7 @@ │ └── @ IntegerNode (location: (410...411)) │ └── flags: decimal ├── closing_loc: (411...412) = "]" - ├── flags: + ├── flags: ∅ ├── read_name: "[]" ├── write_name: "[]=" ├── operator: :+ @@ -564,7 +564,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (425...426) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "raise" ├── keyword_loc: (427...433) = "rescue" └── rescue_expression: diff --git a/test/yarp/snapshots/whitequark/ruby_bug_12669.txt b/test/yarp/snapshots/whitequark/ruby_bug_12669.txt index 01cff7933d..48c3d04642 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_12669.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_12669.txt @@ -26,7 +26,7 @@ │ │ │ │ └── unescaped: "x" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ ├── name: :b │ │ ├── operator: :+ @@ -58,7 +58,7 @@ │ │ │ │ └── unescaped: "x" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ └── operator_loc: (27...28) = "=" │ ├── name: :a @@ -88,7 +88,7 @@ │ │ │ │ └── unescaped: "x" │ │ │ ├── closing_loc: ∅ │ │ │ ├── block: ∅ - │ │ │ ├── flags: + │ │ │ ├── flags: ∅ │ │ │ └── name: "raise" │ │ ├── name: :b │ │ ├── operator: :+ @@ -119,7 +119,7 @@ │ │ │ └── unescaped: "x" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "raise" │ └── operator_loc: (64...65) = "=" └── operator_loc: (60...61) = "=" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_12686.txt b/test/yarp/snapshots/whitequark/ruby_bug_12686.txt index c6daf187b9..020064b7b3 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_12686.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_12686.txt @@ -34,5 +34,5 @@ │ └── closing_loc: (15...16) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "f" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_13547.txt b/test/yarp/snapshots/whitequark/ruby_bug_13547.txt index 519811f79f..b71baf7a29 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_13547.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_13547.txt @@ -27,5 +27,5 @@ │ ├── body: ∅ │ ├── opening_loc: (7...8) = "{" │ └── closing_loc: (8...9) = "}" - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_14690.txt b/test/yarp/snapshots/whitequark/ruby_bug_14690.txt index 1798a4c37c..46230ca154 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_14690.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_14690.txt @@ -49,9 +49,9 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (14...16) = "do" │ │ │ └── closing_loc: (18...21) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "m" │ ├── opening_loc: (7...8) = "{" │ └── closing_loc: (22...23) = "}" - ├── flags: + ├── flags: ∅ └── name: "let" diff --git a/test/yarp/snapshots/whitequark/ruby_bug_15789.txt b/test/yarp/snapshots/whitequark/ruby_bug_15789.txt index c583841fc4..d2ff89848a 100644 --- a/test/yarp/snapshots/whitequark/ruby_bug_15789.txt +++ b/test/yarp/snapshots/whitequark/ruby_bug_15789.txt @@ -62,7 +62,7 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" └── @ CallNode (location: (22...41)) ├── receiver: ∅ @@ -122,5 +122,5 @@ │ └── depth: 0 ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "m" diff --git a/test/yarp/snapshots/whitequark/send_attr_asgn.txt b/test/yarp/snapshots/whitequark/send_attr_asgn.txt index 16dcf054df..63e2c933d4 100644 --- a/test/yarp/snapshots/whitequark/send_attr_asgn.txt +++ b/test/yarp/snapshots/whitequark/send_attr_asgn.txt @@ -25,7 +25,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "A=" ├── @ CallNode (location: (11...20)) │ ├── receiver: @@ -49,7 +49,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "a=" ├── @ ConstantPathWriteNode (location: (22...32)) │ ├── target: @@ -95,5 +95,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "a=" diff --git a/test/yarp/snapshots/whitequark/send_binary_op.txt b/test/yarp/snapshots/whitequark/send_binary_op.txt index 568a3004bf..4d88bc18ee 100644 --- a/test/yarp/snapshots/whitequark/send_binary_op.txt +++ b/test/yarp/snapshots/whitequark/send_binary_op.txt @@ -25,7 +25,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!=" ├── @ CallNode (location: (10...18)) │ ├── receiver: @@ -49,7 +49,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "!~" ├── @ CallNode (location: (20...27)) │ ├── receiver: @@ -73,7 +73,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "%" ├── @ CallNode (location: (29...36)) │ ├── receiver: @@ -97,7 +97,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "&" ├── @ CallNode (location: (38...45)) │ ├── receiver: @@ -121,7 +121,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "*" ├── @ CallNode (location: (47...55)) │ ├── receiver: @@ -145,7 +145,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" ├── @ CallNode (location: (57...64)) │ ├── receiver: @@ -169,7 +169,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+" ├── @ CallNode (location: (66...73)) │ ├── receiver: @@ -193,7 +193,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-" ├── @ CallNode (location: (75...82)) │ ├── receiver: @@ -217,7 +217,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "/" ├── @ CallNode (location: (84...91)) │ ├── receiver: @@ -241,7 +241,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<" ├── @ CallNode (location: (93...101)) │ ├── receiver: @@ -265,7 +265,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<<" ├── @ CallNode (location: (103...111)) │ ├── receiver: @@ -289,7 +289,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<=" ├── @ CallNode (location: (113...122)) │ ├── receiver: @@ -313,7 +313,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "<=>" ├── @ CallNode (location: (124...132)) │ ├── receiver: @@ -337,7 +337,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "==" ├── @ CallNode (location: (134...143)) │ ├── receiver: @@ -361,7 +361,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "===" ├── @ CallNode (location: (145...153)) │ ├── receiver: @@ -385,7 +385,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "=~" ├── @ CallNode (location: (155...162)) │ ├── receiver: @@ -409,7 +409,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">" ├── @ CallNode (location: (164...172)) │ ├── receiver: @@ -433,7 +433,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">=" ├── @ CallNode (location: (174...182)) │ ├── receiver: @@ -457,7 +457,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: ">>" ├── @ CallNode (location: (184...191)) │ ├── receiver: @@ -481,7 +481,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "^" └── @ CallNode (location: (193...200)) ├── receiver: @@ -505,5 +505,5 @@ │ └── flags: decimal ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "|" diff --git a/test/yarp/snapshots/whitequark/send_block_chain_cmd.txt b/test/yarp/snapshots/whitequark/send_block_chain_cmd.txt index ebf31f95f5..95edb0751f 100644 --- a/test/yarp/snapshots/whitequark/send_block_chain_cmd.txt +++ b/test/yarp/snapshots/whitequark/send_block_chain_cmd.txt @@ -23,7 +23,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (7...9) = "do" │ │ │ └── closing_loc: (10...13) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (13...14) = "." │ ├── message_loc: (14...17) = "fun" @@ -43,7 +43,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (23...51)) │ ├── receiver: @@ -65,7 +65,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (30...32) = "do" │ │ │ └── closing_loc: (33...36) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (36...37) = "." │ ├── message_loc: (37...40) = "fun" @@ -91,7 +91,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (45...47) = "do" │ │ └── closing_loc: (48...51) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (53...73)) │ ├── receiver: @@ -113,7 +113,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (60...62) = "do" │ │ │ └── closing_loc: (63...66) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (66...67) = "." │ ├── message_loc: (67...70) = "fun" @@ -127,7 +127,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (71...72) = "{" │ │ └── closing_loc: (72...73) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (75...97)) │ ├── receiver: @@ -149,7 +149,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (82...84) = "do" │ │ │ └── closing_loc: (85...88) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (88...89) = "." │ ├── message_loc: (89...92) = "fun" @@ -169,7 +169,7 @@ │ │ └── name: "bar" │ ├── closing_loc: (96...97) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (99...124)) │ ├── receiver: @@ -191,7 +191,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (106...108) = "do" │ │ │ └── closing_loc: (109...112) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (112...113) = "." │ ├── message_loc: (113...116) = "fun" @@ -217,7 +217,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (122...123) = "{" │ │ └── closing_loc: (123...124) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (126...148)) │ ├── receiver: @@ -239,7 +239,7 @@ │ │ │ ├── body: ∅ │ │ │ ├── opening_loc: (133...135) = "do" │ │ │ └── closing_loc: (136...139) = "end" - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "meth" │ ├── call_operator_loc: (139...141) = "::" │ ├── message_loc: (141...144) = "fun" @@ -259,7 +259,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (150...173)) ├── receiver: @@ -281,7 +281,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (157...159) = "do" │ │ └── closing_loc: (160...163) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "meth" ├── call_operator_loc: (163...165) = "::" ├── message_loc: (165...168) = "fun" @@ -301,5 +301,5 @@ │ └── name: "bar" ├── closing_loc: (172...173) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/send_call.txt b/test/yarp/snapshots/whitequark/send_call.txt index aa79384828..425f16624e 100644 --- a/test/yarp/snapshots/whitequark/send_call.txt +++ b/test/yarp/snapshots/whitequark/send_call.txt @@ -25,7 +25,7 @@ │ │ └── flags: decimal │ ├── closing_loc: (6...7) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "call" └── @ CallNode (location: (9...17)) ├── receiver: @@ -49,5 +49,5 @@ │ └── flags: decimal ├── closing_loc: (16...17) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "call" diff --git a/test/yarp/snapshots/whitequark/send_index.txt b/test/yarp/snapshots/whitequark/send_index.txt index 3f140ae0ef..696056d542 100644 --- a/test/yarp/snapshots/whitequark/send_index.txt +++ b/test/yarp/snapshots/whitequark/send_index.txt @@ -27,5 +27,5 @@ │ └── flags: decimal ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/send_index_asgn.txt b/test/yarp/snapshots/whitequark/send_index_asgn.txt index 8eb87e901f..d5bcd0e1db 100644 --- a/test/yarp/snapshots/whitequark/send_index_asgn.txt +++ b/test/yarp/snapshots/whitequark/send_index_asgn.txt @@ -29,5 +29,5 @@ │ └── flags: decimal ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/whitequark/send_index_asgn_legacy.txt b/test/yarp/snapshots/whitequark/send_index_asgn_legacy.txt index 8eb87e901f..d5bcd0e1db 100644 --- a/test/yarp/snapshots/whitequark/send_index_asgn_legacy.txt +++ b/test/yarp/snapshots/whitequark/send_index_asgn_legacy.txt @@ -29,5 +29,5 @@ │ └── flags: decimal ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]=" diff --git a/test/yarp/snapshots/whitequark/send_index_cmd.txt b/test/yarp/snapshots/whitequark/send_index_cmd.txt index c0d3eade6d..a62fd1d882 100644 --- a/test/yarp/snapshots/whitequark/send_index_cmd.txt +++ b/test/yarp/snapshots/whitequark/send_index_cmd.txt @@ -41,9 +41,9 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── closing_loc: (9...10) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/send_index_legacy.txt b/test/yarp/snapshots/whitequark/send_index_legacy.txt index 3f140ae0ef..696056d542 100644 --- a/test/yarp/snapshots/whitequark/send_index_legacy.txt +++ b/test/yarp/snapshots/whitequark/send_index_legacy.txt @@ -27,5 +27,5 @@ │ └── flags: decimal ├── closing_loc: (8...9) = "]" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "[]" diff --git a/test/yarp/snapshots/whitequark/send_plain.txt b/test/yarp/snapshots/whitequark/send_plain.txt index 00af7a0915..ef9f066435 100644 --- a/test/yarp/snapshots/whitequark/send_plain.txt +++ b/test/yarp/snapshots/whitequark/send_plain.txt @@ -21,7 +21,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (9...19)) │ ├── receiver: @@ -41,7 +41,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: (18...19) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Fun" └── @ CallNode (location: (21...29)) ├── receiver: @@ -61,5 +61,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/send_plain_cmd.txt b/test/yarp/snapshots/whitequark/send_plain_cmd.txt index d2b17c26e6..ad6da783fd 100644 --- a/test/yarp/snapshots/whitequark/send_plain_cmd.txt +++ b/test/yarp/snapshots/whitequark/send_plain_cmd.txt @@ -33,7 +33,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (13...25)) │ ├── receiver: @@ -65,7 +65,7 @@ │ │ └── name: "bar" │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "Fun" └── @ CallNode (location: (27...39)) ├── receiver: @@ -97,5 +97,5 @@ │ └── name: "bar" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/send_self.txt b/test/yarp/snapshots/whitequark/send_self.txt index c56fd57cbd..69218da4f9 100644 --- a/test/yarp/snapshots/whitequark/send_self.txt +++ b/test/yarp/snapshots/whitequark/send_self.txt @@ -21,7 +21,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun!" └── @ CallNode (location: (11...17)) ├── receiver: ∅ @@ -35,5 +35,5 @@ │ └── flags: decimal ├── closing_loc: (16...17) = ")" ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/send_self_block.txt b/test/yarp/snapshots/whitequark/send_self_block.txt index 12418784ed..cffc4590be 100644 --- a/test/yarp/snapshots/whitequark/send_self_block.txt +++ b/test/yarp/snapshots/whitequark/send_self_block.txt @@ -17,7 +17,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (4...6) = "do" │ │ └── closing_loc: (7...10) = "end" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (12...19)) │ ├── receiver: ∅ @@ -33,7 +33,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (16...17) = "{" │ │ └── closing_loc: (18...19) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (21...30)) │ ├── receiver: ∅ @@ -49,7 +49,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (27...28) = "{" │ │ └── closing_loc: (29...30) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (32...42)) ├── receiver: ∅ @@ -69,5 +69,5 @@ │ ├── body: ∅ │ ├── opening_loc: (39...40) = "{" │ └── closing_loc: (41...42) = "}" - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/send_unary_op.txt b/test/yarp/snapshots/whitequark/send_unary_op.txt index 5996b1ed2d..532b692bc8 100644 --- a/test/yarp/snapshots/whitequark/send_unary_op.txt +++ b/test/yarp/snapshots/whitequark/send_unary_op.txt @@ -21,7 +21,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "+@" ├── @ CallNode (location: (6...10)) │ ├── receiver: @@ -41,7 +41,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-@" └── @ CallNode (location: (12...16)) ├── receiver: @@ -61,5 +61,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "~" diff --git a/test/yarp/snapshots/whitequark/space_args_arg.txt b/test/yarp/snapshots/whitequark/space_args_arg.txt index a3e0320cae..b72badde97 100644 --- a/test/yarp/snapshots/whitequark/space_args_arg.txt +++ b/test/yarp/snapshots/whitequark/space_args_arg.txt @@ -21,5 +21,5 @@ │ └── closing_loc: (6...7) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/space_args_arg_block.txt b/test/yarp/snapshots/whitequark/space_args_arg_block.txt index fa6f88bf67..fbc95fd36e 100644 --- a/test/yarp/snapshots/whitequark/space_args_arg_block.txt +++ b/test/yarp/snapshots/whitequark/space_args_arg_block.txt @@ -37,7 +37,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (12...13) = "{" │ │ └── closing_loc: (13...14) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" ├── @ CallNode (location: (16...31)) │ ├── receiver: @@ -73,7 +73,7 @@ │ │ ├── body: ∅ │ │ ├── opening_loc: (29...30) = "{" │ │ └── closing_loc: (30...31) = "}" - │ ├── flags: + │ ├── flags: ∅ │ └── name: "fun" └── @ CallNode (location: (33...43)) ├── receiver: ∅ @@ -99,5 +99,5 @@ │ ├── body: ∅ │ ├── opening_loc: (41...42) = "{" │ └── closing_loc: (42...43) = "}" - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/space_args_arg_call.txt b/test/yarp/snapshots/whitequark/space_args_arg_call.txt index d423761692..e1931fd38b 100644 --- a/test/yarp/snapshots/whitequark/space_args_arg_call.txt +++ b/test/yarp/snapshots/whitequark/space_args_arg_call.txt @@ -27,9 +27,9 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "to_i" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/space_args_arg_newline.txt b/test/yarp/snapshots/whitequark/space_args_arg_newline.txt index b634ab8384..481a79233c 100644 --- a/test/yarp/snapshots/whitequark/space_args_arg_newline.txt +++ b/test/yarp/snapshots/whitequark/space_args_arg_newline.txt @@ -21,5 +21,5 @@ │ └── closing_loc: (7...8) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/space_args_block.txt b/test/yarp/snapshots/whitequark/space_args_block.txt index d795262c1a..28d6302d3c 100644 --- a/test/yarp/snapshots/whitequark/space_args_block.txt +++ b/test/yarp/snapshots/whitequark/space_args_block.txt @@ -23,5 +23,5 @@ │ ├── body: ∅ │ ├── opening_loc: (7...8) = "{" │ └── closing_loc: (8...9) = "}" - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/space_args_cmd.txt b/test/yarp/snapshots/whitequark/space_args_cmd.txt index c932dc36b3..35eb4eadaa 100644 --- a/test/yarp/snapshots/whitequark/space_args_cmd.txt +++ b/test/yarp/snapshots/whitequark/space_args_cmd.txt @@ -35,11 +35,11 @@ │ │ │ └── name: "bar" │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "f" │ ├── opening_loc: (4...5) = "(" │ └── closing_loc: (10...11) = ")" ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "fun" diff --git a/test/yarp/snapshots/whitequark/trailing_forward_arg.txt b/test/yarp/snapshots/whitequark/trailing_forward_arg.txt index a3a26d4b3b..ad5bd64d4d 100644 --- a/test/yarp/snapshots/whitequark/trailing_forward_arg.txt +++ b/test/yarp/snapshots/whitequark/trailing_forward_arg.txt @@ -40,7 +40,7 @@ │ │ └── @ ForwardingArgumentsNode (location: (31...34)) │ ├── closing_loc: (34...35) = ")" │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "bar" ├── locals: [:a, :b, :"..."] ├── def_keyword_loc: (0...3) = "def" diff --git a/test/yarp/snapshots/whitequark/unary_num_pow_precedence.txt b/test/yarp/snapshots/whitequark/unary_num_pow_precedence.txt index 3d0dfab3de..239a36d669 100644 --- a/test/yarp/snapshots/whitequark/unary_num_pow_precedence.txt +++ b/test/yarp/snapshots/whitequark/unary_num_pow_precedence.txt @@ -16,7 +16,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" ├── @ CallNode (location: (12...20)) │ ├── receiver: @@ -34,7 +34,7 @@ │ │ │ └── flags: decimal │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: + │ │ ├── flags: ∅ │ │ └── name: "**" │ ├── call_operator_loc: ∅ │ ├── message_loc: (12...13) = "-" @@ -42,7 +42,7 @@ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "-@" └── @ CallNode (location: (22...32)) ├── receiver: @@ -59,7 +59,7 @@ │ │ └── flags: decimal │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "**" ├── call_operator_loc: ∅ ├── message_loc: (22...23) = "-" @@ -67,5 +67,5 @@ ├── arguments: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: + ├── flags: ∅ └── name: "-@" diff --git a/test/yarp/snapshots/whitequark/until.txt b/test/yarp/snapshots/whitequark/until.txt index 4b46825aee..c830dd16dd 100644 --- a/test/yarp/snapshots/whitequark/until.txt +++ b/test/yarp/snapshots/whitequark/until.txt @@ -30,7 +30,7 @@ │ │ ├── block: ∅ │ │ ├── flags: variable_call │ │ └── name: "meth" - │ └── flags: + │ └── flags: ∅ └── @ UntilNode (location: (23...42)) ├── keyword_loc: (23...28) = "until" ├── closing_loc: (39...42) = "end" @@ -58,4 +58,4 @@ │ ├── block: ∅ │ ├── flags: variable_call │ └── name: "meth" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/until_mod.txt b/test/yarp/snapshots/whitequark/until_mod.txt index 5eb0f34fb9..a574f9a304 100644 --- a/test/yarp/snapshots/whitequark/until_mod.txt +++ b/test/yarp/snapshots/whitequark/until_mod.txt @@ -30,4 +30,4 @@ │ ├── block: ∅ │ ├── flags: variable_call │ └── name: "meth" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt b/test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt index b7771e50f9..3a2e4209f0 100644 --- a/test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt +++ b/test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt @@ -20,7 +20,7 @@ │ │ └── depth: 0 │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: + │ ├── flags: ∅ │ └── name: "m" ├── name: :foo ├── operator: :+ diff --git a/test/yarp/snapshots/whitequark/while.txt b/test/yarp/snapshots/whitequark/while.txt index 9a853a127a..7655b4d3a3 100644 --- a/test/yarp/snapshots/whitequark/while.txt +++ b/test/yarp/snapshots/whitequark/while.txt @@ -30,7 +30,7 @@ │ │ ├── block: ∅ │ │ ├── flags: variable_call │ │ └── name: "meth" - │ └── flags: + │ └── flags: ∅ └── @ WhileNode (location: (23...42)) ├── keyword_loc: (23...28) = "while" ├── closing_loc: (39...42) = "end" @@ -58,4 +58,4 @@ │ ├── block: ∅ │ ├── flags: variable_call │ └── name: "meth" - └── flags: + └── flags: ∅ diff --git a/test/yarp/snapshots/whitequark/while_mod.txt b/test/yarp/snapshots/whitequark/while_mod.txt index c8a592429e..d123a4deff 100644 --- a/test/yarp/snapshots/whitequark/while_mod.txt +++ b/test/yarp/snapshots/whitequark/while_mod.txt @@ -30,4 +30,4 @@ │ ├── block: ∅ │ ├── flags: variable_call │ └── name: "meth" - └── flags: + └── flags: ∅ |