source: translator/Tests/ResolvExpr/Expected/Statement.tst @ 51b7345

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 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

initial commit

  • Property mode set to 100644
File size: 4.9 KB
Line 
1?=?: a function
2    with parameters
3      pointer to signed int
4      signed int
5    returning
6      signed int
7
8?!=?: a function
9    with parameters
10      signed int
11      signed int
12    returning
13      signed int
14
150: a signed int
16f: a function
17      accepting unspecified arguments
18    returning
19      nothing
20    with body
21      Declaration of a: a signed int
22      Declaration of struct __anonymous0
23          with members
24            b: a signed int
25
26      Declaration of ?=?: a automatically generated inline static function
27          with parameters
28            _dst: a pointer to instance of struct __anonymous0
29            _src: a instance of struct __anonymous0
30          returning
31            instance of struct __anonymous0
32          with body
33           
34              Expression Statement:
35                Application of
36                  Variable Expression: ?=?: a function
37                      with parameters
38                        pointer to signed int
39                        signed int
40                      returning
41                        signed int
42
43                to arguments
44                                      Address of:
45                      Member Expression, with field:
46                        b: a signed int
47                      from aggregate:
48                        Applying untyped:
49                            Name: *?
50
51                        ...to:
52                            Variable Expression: _dst: a pointer to instance of struct __anonymous0
53
54                                      Member Expression, with field:
55                      b: a signed int
56                    from aggregate:
57                      Variable Expression: _src: a instance of struct __anonymous0
58
59                with environment:
60                  Types:
61                  Non-types:
62
63           
64              Return Statement, returning: Cast of:
65  Variable Expression: _src: a instance of struct __anonymous0
66
67to:
68  instance of struct __anonymous0
69with environment:
70  Types:
71  Non-types:
72
73
74
75      Declaration of a: a instance of struct __anonymous0
76     
77        If on condition:
78            Cast of:
79              Application of
80                Variable Expression: ?!=?: a function
81                    with parameters
82                      signed int
83                      signed int
84                    returning
85                      signed int
86
87              to arguments
88                                  Variable Expression: a: a signed int
89
90                                  Variable Expression: 0: a signed int
91
92
93            to:
94              signed int
95            with environment:
96              Types:
97              Non-types:
98        .... and branches:
99           
100              While on condition:
101                  Cast of:
102                    Application of
103                      Variable Expression: ?!=?: a function
104                          with parameters
105                            signed int
106                            signed int
107                          returning
108                            signed int
109
110                    to arguments
111                                              Variable Expression: a: a signed int
112
113                                              Variable Expression: 0: a signed int
114
115
116                  to:
117                    signed int
118                  with environment:
119                    Types:
120                    Non-types:
121              .... with body:
122                  Declaration of b: a pointer to signed int
123                 
124                    For Statement
125
126                      initialization:
127
128                        Expression Statement:
129                          Variable Expression: b: a pointer to signed int
130                          with environment:
131                            Types:
132                            Non-types:
133
134
135                      condition:
136                        Cast of:
137                          Application of
138                            Variable Expression: ?!=?: a function
139                                with parameters
140                                  signed int
141                                  signed int
142                                returning
143                                  signed int
144
145                          to arguments
146                                                          Variable Expression: a: a signed int
147
148                                                          Variable Expression: 0: a signed int
149
150
151                        to:
152                          signed int
153                        with environment:
154                          Types:
155                          Non-types:
156
157
158                      increment:
159                        Variable Expression: b: a pointer to signed int
160                        with environment:
161                          Types:
162                          Non-types:
163
164
165                      statement block:
166
167
168
169
170
Note: See TracBrowser for help on using the repository browser.