-
Notifications
You must be signed in to change notification settings - Fork 11
/
direct-state-access-read-in-calculation-chain-2.eo
156 lines (152 loc) · 3.3 KB
/
direct-state-access-read-in-calculation-chain-2.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
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
# 2022-07-18T12:42:28.063965400
# j2eo team
+package directStateAccess
+alias stdlib.lang.class__Object
+alias stdlib.lang.class__System
+alias stdlib.primitives.prim__int
[] > class__A
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__A" > className
[this] > init
seq > @
variableDeclaration_1
[] > variableDeclaration_1
this.state.write > @
initializerSimple_1
[] > initializerSimple_1
literal_1 > @
[] > literal_1
prim__int.constructor_2 > @
prim__int.new
0
prim__int.constructor_1 > state
prim__int.new
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_1
this
[] > initialization
this.init > @
this
[] > statementExpression_1
this.super.constructor > @
this.super
[] > class__B
class__A > super
super > @
[] > new
class__A.new > super
super > @
"class__B" > className
[this] > init
seq > @
TRUE
# n :: int -> int
[this x] > n
seq > @
return_1
[] > return_1
binary_1 > @
[] > binary_1
simpleReference_1.add > @
parenthesized_1
[] > simpleReference_1
x > @
[] > parenthesized_1
binary_2 > @
[] > binary_2
literal_2.mul > @
parenthesized_2
[] > literal_2
prim__int.constructor_2 > @
prim__int.new
100
[] > parenthesized_2
binary_3 > @
[] > binary_3
literal_3.add > @
parenthesized_3
[] > literal_3
prim__int.constructor_2 > @
prim__int.new
100
[] > parenthesized_3
binary_4 > @
[] > binary_4
literal_4.sub > @
simpleReference_2
[] > literal_4
prim__int.constructor_2 > @
prim__int.new
100
[] > simpleReference_2
state > @
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_2
this
[] > initialization
this.init > @
this
[] > statementExpression_2
this.super.constructor > @
this.super
[] > class__Test
class__Object > super
super > @
[] > new
class__Object.new > super
super > @
"class__Test" > className
[this] > init
seq > @
TRUE
# main :: String[] -> void
[args] > main
seq > @
variableDeclaration_2
statementExpression_3
cage > b
[] > variableDeclaration_2
b.write > @
initializerSimple_3
[] > initializerSimple_3
instanceCreation_1 > @
[] > instanceCreation_1
class__B.constructor > @
class__B.new
[] > statementExpression_3
class__System.out.println > @
class__System.out
methodInvocation_1
[] > methodInvocation_1
b.n > @
b
literal_5
[] > literal_5
prim__int.constructor_2 > @
prim__int.new
5
# null :: null -> void
[this] > constructor
seq > @
initialization
statementExpression_4
this
[] > initialization
this.init > @
this
[] > statementExpression_4
this.super.constructor > @
this.super
[args...] > main
class__Test.main > @
*