diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_interp_single.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/bug_interp_single.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/bug_interp_single.txt b/test/prism/snapshots/whitequark/bug_interp_single.txt new file mode 100644 index 0000000000..74af8607e0 --- /dev/null +++ b/test/prism/snapshots/whitequark/bug_interp_single.txt @@ -0,0 +1,38 @@ +@ ProgramNode (location: (1,0)-(3,8)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(3,8)) + └── body: (length: 2) + ├── @ InterpolatedStringNode (location: (1,0)-(1,6)) + │ ├── flags: ∅ + │ ├── opening_loc: (1,0)-(1,1) = "\"" + │ ├── parts: (length: 1) + │ │ └── @ EmbeddedStatementsNode (location: (1,1)-(1,5)) + │ │ ├── opening_loc: (1,1)-(1,3) = "\#{" + │ │ ├── statements: + │ │ │ @ StatementsNode (location: (1,3)-(1,4)) + │ │ │ └── body: (length: 1) + │ │ │ └── @ IntegerNode (location: (1,3)-(1,4)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── closing_loc: (1,4)-(1,5) = "}" + │ └── closing_loc: (1,5)-(1,6) = "\"" + └── @ ArrayNode (location: (3,0)-(3,8)) + ├── flags: ∅ + ├── elements: (length: 1) + │ └── @ InterpolatedStringNode (location: (3,3)-(3,7)) + │ ├── flags: ∅ + │ ├── opening_loc: ∅ + │ ├── parts: (length: 1) + │ │ └── @ EmbeddedStatementsNode (location: (3,3)-(3,7)) + │ │ ├── opening_loc: (3,3)-(3,5) = "\#{" + │ │ ├── statements: + │ │ │ @ StatementsNode (location: (3,5)-(3,6)) + │ │ │ └── body: (length: 1) + │ │ │ └── @ IntegerNode (location: (3,5)-(3,6)) + │ │ │ ├── flags: decimal + │ │ │ └── value: 1 + │ │ └── closing_loc: (3,6)-(3,7) = "}" + │ └── closing_loc: ∅ + ├── opening_loc: (3,0)-(3,3) = "%W\"" + └── closing_loc: (3,7)-(3,8) = "\"" |