X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/4f7cfa972623842e64e3a8468696f1f6f40fd202..4cc7be2f1b2212541321468f58762879985a5411:/src/treefuncs.def?ds=inline

diff --git a/src/treefuncs.def b/src/treefuncs.def
index e393f7e..0c092c1 100644
--- a/src/treefuncs.def
+++ b/src/treefuncs.def
@@ -1,3 +1,8 @@
+# Run ./generate_treefuncs.pl after modifying this to regenerate
+# treefuncs.[ch]
+
+# These are the parse tree definitions, eliminates typos
+
 HEADER
 /* for ccode type */
 enum {
@@ -40,17 +45,23 @@ enum {
 	SIGNAL_FIRST_METHOD,
 	OVERRIDE_METHOD
 };
+
 ENDHEADER
 
 CLASS Class
   STRING	otype   # this object class type
   STRING	ptype   # parent class type
+  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
-  INT		stars
-  STRING	name
+  STRING	name	# the specifier part
+  STRING	pointer	# the pointer part
   STRING	postfix
 ENDCLASS
 
@@ -83,13 +94,34 @@ CLASS Argument
   INT		line_no
 ENDCLASS
 
+CLASS Property
+  STRING	gtktype
+  TYPE		ptype
+  STRINGLIST	flags
+  STRING	name
+  STRING	nick
+  STRING	blurb
+  STRING	minimum
+  STRING	maximum
+  STRING	default_value
+  STRING	extra_gtktype
+  BOOL		override
+  BOOL		link
+  BOOL		export
+  STRING	get
+  INT		get_line
+  STRING	set
+  INT		set_line
+  INT		line_no
+ENDCLASS
+
 CLASS Method
   INT		scope		# scope type
   INT		method		# method type
   TYPE		mtype
   STRING	otype		# for override methods
-  STRINGLIST	gtktypes	# GTK types for a signal
-  STRINGLIST	flags		# GTK_RUN_* flags for a signal
+  STRINGLIST	gtktypes	# GObject types for a signal
+  STRINGLIST	flags		# G_SIGNAL_* flags for a signal
   STRING	id
   NODELIST	args
   STRING	onerror
@@ -98,16 +130,45 @@ CLASS Method
   INT		line_no
   INT		ccode_line
   BOOL		vararg
+  INT		unique_id	# A unique id for new methods
+  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
   STRING	destructor
   INT		destructor_line
   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
