summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/const_scoped.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/whitequark/const_scoped.txt')
-rw-r--r--test/prism/snapshots/whitequark/const_scoped.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/const_scoped.txt b/test/prism/snapshots/whitequark/const_scoped.txt
new file mode 100644
index 0000000000..83af4b187b
--- /dev/null
+++ b/test/prism/snapshots/whitequark/const_scoped.txt
@@ -0,0 +1,12 @@
+@ ProgramNode (location: (1,0)-(1,8))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,8))
+ └── body: (length: 1)
+ └── @ ConstantPathNode (location: (1,0)-(1,8))
+ ├── parent:
+ │ @ ConstantReadNode (location: (1,0)-(1,3))
+ │ └── name: :Bar
+ ├── name: :Foo
+ ├── delimiter_loc: (1,3)-(1,5) = "::"
+ └── name_loc: (1,5)-(1,8) = "Foo"