Cface__CVoidNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 12 Aug 2015 07:32:13 +0100
changeset 43 9327987437ae
parent 37 1ad7fb72801a
permissions -rw-r--r--
Added mappings for LLVM C and LLVM C Extensions These are used to generate C callouts for jv:llvm_s project.

"{ Package: 'jv:cface' }"

"{ NameSpace: Cface }"

CBuiltinNode subclass:#CVoidNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Cface-C AST'
!


!CVoidNode methodsFor:'accessing'!

cByteSize
    "superclass Cface::CTypeNode says that I am responsible to implement this method"

    ^ self shouldImplement
!

cName
    "superclass Cface::CBuiltinNode says that I am responsible to implement this method"

    ^ 'void'

    "Modified: / 06-07-2015 / 07:31:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

ffiTypeSymbol
    "superclass Cface::CTypeNode says that I am responsible to implement this method"

    ^ #void

    "Modified: / 12-07-2011 / 16:31:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

smalltalkName
    "superclass Cface::CBuiltinNode says that I am responsible to implement this method"

    ^ self shouldImplement
! !

!CVoidNode 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 visitCVoidNode:self
! !

!CVoidNode class methodsFor:'documentation'!

version_SVN
    ^ '$Id$'
! !