diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/case_in.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in.txt | 106 |
1 files changed, 63 insertions, 43 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt index e7e291c63f..950d66647e 100644 --- a/test/prism/snapshots/seattlerb/case_in.txt +++ b/test/prism/snapshots/seattlerb/case_in.txt @@ -186,16 +186,20 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "a" │ ├── conditions: (length: 1) - │ │ └── @ InNode (location: (22,0)-(22,9)) + │ │ └── @ InNode (location: (22,0)-(22,10)) │ │ ├── pattern: - │ │ │ @ RangeNode (location: (22,4)-(22,9)) - │ │ │ ├── flags: exclude_end - │ │ │ ├── left: ∅ - │ │ │ ├── right: - │ │ │ │ @ IntegerNode (location: (22,7)-(22,9)) - │ │ │ │ ├── flags: decimal - │ │ │ │ └── value: 10 - │ │ │ └── operator_loc: (22,4)-(22,7) = "..." + │ │ │ @ ParenthesesNode (location: (22,3)-(22,10)) + │ │ │ ├── body: + │ │ │ │ @ RangeNode (location: (22,4)-(22,9)) + │ │ │ │ ├── flags: exclude_end + │ │ │ │ ├── left: ∅ + │ │ │ │ ├── right: + │ │ │ │ │ @ IntegerNode (location: (22,7)-(22,9)) + │ │ │ │ │ ├── flags: decimal + │ │ │ │ │ └── value: 10 + │ │ │ │ └── operator_loc: (22,4)-(22,7) = "..." + │ │ │ ├── opening_loc: (22,3)-(22,4) = "(" + │ │ │ └── closing_loc: (22,9)-(22,10) = ")" │ │ ├── statements: ∅ │ │ ├── in_loc: (22,0)-(22,2) = "in" │ │ └── then_loc: ∅ @@ -211,16 +215,20 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "a" │ ├── conditions: (length: 1) - │ │ └── @ InNode (location: (26,0)-(26,8)) + │ │ └── @ InNode (location: (26,0)-(26,9)) │ │ ├── pattern: - │ │ │ @ RangeNode (location: (26,4)-(26,8)) - │ │ │ ├── flags: ∅ - │ │ │ ├── left: ∅ - │ │ │ ├── right: - │ │ │ │ @ IntegerNode (location: (26,6)-(26,8)) - │ │ │ │ ├── flags: decimal - │ │ │ │ └── value: 10 - │ │ │ └── operator_loc: (26,4)-(26,6) = ".." + │ │ │ @ ParenthesesNode (location: (26,3)-(26,9)) + │ │ │ ├── body: + │ │ │ │ @ RangeNode (location: (26,4)-(26,8)) + │ │ │ │ ├── flags: ∅ + │ │ │ │ ├── left: ∅ + │ │ │ │ ├── right: + │ │ │ │ │ @ IntegerNode (location: (26,6)-(26,8)) + │ │ │ │ │ ├── flags: decimal + │ │ │ │ │ └── value: 10 + │ │ │ │ └── operator_loc: (26,4)-(26,6) = ".." + │ │ │ ├── opening_loc: (26,3)-(26,4) = "(" + │ │ │ └── closing_loc: (26,8)-(26,9) = ")" │ │ ├── statements: ∅ │ │ ├── in_loc: (26,0)-(26,2) = "in" │ │ └── then_loc: ∅ @@ -236,16 +244,20 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "a" │ ├── conditions: (length: 1) - │ │ └── @ InNode (location: (30,0)-(30,8)) + │ │ └── @ InNode (location: (30,0)-(30,9)) │ │ ├── pattern: - │ │ │ @ RangeNode (location: (30,4)-(30,8)) - │ │ │ ├── flags: exclude_end - │ │ │ ├── left: - │ │ │ │ @ IntegerNode (location: (30,4)-(30,5)) - │ │ │ │ ├── flags: decimal - │ │ │ │ └── value: 1 - │ │ │ ├── right: ∅ - │ │ │ └── operator_loc: (30,5)-(30,8) = "..." + │ │ │ @ ParenthesesNode (location: (30,3)-(30,9)) + │ │ │ ├── body: + │ │ │ │ @ RangeNode (location: (30,4)-(30,8)) + │ │ │ │ ├── flags: exclude_end + │ │ │ │ ├── left: + │ │ │ │ │ @ IntegerNode (location: (30,4)-(30,5)) + │ │ │ │ │ ├── flags: decimal + │ │ │ │ │ └── value: 1 + │ │ │ │ ├── right: ∅ + │ │ │ │ └── operator_loc: (30,5)-(30,8) = "..." + │ │ │ ├── opening_loc: (30,3)-(30,4) = "(" + │ │ │ └── closing_loc: (30,8)-(30,9) = ")" │ │ ├── statements: ∅ │ │ ├── in_loc: (30,0)-(30,2) = "in" │ │ └── then_loc: ∅ @@ -261,19 +273,23 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "a" │ ├── conditions: (length: 1) - │ │ └── @ InNode (location: (34,0)-(34,9)) + │ │ └── @ InNode (location: (34,0)-(34,10)) │ │ ├── pattern: - │ │ │ @ RangeNode (location: (34,4)-(34,9)) - │ │ │ ├── flags: exclude_end - │ │ │ ├── left: - │ │ │ │ @ IntegerNode (location: (34,4)-(34,5)) - │ │ │ │ ├── flags: decimal - │ │ │ │ └── value: 1 - │ │ │ ├── right: - │ │ │ │ @ IntegerNode (location: (34,8)-(34,9)) - │ │ │ │ ├── flags: decimal - │ │ │ │ └── value: 3 - │ │ │ └── operator_loc: (34,5)-(34,8) = "..." + │ │ │ @ ParenthesesNode (location: (34,3)-(34,10)) + │ │ │ ├── body: + │ │ │ │ @ RangeNode (location: (34,4)-(34,9)) + │ │ │ │ ├── flags: exclude_end + │ │ │ │ ├── left: + │ │ │ │ │ @ IntegerNode (location: (34,4)-(34,5)) + │ │ │ │ │ ├── flags: decimal + │ │ │ │ │ └── value: 1 + │ │ │ │ ├── right: + │ │ │ │ │ @ IntegerNode (location: (34,8)-(34,9)) + │ │ │ │ │ ├── flags: decimal + │ │ │ │ │ └── value: 3 + │ │ │ │ └── operator_loc: (34,5)-(34,8) = "..." + │ │ │ ├── opening_loc: (34,3)-(34,4) = "(" + │ │ │ └── closing_loc: (34,9)-(34,10) = ")" │ │ ├── statements: ∅ │ │ ├── in_loc: (34,0)-(34,2) = "in" │ │ └── then_loc: ∅ @@ -289,11 +305,15 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "a" │ ├── conditions: (length: 1) - │ │ └── @ InNode (location: (38,0)-(38,6)) + │ │ └── @ InNode (location: (38,0)-(38,7)) │ │ ├── pattern: - │ │ │ @ IntegerNode (location: (38,4)-(38,6)) - │ │ │ ├── flags: decimal - │ │ │ └── value: 42 + │ │ │ @ ParenthesesNode (location: (38,3)-(38,7)) + │ │ │ ├── body: + │ │ │ │ @ IntegerNode (location: (38,4)-(38,6)) + │ │ │ │ ├── flags: decimal + │ │ │ │ └── value: 42 + │ │ │ ├── opening_loc: (38,3)-(38,4) = "(" + │ │ │ └── closing_loc: (38,6)-(38,7) = ")" │ │ ├── statements: ∅ │ │ ├── in_loc: (38,0)-(38,2) = "in" │ │ └── then_loc: ∅ |