Smalltalk/X generator improvements:
- generate C enums as SharedPools with accessors
- generate externa function calls using FFI. Not yet finished!
- CairoMappings improved.
"{ Package: 'cvut:fel/cface' }"
"{ NameSpace: Cface }"
CBuiltinNode subclass:#CFloatNode
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Cface-C AST'
!
!CFloatNode methodsFor:'accessing'!
ffiTypeSymbol
"Superclass Cface::CTypeNode says that I am responsible to implement this method"
^ #float
"Created: / 03-07-2008 / 22:54:39 / Jan Vrany <vranyj1@fel.cvut.cz>"
!
smalltalkName
"Superclass says that I am responsible to implement this method"
^#Float
"Created: / 12-02-2008 / 22:06:24 / janfrog"
! !
!CFloatNode methodsFor:'printing'!
printOn: stream indent: indent
stream nextPutAll:'float'
"Created: / 04-03-2008 / 10:57:12 / janfrog"
! !
!CFloatNode methodsFor:'testing'!
isCFloatNode
^ true
"Created: / 17-02-2008 / 21:50:25 / janfrog"
! !
!CFloatNode 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 visitCFloatNode:self
"Created: / 12-02-2008 / 23:03:58 / janfrog"
! !
!CFloatNode class methodsFor:'documentation'!
version
^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CFloatNode.st,v 1.1 2008/02/26 15:58:57 vranyj1 Exp $'
! !