aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
blob: d986eccdb972e9d469479df5b832dc787fd213e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@ ProgramNode (location: (1,0)-(1,11))
├── locals: [:a]
└── statements:
    @ StatementsNode (location: (1,0)-(1,11))
    └── body: (length: 1)
        └── @ LocalVariableOrWriteNode (location: (1,0)-(1,11))
            ├── name_loc: (1,0)-(1,1) = "a"
            ├── operator_loc: (1,2)-(1,5) = "||="
            ├── value:
            │   @ CallNode (location: (1,6)-(1,11))
            │   ├── receiver:
            │   │   @ CallNode (location: (1,6)-(1,7))
            │   │   ├── receiver: ∅
            │   │   ├── call_operator_loc: ∅
            │   │   ├── message_loc: (1,6)-(1,7) = "b"
            │   │   ├── opening_loc: ∅
            │   │   ├── arguments: ∅
            │   │   ├── closing_loc: ∅
            │   │   ├── block: ∅
            │   │   ├── flags: variable_call
            │   │   └── name: "b"
            │   ├── call_operator_loc: (1,7)-(1,8) = "."
            │   ├── message_loc: (1,8)-(1,9) = "c"
            │   ├── opening_loc: ∅
            │   ├── arguments:
            │   │   @ ArgumentsNode (location: (1,10)-(1,11))
            │   │   └── arguments: (length: 1)
            │   │       └── @ IntegerNode (location: (1,10)-(1,11))
            │   │           └── flags: decimal
            │   ├── closing_loc: ∅
            │   ├── block: ∅
            │   ├── flags: ∅
            │   └── name: "c"
            ├── name: :a
            └── depth: 0