summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
blob: 312a1981a06140f307ae17265bf7610fd20527dc (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,11))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,11))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,11))
            ├── 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,10)-(1,11) = ")"
            └── block: ∅