]> git.draconx.ca Git - gob-dx.git/blob - src/treefuncs.def
Release 1.99.1
[gob-dx.git] / src / treefuncs.def
1 HEADER
2 /* for ccode type */
3 enum {
4         A_CCODE,
5         AT_CCODE,
6         C_CCODE,
7         H_CCODE,
8         HT_CCODE,
9         PH_CCODE
10 };
11
12 /* check type */
13 enum {
14         NULL_CHECK,
15         TYPE_CHECK,
16         LT_CHECK,
17         GT_CHECK,
18         LE_CHECK,
19         GE_CHECK,
20         EQ_CHECK,
21         NE_CHECK
22 };
23
24 /* scope type */
25 enum {
26         NO_SCOPE,
27         PUBLIC_SCOPE,
28         PRIVATE_SCOPE,
29         PROTECTED_SCOPE,
30         CLASS_SCOPE
31 };
32
33 /* method type */
34 enum {
35         REGULAR_METHOD,
36         INIT_METHOD,
37         CLASS_INIT_METHOD,
38         VIRTUAL_METHOD,
39         SIGNAL_LAST_METHOD,
40         SIGNAL_FIRST_METHOD,
41         OVERRIDE_METHOD
42 };
43
44 ENDHEADER
45
46 CLASS Class
47   STRING        otype   # this object class type
48   STRING        ptype   # parent class type
49   STRING        bonobo_x_class # Class for BonoboXObject
50   STRING        chunk_size # if the object should be allocated with mem_chunks
51   NODELIST      nodes
52 ENDCLASS
53
54 CLASS Type
55   STRING        name    # the specifier part
56   STRING        pointer # the pointer part
57   STRING        postfix
58 ENDCLASS
59
60 CLASS CCode
61   INT           cctype
62   STRING        cbuf
63   INT           line_no
64 ENDCLASS
65
66 CLASS Check
67   INT           chtype
68   STRING        number
69 ENDCLASS
70
71 CLASS FuncArg
72   TYPE          atype
73   STRING        name
74   NODELIST      checks
75 ENDCLASS
76
77 CLASS Argument
78   STRING        gtktype
79   TYPE          atype
80   STRINGLIST    flags
81   STRING        name
82   STRING        get
83   INT           get_line
84   STRING        set
85   INT           set_line
86   INT           line_no
87 ENDCLASS
88
89 CLASS Property
90   STRING        gtktype
91   TYPE          ptype
92   STRINGLIST    flags
93   STRING        name
94   STRING        nick
95   STRING        blurb
96   STRING        minimum
97   STRING        maximum
98   STRING        default_value
99   STRING        extra_gtktype
100   BOOL          link
101   BOOL          export
102   STRING        get
103   INT           get_line
104   STRING        set
105   INT           set_line
106   INT           line_no
107 ENDCLASS
108
109 CLASS Method
110   INT           scope           # scope type
111   INT           method          # method type
112   TYPE          mtype
113   STRING        otype           # for override methods
114   STRINGLIST    gtktypes        # GObject types for a signal
115   STRINGLIST    flags           # G_SIGNAL_* flags for a signal
116   STRING        id
117   NODELIST      args
118   STRING        onerror
119   STRING        defreturn
120   STRING        cbuf
121   INT           line_no
122   INT           ccode_line
123   BOOL          vararg
124   INT           unique_id       # A unique id for new methods
125   BOOL          bonobo_x_func   # Function for BonoboXObject
126 ENDCLASS
127
128 CLASS Variable
129   INT           scope
130   TYPE          vtype
131   STRING        id
132   INT           line_no
133   BOOL          destructor_unref
134   STRING        destructor
135   INT           destructor_line
136   BOOL          destructor_simple
137   STRING        initializer
138   INT           initializer_line
139 ENDCLASS