summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/const_op_asgn_and2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/seattlerb/const_op_asgn_and2.txt')
-rw-r--r--test/prism/snapshots/seattlerb/const_op_asgn_and2.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/const_op_asgn_and2.txt b/test/prism/snapshots/seattlerb/const_op_asgn_and2.txt
new file mode 100644
index 0000000000..22f6682534
--- /dev/null
+++ b/test/prism/snapshots/seattlerb/const_op_asgn_and2.txt
@@ -0,0 +1,18 @@
+@ ProgramNode (location: (1,0)-(1,9))
+├── locals: []
+└── statements:
+ @ StatementsNode (location: (1,0)-(1,9))
+ └── body: (length: 1)
+ └── @ ConstantPathAndWriteNode (location: (1,0)-(1,9))
+ ├── target:
+ │ @ ConstantPathNode (location: (1,0)-(1,3))
+ │ ├── parent: ∅
+ │ ├── child:
+ │ │ @ ConstantReadNode (location: (1,2)-(1,3))
+ │ │ └── name: :X
+ │ └── delimiter_loc: (1,0)-(1,2) = "::"
+ ├── operator_loc: (1,4)-(1,7) = "&&="
+ └── value:
+ @ IntegerNode (location: (1,8)-(1,9))
+ ├── flags: decimal
+ └── value: 1