summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/endless_range_in_conditional.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/endless_range_in_conditional.txt')
-rw-r--r--test/prism/snapshots/endless_range_in_conditional.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/test/prism/snapshots/endless_range_in_conditional.txt b/test/prism/snapshots/endless_range_in_conditional.txt
new file mode 100644
index 0000000000..1802c4faed
--- /dev/null
+++ b/test/prism/snapshots/endless_range_in_conditional.txt
@@ -0,0 +1,53 @@
+@ ProgramNode (location: (1,0)-(3,12))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(3,12))
+ └── body: (length: 3)
+ ├── @ IfNode (location: (1,0)-(1,13))
+ │ ├── if_keyword_loc: (1,0)-(1,2) = "if"
+ │ ├── predicate:
+ │ │ @ FlipFlopNode (location: (1,3)-(1,7))
+ │ │ ├── flags: ∅
+ │ │ ├── left:
+ │ │ │ @ IntegerNode (location: (1,3)-(1,4))
+ │ │ │ ├── flags: decimal
+ │ │ │ └── value: 1
+ │ │ ├── right:
+ │ │ │ @ IntegerNode (location: (1,6)-(1,7))
+ │ │ │ ├── flags: decimal
+ │ │ │ └── value: 2
+ │ │ └── operator_loc: (1,4)-(1,6) = ".."
+ │ ├── then_keyword_loc: ∅
+ │ ├── statements: ∅
+ │ ├── consequent: ∅
+ │ └── end_keyword_loc: (1,10)-(1,13) = "end"
+ ├── @ IfNode (location: (2,0)-(2,12))
+ │ ├── if_keyword_loc: (2,0)-(2,2) = "if"
+ │ ├── predicate:
+ │ │ @ FlipFlopNode (location: (2,3)-(2,6))
+ │ │ ├── flags: ∅
+ │ │ ├── left: ∅
+ │ │ ├── right:
+ │ │ │ @ IntegerNode (location: (2,5)-(2,6))
+ │ │ │ ├── flags: decimal
+ │ │ │ └── value: 1
+ │ │ └── operator_loc: (2,3)-(2,5) = ".."
+ │ ├── then_keyword_loc: ∅
+ │ ├── statements: ∅
+ │ ├── consequent: ∅
+ │ └── end_keyword_loc: (2,9)-(2,12) = "end"
+ └── @ IfNode (location: (3,0)-(3,12))
+ ├── if_keyword_loc: (3,0)-(3,2) = "if"
+ ├── predicate:
+ │ @ FlipFlopNode (location: (3,3)-(3,6))
+ │ ├── flags: ∅
+ │ ├── left:
+ │ │ @ IntegerNode (location: (3,3)-(3,4))
+ │ │ ├── flags: decimal
+ │ │ └── value: 1
+ │ ├── right: ∅
+ │ └── operator_loc: (3,4)-(3,6) = ".."
+ ├── then_keyword_loc: ∅
+ ├── statements: ∅
+ ├── consequent: ∅
+ └── end_keyword_loc: (3,9)-(3,12) = "end"