source: translator/Tests/SynTree/Expected/TypeGenerator.tst @ 01aeade

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

initial commit

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