diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-09-27 12:22:36 -0400 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2023-09-27 13:57:38 -0400 |
commit | 8ab56869a64fdccc094f4a83c6367fb23b72d38b (patch) | |
tree | 46ef2bd5c51d5b7f923eda6a60edefc7a08200db /test/prism/snapshots/endless_range_in_conditional.txt | |
parent | 7e0971eb5d679bb6219abb0ec238139aa6502c5a (diff) | |
download | ruby-8ab56869a64fdccc094f4a83c6367fb23b72d38b.tar.gz |
Rename YARP filepaths to prism filepaths
Diffstat (limited to 'test/prism/snapshots/endless_range_in_conditional.txt')
-rw-r--r-- | test/prism/snapshots/endless_range_in_conditional.txt | 46 |
1 files changed, 46 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..27447e9522 --- /dev/null +++ b/test/prism/snapshots/endless_range_in_conditional.txt @@ -0,0 +1,46 @@ +@ 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)) + │ │ ├── left: + │ │ │ @ IntegerNode (location: (1,3)-(1,4)) + │ │ │ └── flags: decimal + │ │ ├── right: + │ │ │ @ IntegerNode (location: (1,6)-(1,7)) + │ │ │ └── flags: decimal + │ │ ├── operator_loc: (1,4)-(1,6) = ".." + │ │ └── flags: ∅ + │ ├── 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)) + │ │ ├── left: ∅ + │ │ ├── right: + │ │ │ @ IntegerNode (location: (2,5)-(2,6)) + │ │ │ └── flags: decimal + │ │ ├── operator_loc: (2,3)-(2,5) = ".." + │ │ └── flags: ∅ + │ ├── 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)) + │ ├── left: + │ │ @ IntegerNode (location: (3,3)-(3,4)) + │ │ └── flags: decimal + │ ├── right: ∅ + │ ├── operator_loc: (3,4)-(3,6) = ".." + │ └── flags: ∅ + ├── statements: ∅ + ├── consequent: ∅ + └── end_keyword_loc: (3,9)-(3,12) = "end" |