summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/in_expr_no_case.txt
blob: 0a026c08dbc54b47f1680b1e5b37432016bf4eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ ProgramNode (location: (1,0)-(1,16))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,16))
    └── body: (length: 1)
        └── @ MatchPredicateNode (location: (1,0)-(1,16))
            ├── value:
            │   @ StringNode (location: (1,0)-(1,6))
            │   ├── flags: ∅
            │   ├── opening_loc: (1,0)-(1,1) = "'"
            │   ├── content_loc: (1,1)-(1,5) = "woot"
            │   ├── closing_loc: (1,5)-(1,6) = "'"
            │   └── unescaped: "woot"
            ├── pattern:
            │   @ ConstantReadNode (location: (1,10)-(1,16))
            │   └── name: :String
            └── operator_loc: (1,7)-(1,9) = "in"