Cface__CDefinitionNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 04 Sep 2012 15:06:32 +0000
changeset 22 57da23a9fbbd
parent 19 1297bf936bfb
child 32 d7464405cbda
permissions -rw-r--r--
- Cface::Libgit2Mapping added:7 methods - Cface::GeneratorCommand added: #generateLibgit - cvut_fel_cface changed: #classNamesAndAttributes #extensionMethodNames #preRequisites - extensions ...

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

"{ NameSpace: Cface }"

CNode subclass:#CDefinitionNode
	instanceVariableNames:'cName smalltalkName ignore'
	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"
!

ignore
    ^ ignore ? false

    "Created: / 22-02-2009 / 14:57:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

ignore:aBoolean
    ignore := aBoolean.

    "Created: / 22-02-2009 / 14:57:53 / Jan Vrany <vranyj1@fel.cvut.cz>"
!

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:'queries'!

shouldBeIgnored

    ^ignore ? false

    "Created: / 22-02-2009 / 15:00:08 / Jan Vrany <vranyj1@fel.cvut.cz>"
    "Modified: / 22-02-2009 / 21:55:03 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !

!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
    ^ '$Id$'
!

version_SVN
    ^ '$Id$'
! !