source: src/Tests/SynTree/Expected/TypeGenerator.tst @ 5f2f2d7

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

fix constant types, remove unnecessary string copying, work on regression testing, fix several memory leaks

  • Property mode set to 100644
File size: 2.5 KB
Line 
1context addable
2    with parameters
3      T: type
4
5    with members
6      ?+?: function
7          with parameters
8            instance of type T (not function type)
9            instance of type T (not function type)
10          returning
11            instance of type T (not function type)
12
13
14struct __anonymous0
15    with members
16      data: instance of type T (not function type)
17      next: pointer to instance of type List (not function type)
18        with parameters
19          instance of type T (not function type)
20
21
22List: type for pointer to instance of struct __anonymous0
23  with parameters
24    T: type
25      with assertions
26        instance of context addable
27          with parameters
28            instance of type T (not function type)
29
30
31
32  with assertions
33    instance of context addable
34      with parameters
35        instance of type T (not function type)
36
37
38ListOfIntegers: typedef for instance of type List (not function type)
39  with parameters
40    signed int
41
42li: instance of type ListOfIntegers (not function type)
43f: function
44    with parameters
45      g: pointer to function
46          with parameters
47            signed int
48          returning
49            instance of type List (not function type)
50              with parameters
51                signed int
52
53
54    returning
55      signed int
56
57h: function
58    with parameters
59      p: pointer to instance of type List (not function type)
60        with parameters
61          signed int
62
63    returning
64      signed int
65
66struct node
67    with parameters
68      T: type
69        with assertions
70          instance of context addable
71            with parameters
72              instance of type T (not function type)
73
74
75
76    with members
77      data: instance of type T (not function type)
78      next: pointer to instance of struct node
79        with parameters
80          instance of type T (not function type)
81
82
83List: type for pointer to instance of struct node
84  with parameters
85    instance of type T (not function type)
86
87  with parameters
88    T: type
89
90my_list: instance of type List (not function type)
91  with parameters
92    signed int
93
94Complex: type
95  with assertions
96    instance of context addable
97      with parameters
98        instance of type Complex (not function type)
99
100
101main: C function
102      accepting unspecified arguments
103    returning
104      signed int
105    with body
106      CompoundStmt
107                  Expression Statement:
108            Cast of:
109              Name: my_list
110
111            to:
112              instance of struct node
113                with parameters
114                  signed int
115
116
117
Note: See TracBrowser for help on using the repository browser.