diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/const_op_asgn_or.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/const_op_asgn_or.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/const_op_asgn_or.txt b/test/prism/snapshots/seattlerb/const_op_asgn_or.txt new file mode 100644 index 0000000000..5e9dd39604 --- /dev/null +++ b/test/prism/snapshots/seattlerb/const_op_asgn_or.txt @@ -0,0 +1,19 @@ +@ ProgramNode (location: (1,0)-(1,10)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,10)) + └── body: (length: 1) + └── @ ConstantPathOrWriteNode (location: (1,0)-(1,10)) + ├── target: + │ @ ConstantPathNode (location: (1,0)-(1,4)) + │ ├── parent: + │ │ @ ConstantReadNode (location: (1,0)-(1,1)) + │ │ └── name: :X + │ ├── name: :Y + │ ├── delimiter_loc: (1,1)-(1,3) = "::" + │ └── name_loc: (1,3)-(1,4) = "Y" + ├── operator_loc: (1,5)-(1,8) = "||=" + └── value: + @ IntegerNode (location: (1,9)-(1,10)) + ├── flags: decimal + └── value: 1 |