summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/bug_cond_pct.txt
blob: cbf3bc3ef02da179d71b30f521f3d11b844c4158 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@ ProgramNode (location: (1,0)-(1,28))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,28))
    └── body: (length: 1)
        └── @ CaseNode (location: (1,0)-(1,28))
            ├── predicate: ∅
            ├── conditions: (length: 1)
            │   └── @ WhenNode (location: (1,6)-(1,23))
            │       ├── keyword_loc: (1,6)-(1,10) = "when"
            │       ├── conditions: (length: 1)
            │       │   └── @ RegularExpressionNode (location: (1,11)-(1,23))
            │       │       ├── flags: forced_us_ascii_encoding
            │       │       ├── opening_loc: (1,11)-(1,14) = "%r%"
            │       │       ├── content_loc: (1,14)-(1,22) = "blahblah"
            │       │       ├── closing_loc: (1,22)-(1,23) = "%"
            │       │       └── unescaped: "blahblah"
            │       ├── then_keyword_loc: ∅
            │       └── statements: ∅
            ├── consequent: ∅
            ├── case_keyword_loc: (1,0)-(1,4) = "case"
            └── end_keyword_loc: (1,25)-(1,28) = "end"