0ec2852e497b8b61b38f8534e9a8795ef9d5a69f
1 /********************************************************************
3 type.h - structures used to hold descriptions of pascal types
5 Niksa Orlic, 2004-04-28
7 ********************************************************************/
10 /*
11 The possible type classes
12 */
13 enum en_type_class
14 {
16 void_type,
17 integer_type,
18 real_type,
19 char_type,
20 boolean_type,
21 string_type,
22 array_type,
23 record_type,
24 interval_type,
25 image_type,
26 command_type,
27 stream_type,
28 record_store_type,
29 http_type,
30 alert_type /* this is only an internal type, the user cannot declare variables to be alert_type */
32 /* add our own types */
35 /*
36 The structure to hold description for a single
37 type.
38 */
39 struct type_struct
40 {
43 /* for array types */
47 /* for record type */
52 /* for interval type */
56 };