summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/numbers.txt
blob: 740f3f5a2a16841a0aed45513dbdedafbc59dc39 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@ ProgramNode (location: (1,0)-(67,5))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(67,5))
    └── body: (length: 34)
        ├── @ IntegerNode (location: (1,0)-(1,1))
        │   ├── flags: decimal
        │   └── value: 0
        ├── @ IntegerNode (location: (3,0)-(3,1))
        │   ├── flags: decimal
        │   └── value: 1
        ├── @ FloatNode (location: (5,0)-(5,3))
        │   └── value: 1.0
        ├── @ IntegerNode (location: (7,0)-(7,1))
        │   ├── flags: decimal
        │   └── value: 2
        ├── @ IntegerNode (location: (9,0)-(9,3))
        │   ├── flags: binary
        │   └── value: 0
        ├── @ IntegerNode (location: (11,0)-(11,3))
        │   ├── flags: binary
        │   └── value: 1
        ├── @ IntegerNode (location: (13,0)-(13,4))
        │   ├── flags: binary
        │   └── value: 2
        ├── @ IntegerNode (location: (15,0)-(15,3))
        │   ├── flags: decimal
        │   └── value: 0
        ├── @ IntegerNode (location: (17,0)-(17,3))
        │   ├── flags: decimal
        │   └── value: 1
        ├── @ IntegerNode (location: (19,0)-(19,3))
        │   ├── flags: decimal
        │   └── value: 2
        ├── @ IntegerNode (location: (21,0)-(21,2))
        │   ├── flags: octal
        │   └── value: 0
        ├── @ IntegerNode (location: (23,0)-(23,2))
        │   ├── flags: octal
        │   └── value: 1
        ├── @ IntegerNode (location: (25,0)-(25,2))
        │   ├── flags: octal
        │   └── value: 2
        ├── @ IntegerNode (location: (27,0)-(27,3))
        │   ├── flags: octal
        │   └── value: 0
        ├── @ IntegerNode (location: (29,0)-(29,3))
        │   ├── flags: octal
        │   └── value: 1
        ├── @ IntegerNode (location: (31,0)-(31,3))
        │   ├── flags: octal
        │   └── value: 2
        ├── @ IntegerNode (location: (33,0)-(33,3))
        │   ├── flags: hexadecimal
        │   └── value: 0
        ├── @ IntegerNode (location: (35,0)-(35,3))
        │   ├── flags: hexadecimal
        │   └── value: 1
        ├── @ IntegerNode (location: (37,0)-(37,3))
        │   ├── flags: hexadecimal
        │   └── value: 2
        ├── @ ImaginaryNode (location: (39,0)-(39,2))
        │   └── numeric:
        │       @ IntegerNode (location: (39,0)-(39,1))
        │       ├── flags: decimal
        │       └── value: 1
        ├── @ RationalNode (location: (41,0)-(41,2))
        │   └── numeric:
        │       @ IntegerNode (location: (41,0)-(41,1))
        │       ├── flags: decimal
        │       └── value: 1
        ├── @ IntegerNode (location: (43,0)-(43,2))
        │   ├── flags: decimal
        │   └── value: -1
        ├── @ ImaginaryNode (location: (45,0)-(45,3))
        │   └── numeric:
        │       @ RationalNode (location: (45,0)-(45,2))
        │       └── numeric:
        │           @ IntegerNode (location: (45,0)-(45,1))
        │           ├── flags: decimal
        │           └── value: 1
        ├── @ RationalNode (location: (47,0)-(47,4))
        │   └── numeric:
        │       @ FloatNode (location: (47,0)-(47,3))
        │       └── value: 1.2
        ├── @ ImaginaryNode (location: (49,0)-(49,5))
        │   └── numeric:
        │       @ RationalNode (location: (49,0)-(49,4))
        │       └── numeric:
        │           @ FloatNode (location: (49,0)-(49,3))
        │           └── value: 1.2
        ├── @ ImaginaryNode (location: (51,0)-(51,4))
        │   └── numeric:
        │       @ RationalNode (location: (51,0)-(51,3))
        │       └── numeric:
        │           @ IntegerNode (location: (51,0)-(51,2))
        │           ├── flags: decimal
        │           └── value: -1
        ├── @ RationalNode (location: (53,0)-(53,5))
        │   └── numeric:
        │       @ FloatNode (location: (53,0)-(53,4))
        │       └── value: -1.2
        ├── @ ImaginaryNode (location: (55,0)-(55,6))
        │   └── numeric:
        │       @ RationalNode (location: (55,0)-(55,5))
        │       └── numeric:
        │           @ FloatNode (location: (55,0)-(55,4))
        │           └── value: -1.2
        ├── @ RationalNode (location: (57,0)-(57,4))
        │   └── numeric:
        │       @ IntegerNode (location: (57,0)-(57,3))
        │       ├── flags: octal
        │       └── value: 1
        ├── @ ImaginaryNode (location: (59,0)-(59,4))
        │   └── numeric:
        │       @ IntegerNode (location: (59,0)-(59,3))
        │       ├── flags: octal
        │       └── value: 1
        ├── @ ImaginaryNode (location: (61,0)-(61,5))
        │   └── numeric:
        │       @ RationalNode (location: (61,0)-(61,4))
        │       └── numeric:
        │           @ IntegerNode (location: (61,0)-(61,3))
        │           ├── flags: octal
        │           └── value: 1
        ├── @ RationalNode (location: (63,0)-(63,4))
        │   └── numeric:
        │       @ IntegerNode (location: (63,0)-(63,3))
        │       ├── flags: decimal
        │       └── value: 1
        ├── @ ImaginaryNode (location: (65,0)-(65,4))
        │   └── numeric:
        │       @ IntegerNode (location: (65,0)-(65,3))
        │       ├── flags: decimal
        │       └── value: 1
        └── @ ImaginaryNode (location: (67,0)-(67,5))
            └── numeric:
                @ RationalNode (location: (67,0)-(67,4))
                └── numeric:
                    @ IntegerNode (location: (67,0)-(67,3))
                    ├── flags: binary
                    └── value: 1