summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/defns_reserved.txt
blob: 96860b49ce04c0e2f0fec9c26fc103cd3c5cece9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ ProgramNode (location: (1,0)-(1,20))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,20))
    └── body: (length: 1)
        └── @ DefNode (location: (1,0)-(1,20))
            ├── name: :return
            ├── name_loc: (1,9)-(1,15) = "return"
            ├── receiver:
            │   @ SelfNode (location: (1,4)-(1,8))
            ├── parameters: ∅
            ├── body: ∅
            ├── locals: []
            ├── def_keyword_loc: (1,0)-(1,3) = "def"
            ├── operator_loc: (1,8)-(1,9) = "."
            ├── lparen_loc: ∅
            ├── rparen_loc: ∅
            ├── equal_loc: ∅
            └── end_keyword_loc: (1,17)-(1,20) = "end"