Cface__CDerivedTypeNode.st
changeset 16 ffcbe7184a53
parent 14 1f730d82496e
child 17 509b9e5d52b2
--- a/Cface__CDerivedTypeNode.st	Tue Jul 12 15:02:15 2011 +0000
+++ b/Cface__CDerivedTypeNode.st	Tue Jul 12 15:38:42 2011 +0000
@@ -12,6 +12,18 @@
 
 !CDerivedTypeNode methodsFor:'accessing'!
 
+cByteSize
+    "superclass Cface::CTypeNode says that I am responsible to implement this method"
+
+    ^ self shouldImplement
+!
+
+ffiTypeSymbol
+    "superclass Cface::CTypeNode says that I am responsible to implement this method"
+
+    ^ self shouldImplement
+!
+
 foreign
     ^ foreign
 
@@ -129,6 +141,17 @@
     "Created: / 04-07-2008 / 11:46:39 / Jan Vrany <vranyj1@fel.cvut.cz>"
 ! !
 
+!CDerivedTypeNode methodsFor:'visiting'!
+
+acceptVisitor:aVisitor 
+    "Double dispatch back to the visitor, passing my type encoded in
+     the selector (visitor pattern)"
+
+    "stub code automatically generated - please change if required"
+
+    ^ aVisitor visitCDerivedTypeNode:self
+! !
+
 !CDerivedTypeNode class methodsFor:'documentation'!
 
 version