summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/const_op_asgn_and1.txt
blob: f9792aebb364fa18ef9952d088756d7e36df5a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@ ProgramNode (location: (1,0)-(1,8))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,8))
    └── body: (length: 1)
        └── @ ConstantPathOperatorWriteNode (location: (1,0)-(1,8))
            ├── target:
            │   @ ConstantPathNode (location: (1,0)-(1,3))
            │   ├── parent: ∅
            │   ├── name: :X
            │   ├── delimiter_loc: (1,0)-(1,2) = "::"
            │   └── name_loc: (1,2)-(1,3) = "X"
            ├── binary_operator_loc: (1,4)-(1,6) = "&="
            ├── value:
            │   @ IntegerNode (location: (1,7)-(1,8))
            │   ├── flags: decimal
            │   └── value: 1
            └── binary_operator: :&