summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/beginless_range.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/whitequark/beginless_range.txt')
-rw-r--r--test/prism/snapshots/whitequark/beginless_range.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/beginless_range.txt b/test/prism/snapshots/whitequark/beginless_range.txt
new file mode 100644
index 0000000000..59e6f135ad
--- /dev/null
+++ b/test/prism/snapshots/whitequark/beginless_range.txt
@@ -0,0 +1,21 @@
+@ ProgramNode (location: (1,0)-(3,5))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(3,5))
+ └── body: (length: 2)
+ ├── @ RangeNode (location: (1,0)-(1,6))
+ │ ├── flags: exclude_end
+ │ ├── left: ∅
+ │ ├── right:
+ │ │ @ IntegerNode (location: (1,3)-(1,6))
+ │ │ ├── flags: decimal
+ │ │ └── value: 100
+ │ └── operator_loc: (1,0)-(1,3) = "..."
+ └── @ RangeNode (location: (3,0)-(3,5))
+ ├── flags: ∅
+ ├── left: ∅
+ ├── right:
+ │ @ IntegerNode (location: (3,2)-(3,5))
+ │ ├── flags: decimal
+ │ └── value: 100
+ └── operator_loc: (3,0)-(3,2) = ".."