summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/complex.txt
blob: bc748db09bb9698c3efa2ffde18b6d6ce1ce185e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@ ProgramNode (location: (1,0)-(7,4))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(7,4))
    └── body: (length: 4)
        ├── @ ImaginaryNode (location: (1,0)-(1,5))
        │   └── numeric:
        │       @ FloatNode (location: (1,0)-(1,4))
        │       └── value: 42.1
        ├── @ ImaginaryNode (location: (3,0)-(3,6))
        │   └── numeric:
        │       @ RationalNode (location: (3,0)-(3,5))
        │       ├── flags: decimal
        │       ├── numerator: 421
        │       └── denominator: 10
        ├── @ ImaginaryNode (location: (5,0)-(5,3))
        │   └── numeric:
        │       @ IntegerNode (location: (5,0)-(5,2))
        │       ├── flags: decimal
        │       └── value: 42
        └── @ ImaginaryNode (location: (7,0)-(7,4))
            └── numeric:
                @ RationalNode (location: (7,0)-(7,3))
                ├── flags: decimal
                ├── numerator: 42
                └── denominator: 1