aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/seattlerb/f_kw.txt
blob: ae569e9a9a362931c7cbde28340c0264d39dc777 (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
@ ProgramNode (location: (0...15))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...15))
    └── body: (length: 1)
        └── @ DefNode (location: (0...15))
            ├── name: :x
            ├── name_loc: (4...5) = "x"
            ├── receiver: ∅
            ├── parameters:
            │   @ ParametersNode (location: (6...10))
            │   ├── requireds: (length: 0)
            │   ├── optionals: (length: 0)
            │   ├── rest: ∅
            │   ├── posts: (length: 0)
            │   ├── keywords: (length: 1)
            │   │   └── @ KeywordParameterNode (location: (6...10))
            │   │       ├── name: :k
            │   │       ├── name_loc: (6...8) = "k:"
            │   │       └── value:
            │   │           @ IntegerNode (location: (8...10))
            │   │           └── flags: decimal
            │   ├── keyword_rest: ∅
            │   └── block: ∅
            ├── body: ∅
            ├── locals: [:k]
            ├── def_keyword_loc: (0...3) = "def"
            ├── operator_loc: ∅
            ├── lparen_loc: ∅
            ├── rparen_loc: ∅
            ├── equal_loc: ∅
            └── end_keyword_loc: (12...15) = "end"