Cface__CCharNode.st
changeset 1 b6c0180314d1
child 2 cfd2c393abfe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Cface__CCharNode.st	Tue May 27 18:55:24 2008 +0000
@@ -0,0 +1,56 @@
+"{ Package: 'cvut:fel/cface' }"
+
+"{ NameSpace: Cface }"
+
+CBuiltinNode subclass:#CCharNode
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Cface-C AST'
+!
+
+
+!CCharNode methodsFor:'accessing'!
+
+smalltalkName
+
+    ^#Character
+
+    "Created: / 12-02-2008 / 22:04:56 / janfrog"
+! !
+
+!CCharNode methodsFor:'printing'!
+
+printOn: stream indent: indent
+
+    stream nextPutAll:'char'
+
+    "Created: / 04-03-2008 / 10:57:11 / janfrog"
+! !
+
+!CCharNode methodsFor:'testing'!
+
+isCCharNode
+    ^ true
+
+    "Created: / 17-02-2008 / 21:50:25 / janfrog"
+! !
+
+!CCharNode 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 visitCCharNode:self
+
+    "Created: / 12-02-2008 / 23:03:58 / janfrog"
+! !
+
+!CCharNode class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CCharNode.st,v 1.1 2008/02/26 16:00:29 vranyj1 Exp $'
+! !