aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/seattlerb/bug202.txt
blob: 3faff193dcf0789ff730f46a3a08ef875f92b9f4 (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)-(2,10))
├── locals: [:测试]
└── statements:
    @ StatementsNode (location: (1,0)-(2,10))
    └── body: (length: 2)
        ├── @ GlobalVariableWriteNode (location: (1,0)-(1,11))
        │   ├── name: :$测试
        │   ├── name_loc: (1,0)-(1,7) = "$测试"
        │   ├── value:
        │   │   @ IntegerNode (location: (1,10)-(1,11))
        │   │   └── flags: decimal
        │   └── operator_loc: (1,8)-(1,9) = "="
        └── @ LocalVariableWriteNode (location: (2,0)-(2,10))
            ├── name: :测试
            ├── depth: 0
            ├── name_loc: (2,0)-(2,6) = "测试"
            ├── value:
            │   @ IntegerNode (location: (2,9)-(2,10))
            │   └── flags: decimal
            └── operator_loc: (2,7)-(2,8) = "="