summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/bug_and.txt
blob: 3daf505e5f160de777941f81726b84e1e7b9385e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ ProgramNode (location: (1,0)-(4,11))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(4,11))
    └── body: (length: 2)
        ├── @ AndNode (location: (1,0)-(2,4))
        │   ├── left:
        │   │   @ TrueNode (location: (1,0)-(1,4))
        │   ├── right:
        │   │   @ TrueNode (location: (2,0)-(2,4))
        │   └── operator_loc: (1,5)-(1,8) = "and"
        └── @ AndNode (location: (4,0)-(4,11))
            ├── left:
            │   @ TrueNode (location: (4,0)-(4,4))
            ├── right:
            │   @ ArrayNode (location: (4,9)-(4,11))
            │   ├── flags: ∅
            │   ├── elements: (length: 0)
            │   ├── opening_loc: (4,9)-(4,10) = "["
            │   └── closing_loc: (4,10)-(4,11) = "]"
            └── operator_loc: (4,5)-(4,8) = "and"