]> git.draconx.ca Git - gob-dx.git/blobdiff - src/treefuncs.def
Release 1.0.2
[gob-dx.git] / src / treefuncs.def
index 537bf2b0be23ddc8a85003630faba56d33c2433a..e7a16b001b47d8455822756ff75f340869aabcca 100644 (file)
@@ -26,7 +26,8 @@ enum {
        NO_SCOPE,
        PUBLIC_SCOPE,
        PRIVATE_SCOPE,
-       PROTECTED_SCOPE
+       PROTECTED_SCOPE,
+       CLASS_SCOPE
 };
 
 /* method type */
@@ -44,12 +45,13 @@ ENDHEADER
 CLASS Class
   STRING       otype   # this object class type
   STRING       ptype   # parent class type
+  STRING       chunk_size # if the object should be allocated with mem_chunks
   NODELIST     nodes
 ENDCLASS
 
 CLASS Type
-  INT          stars
-  STRING       name
+  STRING       name    # the specifier part
+  STRING       pointer # the pointer part
   STRING       postfix
 ENDCLASS
 
@@ -97,6 +99,7 @@ CLASS Method
   INT          line_no
   INT          ccode_line
   BOOL         vararg
+  INT          unique_id       # A unique id for new methods
 ENDCLASS
 
 CLASS Variable