summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/call_array_arg.txt
blob: 95d2f4859d00ee3755dd213717c4454ae497b9fe (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
36
37
38
@ ProgramNode (location: (1,0)-(1,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,13))
            ├── flags: ∅
            ├── receiver:
            │   @ IntegerNode (location: (1,0)-(1,1))
            │   ├── flags: decimal
            │   └── value: 1
            ├── call_operator_loc: ∅
            ├── name: :==
            ├── message_loc: (1,2)-(1,4) = "=="
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (1,5)-(1,13))
            │   ├── flags: ∅
            │   └── arguments: (length: 1)
            │       └── @ ArrayNode (location: (1,5)-(1,13))
            │           ├── flags: ∅
            │           ├── elements: (length: 2)
            │           │   ├── @ SymbolNode (location: (1,6)-(1,8))
            │           │   │   ├── flags: forced_us_ascii_encoding
            │           │   │   ├── opening_loc: (1,6)-(1,7) = ":"
            │           │   │   ├── value_loc: (1,7)-(1,8) = "b"
            │           │   │   ├── closing_loc: ∅
            │           │   │   └── unescaped: "b"
            │           │   └── @ SymbolNode (location: (1,10)-(1,12))
            │           │       ├── flags: forced_us_ascii_encoding
            │           │       ├── opening_loc: (1,10)-(1,11) = ":"
            │           │       ├── value_loc: (1,11)-(1,12) = "c"
            │           │       ├── closing_loc: ∅
            │           │       └── unescaped: "c"
            │           ├── opening_loc: (1,5)-(1,6) = "["
            │           └── closing_loc: (1,12)-(1,13) = "]"
            ├── closing_loc: ∅
            └── block: ∅