-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmutual-recursion.eo
More file actions
181 lines (177 loc) · 3.67 KB
/
Copy pathmutual-recursion.eo
File metadata and controls
181 lines (177 loc) · 3.67 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# SPDX-FileCopyrightText: Copyright (c) 2022 Polystat
# SPDX-License-Identifier: MIT
# 2022-06-20T16:48:51.454871657
# j2eo team
+alias stdlib.lang.class__Object
+alias stdlib.primitives.prim__int
+alias org.eolang.gray.cage
[] > class__Base
class__Object > super
super > @
[] > new
[] > this
class__Object.new > super
super > @
"class__Base" > className
[this] > init
seq > @
d568221876
[] > d568221876
this.x.write > @
i_s1353070773
[] > i_s1353070773
l825658265 > @
[] > l825658265
prim__int.constructor_2 > @
prim__int.new
0
prim__int.constructor_1 > x
prim__int.new
# getX :: null -> int
[this] > getX
seq > @
s204715855
[] > s204715855
s_r1888442711 > @
[] > s_r1888442711
x > @
# n :: int -> void
[this v] > n
seq > @
s550402284
[] > s550402284
s_r1438098656.write > @
s_r1594199808
[] > s_r1438098656
x > @
[] > s_r1594199808
v > @
# o :: int -> void
[this v] > o
seq > @
s1769190683
[] > s1769190683
this.n > @
this
s_r1201484275
[] > s_r1201484275
v > @
# m :: int -> void
[this v] > m
seq > @
s1089418272
[] > s1089418272
this.o > @
this
s_r1233990028
[] > s_r1233990028
v > @
seq > @
this
# null :: null -> void
[this] > constructor
seq > @
initialization
s1509791656
this
[] > initialization
this.init > @
this
[] > s1509791656
super.constructor > @
this.super
[] > class__Derived
class__Base > super
super > @
[] > new
[] > this
class__Base.new > super
super > @
"class__Derived" > className
[this] > init
seq > @
TRUE
# n :: int -> void
[this v] > n
seq > @
s257608164
[] > s257608164
this.m > @
this
s_r306115458
[] > s_r306115458
v > @
# l :: int -> void
[this v] > l
seq > @
s230643635
[] > s230643635
this.n > @
this
s_r944427387
[] > s_r944427387
v > @
seq > @
this
# null :: null -> void
[this] > constructor
seq > @
initialization
s1636182655
this
[] > initialization
this.init > @
this
[] > s1636182655
super.constructor > @
this.super
[] > class__Test
class__Object > super
super > @
[] > new
[] > this
class__Object.new > super
super > @
"class__Test" > className
[this] > init
seq > @
TRUE
seq > @
this
# main :: String[] -> void
[args] > main
seq > @
d71399214
s1390869998
cage > derivedInstance
[] > d71399214
derivedInstance.write > @
i_s1932831450
[] > i_s1932831450
inst496729294 > @
[] > inst496729294
class__Derived.constructor > @
class__Derived.new
[] > s1390869998
derivedInstance.l > @
derivedInstance
l1820383114
[] > l1820383114
prim__int.constructor_2 > @
prim__int.new
10
# null :: null -> void
[this] > constructor
seq > @
initialization
s1645547422
this
[] > initialization
this.init > @
this
[] > s1645547422
super.constructor > @
this.super
[args...] > main
class__Test.main > @
*