summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/call_kwsplat.txt
blob: 4199e97a44c6fe9f981b3ecea17cfcb38189af09 (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
@ ProgramNode (location: (1,0)-(1,6))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,6))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,6))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :a
            ├── message_loc: (1,0)-(1,1) = "a"
            ├── opening_loc: (1,1)-(1,2) = "("
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(1,5))
            │   ├── flags: contains_keyword_splat
            │   └── arguments: (length: 1)
            │       └── @ KeywordHashNode (location: (1,2)-(1,5))
            │           ├── flags: ∅
            │           └── elements: (length: 1)
            │               └── @ AssocSplatNode (location: (1,2)-(1,5))
            │                   ├── value:
            │                   │   @ IntegerNode (location: (1,4)-(1,5))
            │                   │   ├── flags: decimal
            │                   │   └── value: 1
            │                   └── operator_loc: (1,2)-(1,4) = "**"
            ├── closing_loc: (1,5)-(1,6) = ")"
            └── block: ∅