Cface__CModifierNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Jul 2008 07:31:14 +0000
changeset 5 c110eef5b9ef
parent 2 cfd2c393abfe
child 9 03c7a764d2be
permissions -rw-r--r--
- externalization of libraryName (now supports unix & win32 simultaneously) - basi support for accessing structure fields

"{ Package: 'cvut:fel/cface' }"

"{ NameSpace: Cface }"

CNode subclass:#CModifierNode
	instanceVariableNames:'type'
	classVariableNames:''
	poolDictionaries:''
	category:'Cface-C AST'
!


!CModifierNode methodsFor:'accessing'!

cByteSize

    ^type cByteSize

    "Created: / 09-07-2008 / 19:31:40 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

cName

    ^type cName

    "Created: / 04-07-2008 / 15:19:06 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

ffiTypeSymbol

    ^self subclassResponsibility

    "Created: / 03-07-2008 / 22:59:10 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

smalltalkxValueExtractionSelector

    ^type smalltalkxValueExtractionSelector

    "Created: / 09-07-2008 / 22:24:07 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

smalltalkxValueSettingSelector

    ^(self smalltalkxValueExtractionSelector , ':put:') asSymbol

    "Created: / 09-07-2008 / 22:24:29 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

type
    ^ type

    "Created: / 10-02-2008 / 19:53:15 / janfrog"
!

type:something
    type := something.

    "Created: / 10-02-2008 / 19:53:15 / janfrog"
! !

!CModifierNode methodsFor:'converting'!

resolved
    ^ self

    "Created: / 17-02-2008 / 17:56:03 / janfrog"
! !

!CModifierNode methodsFor:'testing'!

isCModifierNode
    ^ true

    "Created: / 17-02-2008 / 21:49:30 / janfrog"
! !

!CModifierNode class methodsFor:'documentation'!

version
    ^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CModifierNode.st,v 1.1 2008/02/26 15:58:01 vranyj1 Exp $'
! !