diff options
Diffstat (limited to 'test/yarp/snapshots/seattlerb/case_in_multiple.txt')
-rw-r--r-- | test/yarp/snapshots/seattlerb/case_in_multiple.txt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/yarp/snapshots/seattlerb/case_in_multiple.txt b/test/yarp/snapshots/seattlerb/case_in_multiple.txt index 06dbf3b213..046cb61838 100644 --- a/test/yarp/snapshots/seattlerb/case_in_multiple.txt +++ b/test/yarp/snapshots/seattlerb/case_in_multiple.txt @@ -1,56 +1,56 @@ -@ ProgramNode (location: (0...37)) +@ ProgramNode (location: (1,0)-(6,3)) ├── locals: [] └── statements: - @ StatementsNode (location: (0...37)) + @ StatementsNode (location: (1,0)-(6,3)) └── body: (length: 1) - └── @ CaseNode (location: (0...37)) + └── @ CaseNode (location: (1,0)-(6,3)) ├── predicate: - │ @ SymbolNode (location: (5...7)) - │ ├── opening_loc: (5...6) = ":" - │ ├── value_loc: (6...7) = "a" + │ @ SymbolNode (location: (1,5)-(1,7)) + │ ├── opening_loc: (1,5)-(1,6) = ":" + │ ├── value_loc: (1,6)-(1,7) = "a" │ ├── closing_loc: ∅ │ └── unescaped: "a" ├── conditions: (length: 2) - │ ├── @ InNode (location: (8...20)) + │ ├── @ InNode (location: (2,0)-(3,4)) │ │ ├── pattern: - │ │ │ @ ConstantPathNode (location: (11...15)) + │ │ │ @ ConstantPathNode (location: (2,3)-(2,7)) │ │ │ ├── parent: - │ │ │ │ @ ConstantReadNode (location: (11...12)) + │ │ │ │ @ ConstantReadNode (location: (2,3)-(2,4)) │ │ │ │ └── name: :A │ │ │ ├── child: - │ │ │ │ @ ConstantReadNode (location: (14...15)) + │ │ │ │ @ ConstantReadNode (location: (2,6)-(2,7)) │ │ │ │ └── name: :B - │ │ │ └── delimiter_loc: (12...14) = "::" + │ │ │ └── delimiter_loc: (2,4)-(2,6) = "::" │ │ ├── statements: - │ │ │ @ StatementsNode (location: (18...20)) + │ │ │ @ StatementsNode (location: (3,2)-(3,4)) │ │ │ └── body: (length: 1) - │ │ │ └── @ SymbolNode (location: (18...20)) - │ │ │ ├── opening_loc: (18...19) = ":" - │ │ │ ├── value_loc: (19...20) = "C" + │ │ │ └── @ SymbolNode (location: (3,2)-(3,4)) + │ │ │ ├── opening_loc: (3,2)-(3,3) = ":" + │ │ │ ├── value_loc: (3,3)-(3,4) = "C" │ │ │ ├── closing_loc: ∅ │ │ │ └── unescaped: "C" - │ │ ├── in_loc: (8...10) = "in" + │ │ ├── in_loc: (2,0)-(2,2) = "in" │ │ └── then_loc: ∅ - │ └── @ InNode (location: (21...33)) + │ └── @ InNode (location: (4,0)-(5,4)) │ ├── pattern: - │ │ @ ConstantPathNode (location: (24...28)) + │ │ @ ConstantPathNode (location: (4,3)-(4,7)) │ │ ├── parent: - │ │ │ @ ConstantReadNode (location: (24...25)) + │ │ │ @ ConstantReadNode (location: (4,3)-(4,4)) │ │ │ └── name: :D │ │ ├── child: - │ │ │ @ ConstantReadNode (location: (27...28)) + │ │ │ @ ConstantReadNode (location: (4,6)-(4,7)) │ │ │ └── name: :E - │ │ └── delimiter_loc: (25...27) = "::" + │ │ └── delimiter_loc: (4,4)-(4,6) = "::" │ ├── statements: - │ │ @ StatementsNode (location: (31...33)) + │ │ @ StatementsNode (location: (5,2)-(5,4)) │ │ └── body: (length: 1) - │ │ └── @ SymbolNode (location: (31...33)) - │ │ ├── opening_loc: (31...32) = ":" - │ │ ├── value_loc: (32...33) = "F" + │ │ └── @ SymbolNode (location: (5,2)-(5,4)) + │ │ ├── opening_loc: (5,2)-(5,3) = ":" + │ │ ├── value_loc: (5,3)-(5,4) = "F" │ │ ├── closing_loc: ∅ │ │ └── unescaped: "F" - │ ├── in_loc: (21...23) = "in" + │ ├── in_loc: (4,0)-(4,2) = "in" │ └── then_loc: ∅ ├── consequent: ∅ - ├── case_keyword_loc: (0...4) = "case" - └── end_keyword_loc: (34...37) = "end" + ├── case_keyword_loc: (1,0)-(1,4) = "case" + └── end_keyword_loc: (6,0)-(6,3) = "end" |