blob: abe438bb28d883f7af576f8ae76c13c76b474399 (
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: (0...29))
├── locals: []
└── statements:
@ StatementsNode (location: (0...29))
└── body: (length: 1)
└── @ DefNode (location: (0...29))
├── name: :call
├── name_loc: (4...8) = "call"
├── receiver: ∅
├── parameters:
│ @ ParametersNode (location: (9...24))
│ ├── requireds: (length: 1)
│ │ └── @ RequiredParameterNode (location: (9...15))
│ │ └── name: :interp
│ ├── optionals: (length: 0)
│ ├── rest:
│ │ @ RestParameterNode (location: (17...18))
│ │ ├── name: nil
│ │ ├── name_loc: ∅
│ │ └── operator_loc: (17...18) = "*"
│ ├── posts: (length: 1)
│ │ └── @ RequiredParameterNode (location: (20...24))
│ │ └── name: :args
│ ├── keywords: (length: 0)
│ ├── keyword_rest: ∅
│ └── block: ∅
├── body: ∅
├── locals: [:interp, :*, :args]
├── def_keyword_loc: (0...3) = "def"
├── operator_loc: ∅
├── lparen_loc: (8...9) = "("
├── rparen_loc: (24...25) = ")"
├── equal_loc: ∅
└── end_keyword_loc: (26...29) = "end"
|