source: translator/Tests/ResolvExpr/Expected/Operators.tst @ b1a6d6b

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since b1a6d6b was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 5.0 KB
Line 
1?*?: a function
2    with parameters
3      signed int
4      signed int
5    returning
6      signed int
7
8?(): a function
9    with parameters
10      number1: a signed int
11      number2: a signed int
12    returning
13      signed int
14    with body
15     
16        Return Statement, returning: Cast of:
17  Application of
18    Variable Expression: ?*?: a function
19        with parameters
20          signed int
21          signed int
22        returning
23          signed int
24
25  to arguments
26          Variable Expression: number1: a signed int
27
28          Variable Expression: number2: a signed int
29
30
31to:
32  signed int
33with environment:
34  Types:
35  Non-types:
36
37
38
39?+?: a function
40    with parameters
41      signed int
42      signed int
43    returning
44      signed int
45
46?=?: a function
47    with parameters
48      pointer to signed int
49      signed int
50    returning
51      signed int
52
53struct accumulator
54    with members
55      total: a signed int
56
57?=?: a automatically generated inline static function
58    with parameters
59      _dst: a pointer to instance of struct accumulator
60      _src: a instance of struct accumulator
61    returning
62      instance of struct accumulator
63    with body
64     
65        Expression Statement:
66          Application of
67            Variable Expression: ?=?: a function
68                with parameters
69                  pointer to signed int
70                  signed int
71                returning
72                  signed int
73
74          to arguments
75                          Address of:
76                Member Expression, with field:
77                  total: a signed int
78                from aggregate:
79                  Applying untyped:
80                      Name: *?
81
82                  ...to:
83                      Variable Expression: _dst: a pointer to instance of struct accumulator
84
85                          Member Expression, with field:
86                total: a signed int
87              from aggregate:
88                Variable Expression: _src: a instance of struct accumulator
89
90          with environment:
91            Types:
92            Non-types:
93
94     
95        Return Statement, returning: Cast of:
96  Variable Expression: _src: a instance of struct accumulator
97
98to:
99  instance of struct accumulator
100with environment:
101  Types:
102  Non-types:
103
104
105
106?(): a function
107    with parameters
108      a: a instance of struct accumulator
109      number1: a char
110      number2: a char
111    returning
112      char
113
114f: a function
115    returning
116      nothing
117    with body
118      Declaration of a: a char
119      Declaration of b: a char
120     
121        Expression Statement:
122          Application of
123            Variable Expression: ?(): a function
124                with parameters
125                  number1: a signed int
126                  number2: a signed int
127                returning
128                  signed int
129
130          to arguments
131                          Cast of:
132                Variable Expression: a: a char
133
134              to:
135                signed int
136
137                          Cast of:
138                Variable Expression: b: a char
139
140              to:
141                signed int
142
143          with environment:
144            Types:
145            Non-types:
146
147     
148        Expression Statement:
149          Application of
150            Variable Expression: ?(): a function
151                with parameters
152                  number1: a signed int
153                  number2: a signed int
154                returning
155                  signed int
156
157          to arguments
158                          Cast of:
159                Variable Expression: a: a char
160
161              to:
162                signed int
163
164                          Cast of:
165                Variable Expression: b: a char
166
167              to:
168                signed int
169
170          with environment:
171            Types:
172            Non-types:
173
174     
175        Expression Statement:
176          Application of
177            Variable Expression: ?+?: a function
178                with parameters
179                  signed int
180                  signed int
181                returning
182                  signed int
183
184          to arguments
185                          Cast of:
186                Variable Expression: a: a char
187
188              to:
189                signed int
190
191                          Cast of:
192                Variable Expression: b: a char
193
194              to:
195                signed int
196
197          with environment:
198            Types:
199            Non-types:
200
201      Declaration of ?+?: a instance of struct accumulator
202     
203        Expression Statement:
204          Application of
205            Variable Expression: ?(): a function
206                with parameters
207                  a: a instance of struct accumulator
208                  number1: a char
209                  number2: a char
210                returning
211                  char
212
213          to arguments
214                          Variable Expression: ?+?: a instance of struct accumulator
215
216                          Variable Expression: a: a char
217
218                          Variable Expression: b: a char
219
220          with environment:
221            Types:
222            Non-types:
223
224
Note: See TracBrowser for help on using the repository browser.