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