-
Notifications
You must be signed in to change notification settings - Fork 11
/
SimpleMethod.eo
58 lines (56 loc) · 1.24 KB
/
SimpleMethod.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
# 2022-07-18T16:11:02.847551551
# j2eo team
+alias stdlib.lang.class__System
+alias stdlib.lang.class__Object
+alias stdlib.lang.class__String
+alias stdlib.primitives.prim__int
[] > class__SimpleMethod
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__SimpleMethod" > className
1 > address
[this] > init
seq > @
TRUE
# method :: null -> int
[this] > method
seq > @
return_1
[] > return_1
unaryPrefix_1 > @
[] > unaryPrefix_1
literal_1.neg > @
[] > literal_1
prim__int.constructor_2 > @
prim__int.new
1
# main :: String[] -> void
[args] > main
seq > @
statementExpression_1
[] > statementExpression_1
class__System.out.println > @
class__System.out
literal_2
[] > literal_2
class__String.constructor_2 > @
class__String.new
"passed"
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_2
this
[] > initialization
this.init > @
this
[] > statementExpression_2
this.super.constructor > @
this.super
[args...] > main
class__SimpleMethod.main > @
*