summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/cond_iflipflop_with_beginless_range.txt
blob: 63b87ffd49c5313028533e19440c6a36f7c56012 (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
@ ProgramNode (location: (1,0)-(1,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ IfNode (location: (1,0)-(1,13))
            ├── if_keyword_loc: (1,0)-(1,2) = "if"
            ├── predicate:
            │   @ FlipFlopNode (location: (1,3)-(1,8))
            │   ├── flags: ∅
            │   ├── left: ∅
            │   ├── right:
            │   │   @ CallNode (location: (1,5)-(1,8))
            │   │   ├── flags: variable_call, ignore_visibility
            │   │   ├── receiver: ∅
            │   │   ├── call_operator_loc: ∅
            │   │   ├── name: :bar
            │   │   ├── message_loc: (1,5)-(1,8) = "bar"
            │   │   ├── opening_loc: ∅
            │   │   ├── arguments: ∅
            │   │   ├── closing_loc: ∅
            │   │   └── block: ∅
            │   └── operator_loc: (1,3)-(1,5) = ".."
            ├── then_keyword_loc: ∅
            ├── statements: ∅
            ├── consequent: ∅
            └── end_keyword_loc: (1,10)-(1,13) = "end"