diff options
Diffstat (limited to 'test/prism/snapshots/whitequark/casgn_toplevel.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/casgn_toplevel.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/prism/snapshots/whitequark/casgn_toplevel.txt b/test/prism/snapshots/whitequark/casgn_toplevel.txt new file mode 100644 index 0000000000..070d90a46b --- /dev/null +++ b/test/prism/snapshots/whitequark/casgn_toplevel.txt @@ -0,0 +1,17 @@ +@ ProgramNode (location: (1,0)-(1,10)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,10)) + └── body: (length: 1) + └── @ ConstantPathWriteNode (location: (1,0)-(1,10)) + ├── target: + │ @ ConstantPathNode (location: (1,0)-(1,5)) + │ ├── parent: ∅ + │ ├── name: :Foo + │ ├── delimiter_loc: (1,0)-(1,2) = "::" + │ └── name_loc: (1,2)-(1,5) = "Foo" + ├── operator_loc: (1,6)-(1,7) = "=" + └── value: + @ IntegerNode (location: (1,8)-(1,10)) + ├── flags: decimal + └── value: 10 |