summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/cond_unary_minus.txt
blob: b6e12dfb15c80e48d273a450fe818660813db9b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@ ProgramNode (location: (1,0)-(1,10))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,10))
    └── body: (length: 1)
        └── @ IfNode (location: (1,0)-(1,10))
            ├── if_keyword_loc: (1,0)-(1,2) = "if"
            ├── predicate:
            │   @ IntegerNode (location: (1,3)-(1,5))
            │   ├── flags: decimal
            │   └── value: -1
            ├── then_keyword_loc: ∅
            ├── statements: ∅
            ├── consequent: ∅
            └── end_keyword_loc: (1,7)-(1,10) = "end"