X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/7231d76fbf4ae0b501af648e1216b88714aa7353..6bec711e14babb0d6388754f41834036f22a3ef1:/src/treefuncs.def

diff --git a/src/treefuncs.def b/src/treefuncs.def
index fde15cb..76e5e02 100644
--- a/src/treefuncs.def
+++ b/src/treefuncs.def
@@ -1,12 +1,19 @@
+# Run ./generate_treefuncs.pl after modifying this to regenerate
+# treefuncs.[ch]
+
+# These are the parse tree definitions, eliminates typos
+
 HEADER
 /* for ccode type */
 enum {
 	A_CCODE,
 	AT_CCODE,
 	C_CCODE,
+	AD_CCODE,
 	H_CCODE,
 	HT_CCODE,
-	PH_CCODE
+	PH_CCODE,
+	CT_CCODE
 };
 
 /* check type */
@@ -35,6 +42,9 @@ enum {
 	REGULAR_METHOD,
 	INIT_METHOD,
 	CLASS_INIT_METHOD,
+	CONSTRUCTOR_METHOD,
+	DISPOSE_METHOD,
+	FINALIZE_METHOD,
 	VIRTUAL_METHOD,
 	SIGNAL_LAST_METHOD,
 	SIGNAL_FIRST_METHOD,
@@ -46,9 +56,12 @@ ENDHEADER
 CLASS Class
   STRING	otype   # this object class type
   STRING	ptype   # parent class type
-  STRING	bonobo_x_class # Class for BonoboXObject
+  STRING	bonobo_object_class # Class for BonoboObject
+  BOOL		glade_xml # Glade XML Class
   STRING	chunk_size # if the object should be allocated with mem_chunks
+  STRINGLIST	interfaces # GObject interfaces this class exports
   NODELIST	nodes
+  BOOL		abstract # if G_TYPE_FLAG_ABSTRACT should be used
 ENDCLASS
 
 CLASS Type
@@ -97,6 +110,7 @@ CLASS Property
   STRING	maximum
   STRING	default_value
   STRING	extra_gtktype
+  BOOL		override
   BOOL		link
   BOOL		export
   STRING	get
@@ -115,6 +129,7 @@ CLASS Method
   STRINGLIST	flags		# G_SIGNAL_* flags for a signal
   STRING	id
   NODELIST	args
+  STRING        funcattrs       # GLib function attribute macros
   STRING	onerror
   STRING	defreturn
   STRING	cbuf
@@ -122,12 +137,14 @@ CLASS Method
   INT		ccode_line
   BOOL		vararg
   INT		unique_id	# A unique id for new methods
-  BOOL		bonobo_x_func	# Function for BonoboXObject
+  BOOL		bonobo_object_func	# Function for BonoboObject
+  STRING	interface	# interface this belongs to
 ENDCLASS
 
 CLASS Variable
   INT		scope
   TYPE		vtype
+  BOOL		glade_widget
   STRING	id
   INT		line_no
   BOOL		destructor_unref
@@ -136,4 +153,28 @@ CLASS Variable
   BOOL		destructor_simple
   STRING	initializer
   INT		initializer_line
+  BOOL		initializer_simple
+ENDCLASS
+
+CLASS EnumDef
+  STRING	etype
+  STRING	prefix
+  NODELIST	values
+ENDCLASS
+
+CLASS EnumValue
+  STRING	name
+  STRING	value
+ENDCLASS
+
+CLASS Flags
+  STRING	ftype
+  STRING	prefix
+  STRINGLIST	values
+ENDCLASS
+
+CLASS Error
+  STRING	etype
+  STRING	prefix
+  STRINGLIST	values
 ENDCLASS
