diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/pattern_matching_blank_else.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/pattern_matching_blank_else.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/pattern_matching_blank_else.txt b/test/prism/snapshots/whitequark/pattern_matching_blank_else.txt new file mode 100644 index 0000000000..6015c000a9 --- /dev/null +++ b/test/prism/snapshots/whitequark/pattern_matching_blank_else.txt @@ -0,0 +1,31 @@ +@ ProgramNode (location: (1,0)-(1,26)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,26)) + └── body: (length: 1) + └── @ CaseMatchNode (location: (1,0)-(1,26)) + ├── predicate: + │ @ IntegerNode (location: (1,5)-(1,6)) + │ ├── flags: decimal + │ └── value: 1 + ├── conditions: (length: 1) + │ └── @ InNode (location: (1,8)-(1,15)) + │ ├── pattern: + │ │ @ IntegerNode (location: (1,11)-(1,12)) + │ │ ├── flags: decimal + │ │ └── value: 2 + │ ├── statements: + │ │ @ StatementsNode (location: (1,14)-(1,15)) + │ │ └── body: (length: 1) + │ │ └── @ IntegerNode (location: (1,14)-(1,15)) + │ │ ├── flags: decimal + │ │ └── value: 3 + │ ├── in_loc: (1,8)-(1,10) = "in" + │ └── then_loc: ∅ + ├── consequent: + │ @ ElseNode (location: (1,17)-(1,26)) + │ ├── else_keyword_loc: (1,17)-(1,21) = "else" + │ ├── statements: ∅ + │ └── end_keyword_loc: (1,23)-(1,26) = "end" + ├── case_keyword_loc: (1,0)-(1,4) = "case" + └── end_keyword_loc: (1,23)-(1,26) = "end" |