summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/lvasgn.txt
blob: be35c005875da49284729eb78f68a02013466027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ ProgramNode (location: (1,0)-(1,13))
├── locals: [:var]
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 2)
        ├── @ LocalVariableWriteNode (location: (1,0)-(1,8))
        │   ├── name: :var
        │   ├── depth: 0
        │   ├── name_loc: (1,0)-(1,3) = "var"
        │   ├── value:
        │   │   @ IntegerNode (location: (1,6)-(1,8))
        │   │   ├── flags: decimal
        │   │   └── value: 10
        │   └── operator_loc: (1,4)-(1,5) = "="
        └── @ LocalVariableReadNode (location: (1,10)-(1,13))
            ├── name: :var
            └── depth: 0