diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/casgn_scoped.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/casgn_scoped.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/casgn_scoped.txt b/test/prism/snapshots/whitequark/casgn_scoped.txt new file mode 100644 index 0000000000..42b90be061 --- /dev/null +++ b/test/prism/snapshots/whitequark/casgn_scoped.txt @@ -0,0 +1,19 @@ +@ ProgramNode (location: (1,0)-(1,13)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,13)) + └── body: (length: 1) + └── @ ConstantPathWriteNode (location: (1,0)-(1,13)) + ├── target: + │ @ 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" + ├── operator_loc: (1,9)-(1,10) = "=" + └── value: + @ IntegerNode (location: (1,11)-(1,13)) + ├── flags: decimal + └── value: 10 |