summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/module_comments.txt
blob: 2785187a29eaf34de0c658c3b9c55ee504e9c61b (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
@ ProgramNode (location: (5,0)-(10,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (5,0)-(10,3))
    └── body: (length: 1)
        └── @ ModuleNode (location: (5,0)-(10,3))
            ├── locals: []
            ├── module_keyword_loc: (5,0)-(5,6) = "module"
            ├── constant_path:
            │   @ ConstantReadNode (location: (5,7)-(5,8))
            │   └── name: :X
            ├── body:
            │   @ StatementsNode (location: (7,2)-(9,5))
            │   └── body: (length: 1)
            │       └── @ DefNode (location: (7,2)-(9,5))
            │           ├── name: :blah
            │           ├── name_loc: (7,6)-(7,10) = "blah"
            │           ├── receiver: ∅
            │           ├── parameters: ∅
            │           ├── body: ∅
            │           ├── locals: []
            │           ├── def_keyword_loc: (7,2)-(7,5) = "def"
            │           ├── operator_loc: ∅
            │           ├── lparen_loc: ∅
            │           ├── rparen_loc: ∅
            │           ├── equal_loc: ∅
            │           └── end_keyword_loc: (9,2)-(9,5) = "end"
            ├── end_keyword_loc: (10,0)-(10,3) = "end"
            └── name: :X