-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathliskov.eo
More file actions
146 lines (142 loc) · 2.91 KB
/
Copy pathliskov.eo
File metadata and controls
146 lines (142 loc) · 2.91 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
# SPDX-FileCopyrightText: Copyright (c) 2022 Polystat
# SPDX-License-Identifier: MIT
# 2022-06-20T16:48:51.463254529
# j2eo team
+alias stdlib.lang.class__Object
+alias stdlib.primitives.prim__int
+alias org.eolang.gray.cage
[] > class__Parent
class__Object > super
super > @
[] > new
[] > this
class__Object.new > super
super > @
"class__Parent" > className
[this] > init
seq > @
TRUE
# f :: int -> int
[this x] > f
seq > @
s873610597
[] > s873610597
s_r1497845528 > @
[] > s_r1497845528
x > @
# g :: int -> int
[this x] > g
seq > @
s1710989308
[] > s1710989308
m_i1047087935 > @
[] > m_i1047087935
this.f > @
this
s_r464887938
[] > s_r464887938
x > @
seq > @
this
# null :: null -> void
[this] > constructor
seq > @
initialization
s2020152163
this
[] > initialization
this.init > @
this
[] > s2020152163
super.constructor > @
this.super
[] > class__Child
class__Parent > super
super > @
[] > new
[] > this
class__Parent.new > super
super > @
"class__Child" > className
[this] > init
seq > @
TRUE
# f :: int -> int
[this y] > f
seq > @
s1104443373
[] > s1104443373
b898694235 > @
[] > b898694235
l60292059.div > @
s_r869601985
[] > l60292059
prim__int.constructor_2 > @
prim__int.new
10
[] > s_r869601985
y > @
seq > @
this
# null :: null -> void
[this] > constructor
seq > @
initialization
s1365008457
this
[] > initialization
this.init > @
this
[] > s1365008457
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 > @
d1671179293
s1985836631
cage > childInstance
[] > d1671179293
childInstance.write > @
i_s1609124502
[] > i_s1609124502
inst1144068272 > @
[] > inst1144068272
class__Child.constructor > @
class__Child.new
[] > s1985836631
childInstance.f > @
childInstance
l1948471365
[] > l1948471365
prim__int.constructor_2 > @
prim__int.new
10
# null :: null -> void
[this] > constructor
seq > @
initialization
s1636506029
this
[] > initialization
this.init > @
this
[] > s1636506029
super.constructor > @
this.super
[args...] > main
class__Test.main > @
*