Cface__CDefinitionNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Jul 2008 07:31:14 +0000
changeset 5 c110eef5b9ef
parent 1 b6c0180314d1
child 11 a77f44d45a27
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:#CDefinitionNode
	instanceVariableNames:'cName smalltalkName'
	classVariableNames:''
	poolDictionaries:''
	category:'Cface-C AST'
!

!CDefinitionNode class methodsFor:'documentation'!

history

    "Created: / 29-10-2007 / 20:21:24 / haja"
    "Created: #acceptVisitor: / 02-11-2007 / 10:36:55 / haja"
! !

!CDefinitionNode methodsFor:'accessing'!

cName
    ^ cName

    "Created: / 10-02-2008 / 19:06:12 / janfrog"
!

cName:aString
    cName := aString.

    "Created: / 10-02-2008 / 19:06:12 / janfrog"
!

smalltalkName
    ^ smalltalkName

    "Created: / 10-02-2008 / 19:06:12 / janfrog"
!

smalltalkName:aStringOrSymbol
    smalltalkName := aStringOrSymbol asSymbol

    "Created: / 10-02-2008 / 19:06:12 / janfrog"
    "Modified: / 12-02-2008 / 22:05:35 / janfrog"
! !

!CDefinitionNode 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"

    ^self subclassResponsibility

    "Created: / 02-11-2007 / 10:36:55 / haja"
! !

!CDefinitionNode class methodsFor:'documentation'!

version
    ^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CDefinitionNode.st,v 1.1 2008/02/26 18:24:44 vranyj1 Exp $'
! !