summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/const_op_asgn_and1.txt
blob: b1d61b3752c59428b51de6777b4ebfa9e95cfc78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ 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: ∅
            │   ├── child:
            │   │   @ ConstantReadNode (location: (1,2)-(1,3))
            │   │   └── name: :X
            │   └── delimiter_loc: (1,0)-(1,2) = "::"
            ├── operator_loc: (1,4)-(1,6) = "&="
            ├── value:
            │   @ IntegerNode (location: (1,7)-(1,8))
            │   ├── flags: decimal
            │   └── value: 1
            └── operator: :&