diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-11-20 21:38:03 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-21 02:38:07 +0000 |
commit | 9fa524dd41be60654e8515f9e406f6f47f0ac7fa (patch) | |
tree | 5cf2d3b62ba1f0ad68f98d85e3d76077164a6fb3 /test/prism/snapshots/seattlerb/case_in.txt | |
parent | 73d519ec461bee7c06e37abcb808443a05ec5a21 (diff) | |
download | ruby-9fa524dd41be60654e8515f9e406f6f47f0ac7fa.tar.gz |
[ruby/prism] Split up CaseNode and CaseMatchNode
(https://github.com/ruby/prism/pull/1801)
https://github.com/ruby/prism/commit/4c1391ea56
Diffstat (limited to 'test/prism/snapshots/seattlerb/case_in.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in.txt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt index c6150c4105..9db7851e16 100644 --- a/test/prism/snapshots/seattlerb/case_in.txt +++ b/test/prism/snapshots/seattlerb/case_in.txt @@ -3,7 +3,7 @@ └── statements: @ StatementsNode (location: (1,0)-(111,3)) └── body: (length: 28) - ├── @ CaseNode (location: (1,0)-(3,3)) + ├── @ CaseMatchNode (location: (1,0)-(3,3)) │ ├── predicate: │ │ @ SymbolNode (location: (1,5)-(1,7)) │ │ ├── opening_loc: (1,5)-(1,6) = ":" @@ -34,7 +34,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (1,0)-(1,4) = "case" │ └── end_keyword_loc: (3,0)-(3,3) = "end" - ├── @ CaseNode (location: (5,0)-(7,3)) + ├── @ CaseMatchNode (location: (5,0)-(7,3)) │ ├── predicate: │ │ @ SymbolNode (location: (5,5)-(5,7)) │ │ ├── opening_loc: (5,5)-(5,6) = ":" @@ -64,7 +64,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (5,0)-(5,4) = "case" │ └── end_keyword_loc: (7,0)-(7,3) = "end" - ├── @ CaseNode (location: (9,0)-(11,3)) + ├── @ CaseMatchNode (location: (9,0)-(11,3)) │ ├── predicate: │ │ @ SymbolNode (location: (9,5)-(9,7)) │ │ ├── opening_loc: (9,5)-(9,6) = ":" @@ -96,7 +96,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (9,0)-(9,4) = "case" │ └── end_keyword_loc: (11,0)-(11,3) = "end" - ├── @ CaseNode (location: (13,0)-(15,3)) + ├── @ CaseMatchNode (location: (13,0)-(15,3)) │ ├── predicate: │ │ @ SymbolNode (location: (13,5)-(13,7)) │ │ ├── opening_loc: (13,5)-(13,6) = ":" @@ -126,7 +126,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (13,0)-(13,4) = "case" │ └── end_keyword_loc: (15,0)-(15,3) = "end" - ├── @ CaseNode (location: (17,0)-(19,3)) + ├── @ CaseMatchNode (location: (17,0)-(19,3)) │ ├── predicate: │ │ @ SymbolNode (location: (17,5)-(17,7)) │ │ ├── opening_loc: (17,5)-(17,6) = ":" @@ -158,7 +158,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (17,0)-(17,4) = "case" │ └── end_keyword_loc: (19,0)-(19,3) = "end" - ├── @ CaseNode (location: (21,0)-(23,3)) + ├── @ CaseMatchNode (location: (21,0)-(23,3)) │ ├── predicate: │ │ @ SymbolNode (location: (21,5)-(21,7)) │ │ ├── opening_loc: (21,5)-(21,6) = ":" @@ -181,7 +181,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (21,0)-(21,4) = "case" │ └── end_keyword_loc: (23,0)-(23,3) = "end" - ├── @ CaseNode (location: (25,0)-(27,3)) + ├── @ CaseMatchNode (location: (25,0)-(27,3)) │ ├── predicate: │ │ @ SymbolNode (location: (25,5)-(25,7)) │ │ ├── opening_loc: (25,5)-(25,6) = ":" @@ -204,7 +204,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (25,0)-(25,4) = "case" │ └── end_keyword_loc: (27,0)-(27,3) = "end" - ├── @ CaseNode (location: (29,0)-(31,3)) + ├── @ CaseMatchNode (location: (29,0)-(31,3)) │ ├── predicate: │ │ @ SymbolNode (location: (29,5)-(29,7)) │ │ ├── opening_loc: (29,5)-(29,6) = ":" @@ -227,7 +227,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (29,0)-(29,4) = "case" │ └── end_keyword_loc: (31,0)-(31,3) = "end" - ├── @ CaseNode (location: (33,0)-(35,3)) + ├── @ CaseMatchNode (location: (33,0)-(35,3)) │ ├── predicate: │ │ @ SymbolNode (location: (33,5)-(33,7)) │ │ ├── opening_loc: (33,5)-(33,6) = ":" @@ -252,7 +252,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (33,0)-(33,4) = "case" │ └── end_keyword_loc: (35,0)-(35,3) = "end" - ├── @ CaseNode (location: (37,0)-(39,3)) + ├── @ CaseMatchNode (location: (37,0)-(39,3)) │ ├── predicate: │ │ @ SymbolNode (location: (37,5)-(37,7)) │ │ ├── opening_loc: (37,5)-(37,6) = ":" @@ -270,7 +270,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (37,0)-(37,4) = "case" │ └── end_keyword_loc: (39,0)-(39,3) = "end" - ├── @ CaseNode (location: (41,0)-(43,3)) + ├── @ CaseMatchNode (location: (41,0)-(43,3)) │ ├── predicate: │ │ @ SymbolNode (location: (41,5)-(41,7)) │ │ ├── opening_loc: (41,5)-(41,6) = ":" @@ -295,7 +295,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (41,0)-(41,4) = "case" │ └── end_keyword_loc: (43,0)-(43,3) = "end" - ├── @ CaseNode (location: (45,0)-(47,3)) + ├── @ CaseMatchNode (location: (45,0)-(47,3)) │ ├── predicate: │ │ @ SymbolNode (location: (45,5)-(45,7)) │ │ ├── opening_loc: (45,5)-(45,6) = ":" @@ -317,7 +317,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (45,0)-(45,4) = "case" │ └── end_keyword_loc: (47,0)-(47,3) = "end" - ├── @ CaseNode (location: (49,0)-(51,3)) + ├── @ CaseMatchNode (location: (49,0)-(51,3)) │ ├── predicate: │ │ @ SymbolNode (location: (49,5)-(49,7)) │ │ ├── opening_loc: (49,5)-(49,6) = ":" @@ -356,7 +356,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (49,0)-(49,4) = "case" │ └── end_keyword_loc: (51,0)-(51,3) = "end" - ├── @ CaseNode (location: (53,0)-(55,3)) + ├── @ CaseMatchNode (location: (53,0)-(55,3)) │ ├── predicate: │ │ @ SymbolNode (location: (53,5)-(53,7)) │ │ ├── opening_loc: (53,5)-(53,6) = ":" @@ -396,7 +396,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (53,0)-(53,4) = "case" │ └── end_keyword_loc: (55,0)-(55,3) = "end" - ├── @ CaseNode (location: (57,0)-(59,3)) + ├── @ CaseMatchNode (location: (57,0)-(59,3)) │ ├── predicate: │ │ @ SymbolNode (location: (57,5)-(57,7)) │ │ ├── opening_loc: (57,5)-(57,6) = ":" @@ -421,7 +421,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (57,0)-(57,4) = "case" │ └── end_keyword_loc: (59,0)-(59,3) = "end" - ├── @ CaseNode (location: (61,0)-(63,3)) + ├── @ CaseMatchNode (location: (61,0)-(63,3)) │ ├── predicate: │ │ @ SymbolNode (location: (61,5)-(61,7)) │ │ ├── opening_loc: (61,5)-(61,6) = ":" @@ -461,7 +461,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (61,0)-(61,4) = "case" │ └── end_keyword_loc: (63,0)-(63,3) = "end" - ├── @ CaseNode (location: (65,0)-(67,3)) + ├── @ CaseMatchNode (location: (65,0)-(67,3)) │ ├── predicate: │ │ @ SymbolNode (location: (65,5)-(65,7)) │ │ ├── opening_loc: (65,5)-(65,6) = ":" @@ -501,7 +501,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (65,0)-(65,4) = "case" │ └── end_keyword_loc: (67,0)-(67,3) = "end" - ├── @ CaseNode (location: (69,0)-(71,3)) + ├── @ CaseMatchNode (location: (69,0)-(71,3)) │ ├── predicate: │ │ @ SymbolNode (location: (69,5)-(69,7)) │ │ ├── opening_loc: (69,5)-(69,6) = ":" @@ -552,7 +552,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (69,0)-(69,4) = "case" │ └── end_keyword_loc: (71,0)-(71,3) = "end" - ├── @ CaseNode (location: (73,0)-(75,3)) + ├── @ CaseMatchNode (location: (73,0)-(75,3)) │ ├── predicate: │ │ @ SymbolNode (location: (73,5)-(73,7)) │ │ ├── opening_loc: (73,5)-(73,6) = ":" @@ -605,7 +605,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (73,0)-(73,4) = "case" │ └── end_keyword_loc: (75,0)-(75,3) = "end" - ├── @ CaseNode (location: (77,0)-(79,3)) + ├── @ CaseMatchNode (location: (77,0)-(79,3)) │ ├── predicate: │ │ @ SymbolNode (location: (77,5)-(77,7)) │ │ ├── opening_loc: (77,5)-(77,6) = ":" @@ -635,7 +635,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (77,0)-(77,4) = "case" │ └── end_keyword_loc: (79,0)-(79,3) = "end" - ├── @ CaseNode (location: (81,0)-(83,3)) + ├── @ CaseMatchNode (location: (81,0)-(83,3)) │ ├── predicate: │ │ @ SymbolNode (location: (81,5)-(81,7)) │ │ ├── opening_loc: (81,5)-(81,6) = ":" @@ -691,7 +691,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (81,0)-(81,4) = "case" │ └── end_keyword_loc: (83,0)-(83,3) = "end" - ├── @ CaseNode (location: (85,0)-(87,3)) + ├── @ CaseMatchNode (location: (85,0)-(87,3)) │ ├── predicate: │ │ @ SymbolNode (location: (85,5)-(85,7)) │ │ ├── opening_loc: (85,5)-(85,6) = ":" @@ -714,7 +714,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (85,0)-(85,4) = "case" │ └── end_keyword_loc: (87,0)-(87,3) = "end" - ├── @ CaseNode (location: (89,0)-(91,3)) + ├── @ CaseMatchNode (location: (89,0)-(91,3)) │ ├── predicate: │ │ @ SymbolNode (location: (89,5)-(89,7)) │ │ ├── opening_loc: (89,5)-(89,6) = ":" @@ -752,7 +752,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (89,0)-(89,4) = "case" │ └── end_keyword_loc: (91,0)-(91,3) = "end" - ├── @ CaseNode (location: (93,0)-(95,3)) + ├── @ CaseMatchNode (location: (93,0)-(95,3)) │ ├── predicate: │ │ @ SymbolNode (location: (93,5)-(93,7)) │ │ ├── opening_loc: (93,5)-(93,6) = ":" @@ -790,7 +790,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (93,0)-(93,4) = "case" │ └── end_keyword_loc: (95,0)-(95,3) = "end" - ├── @ CaseNode (location: (97,0)-(99,3)) + ├── @ CaseMatchNode (location: (97,0)-(99,3)) │ ├── predicate: │ │ @ SymbolNode (location: (97,5)-(97,7)) │ │ ├── opening_loc: (97,5)-(97,6) = ":" @@ -811,7 +811,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (97,0)-(97,4) = "case" │ └── end_keyword_loc: (99,0)-(99,3) = "end" - ├── @ CaseNode (location: (101,0)-(103,3)) + ├── @ CaseMatchNode (location: (101,0)-(103,3)) │ ├── predicate: │ │ @ SymbolNode (location: (101,5)-(101,7)) │ │ ├── opening_loc: (101,5)-(101,6) = ":" @@ -837,7 +837,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (101,0)-(101,4) = "case" │ └── end_keyword_loc: (103,0)-(103,3) = "end" - ├── @ CaseNode (location: (105,0)-(107,3)) + ├── @ CaseMatchNode (location: (105,0)-(107,3)) │ ├── predicate: │ │ @ SymbolNode (location: (105,5)-(105,7)) │ │ ├── opening_loc: (105,5)-(105,6) = ":" @@ -868,7 +868,7 @@ │ ├── consequent: ∅ │ ├── case_keyword_loc: (105,0)-(105,4) = "case" │ └── end_keyword_loc: (107,0)-(107,3) = "end" - └── @ CaseNode (location: (109,0)-(111,3)) + └── @ CaseMatchNode (location: (109,0)-(111,3)) ├── predicate: │ @ SymbolNode (location: (109,5)-(109,7)) │ ├── opening_loc: (109,5)-(109,6) = ":" |