summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/casgn_scoped.txt
blob: 4e3fd6fe4461c97c792265261a989a487e2d9f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@ ProgramNode (location: (1,0)-(1,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ ConstantPathWriteNode (location: (1,0)-(1,13))
            ├── target:
            │   @ ConstantPathNode (location: (1,0)-(1,8))
            │   ├── parent:
            │   │   @ ConstantReadNode (location: (1,0)-(1,3))
            │   │   └── name: :Bar
            │   ├── child:
            │   │   @ ConstantReadNode (location: (1,5)-(1,8))
            │   │   └── name: :Foo
            │   └── delimiter_loc: (1,3)-(1,5) = "::"
            ├── operator_loc: (1,9)-(1,10) = "="
            └── value:
                @ IntegerNode (location: (1,11)-(1,13))
                ├── flags: decimal
                └── value: 10