summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/xstring_with_backslash.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/xstring_with_backslash.txt')
-rw-r--r--test/prism/snapshots/xstring_with_backslash.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/prism/snapshots/xstring_with_backslash.txt b/test/prism/snapshots/xstring_with_backslash.txt
new file mode 100644
index 0000000000..7e0fa1ab5f
--- /dev/null
+++ b/test/prism/snapshots/xstring_with_backslash.txt
@@ -0,0 +1,11 @@
+@ ProgramNode (location: (1,0)-(1,6))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,6))
+ └── body: (length: 1)
+ └── @ XStringNode (location: (1,0)-(1,6))
+ ├── flags: ∅
+ ├── opening_loc: (1,0)-(1,1) = "`"
+ ├── content_loc: (1,1)-(1,5) = "f\\oo"
+ ├── closing_loc: (1,5)-(1,6) = "`"
+ └── unescaped: "foo"