aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/complex.txt
blob: 51725453e3a488e43a04e04f5e8a429cfc33740a (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
27
28
29
30
31
32
33
@ ProgramNode (location: (1,0)-(7,4))
├── flags: ∅
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(7,4))
    ├── flags: ∅
    └── body: (length: 4)
        ├── @ ImaginaryNode (location: (1,0)-(1,5))
        │   ├── flags: newline, static_literal
        │   └── numeric:
        │       @ FloatNode (location: (1,0)-(1,4))
        │       ├── flags: static_literal
        │       └── value: 42.1
        ├── @ ImaginaryNode (location: (3,0)-(3,6))
        │   ├── flags: newline, static_literal
        │   └── numeric:
        │       @ RationalNode (location: (3,0)-(3,5))
        │       ├── flags: static_literal, decimal
        │       ├── numerator: 421
        │       └── denominator: 10
        ├── @ ImaginaryNode (location: (5,0)-(5,3))
        │   ├── flags: newline, static_literal
        │   └── numeric:
        │       @ IntegerNode (location: (5,0)-(5,2))
        │       ├── flags: static_literal, decimal
        │       └── value: 42
        └── @ ImaginaryNode (location: (7,0)-(7,4))
            ├── flags: newline, static_literal
            └── numeric:
                @ RationalNode (location: (7,0)-(7,3))
                ├── flags: static_literal, decimal
                ├── numerator: 42
                └── denominator: 1