summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/bug_while_not_parens_do.txt
blob: aa8aa11cccd0218e61c67ce2bf7dd6c3a43b09a6 (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
@ ProgramNode (location: (1,0)-(1,23))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,23))
    └── body: (length: 1)
        └── @ WhileNode (location: (1,0)-(1,23))
            ├── flags: ∅
            ├── keyword_loc: (1,0)-(1,5) = "while"
            ├── closing_loc: (1,20)-(1,23) = "end"
            ├── predicate:
            │   @ CallNode (location: (1,6)-(1,16))
            │   ├── flags: ∅
            │   ├── receiver:
            │   │   @ ParenthesesNode (location: (1,10)-(1,16))
            │   │   ├── body:
            │   │   │   @ StatementsNode (location: (1,11)-(1,15))
            │   │   │   └── body: (length: 1)
            │   │   │       └── @ TrueNode (location: (1,11)-(1,15))
            │   │   ├── opening_loc: (1,10)-(1,11) = "("
            │   │   └── closing_loc: (1,15)-(1,16) = ")"
            │   ├── call_operator_loc: ∅
            │   ├── name: :!
            │   ├── message_loc: (1,6)-(1,9) = "not"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            └── statements: ∅