-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdivision-by-zero-array-size.eo
74 lines (72 loc) · 1.57 KB
/
division-by-zero-array-size.eo
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
# 2022-07-18T12:42:28.223424300
# j2eo team
+package divByZero
+alias stdlib.lang.class__Object
+alias stdlib.lang.class__System
+alias stdlib.primitives.prim__int
+alias eo/org/polystat/stdlib.util.class__Vector
[] > class__Test
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__Test" > className
[this] > init
seq > @
TRUE
# test :: int -> int
[x] > test
seq > @
variableDeclaration_1
return_1
cage > a
[] > variableDeclaration_1
a.write > @
initializerSimple_1
[] > initializerSimple_1
instanceCreation_1 > @
[] > instanceCreation_1
class__Vector.constructor > @
class__Vector.new
[] > return_1
binary_1 > @
[] > binary_1
simpleReference_1.div > @
methodInvocation_1
[] > simpleReference_1
x > @
[] > methodInvocation_1
a.size > @
a
# main :: String[] -> void
[args] > main
seq > @
statementExpression_1
[] > statementExpression_1
class__System.out.println > @
class__System.out
methodInvocation_2
[] > methodInvocation_2
this.test > @
this
literal_1
[] > literal_1
prim__int.constructor_2 > @
prim__int.new
100
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_2
this
[] > initialization
this.init > @
this
[] > statementExpression_2
this.super.constructor > @
this.super
[args...] > main
class__Test.main > @
*