summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/call_arg_assoc.txt
blob: 27c19fd339243b11c8d48eba19486ac533321a26 (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
@ ProgramNode (location: (1,0)-(1,10))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,10))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,10))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :f
            ├── message_loc: (1,0)-(1,1) = "f"
            ├── opening_loc: (1,1)-(1,2) = "("
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(1,9))
            │   ├── flags: ∅
            │   └── arguments: (length: 2)
            │       ├── @ IntegerNode (location: (1,2)-(1,3))
            │       │   ├── flags: decimal
            │       │   └── value: 1
            │       └── @ KeywordHashNode (location: (1,5)-(1,9))
            │           ├── flags: ∅
            │           └── elements: (length: 1)
            │               └── @ AssocNode (location: (1,5)-(1,9))
            │                   ├── key:
            │                   │   @ IntegerNode (location: (1,5)-(1,6))
            │                   │   ├── flags: decimal
            │                   │   └── value: 2
            │                   ├── value:
            │                   │   @ IntegerNode (location: (1,8)-(1,9))
            │                   │   ├── flags: decimal
            │                   │   └── value: 3
            │                   └── operator_loc: (1,6)-(1,8) = "=>"
            ├── closing_loc: (1,9)-(1,10) = ")"
            └── block: ∅