Cface__CStructNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 06 Jul 2015 07:18:24 +0100
changeset 36 4e586238a9f7
parent 32 d7464405cbda
child 43 9327987437ae
permissions -rw-r--r--
Fix in class generator (MethofDefinitionChange>>classVariableNames: now takes collection, not string)

"{ Package: 'jv:cface' }"

"{ NameSpace: Cface }"

CStructuredNode subclass:#CStructNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Cface-C AST'
!

!CStructNode class methodsFor:'documentation'!

history

    "Created: / 25-10-2007 / 17:13:30 / haja"
    "Created: #name / 25-10-2007 / 17:13:34 / haja"
    "Created: #name: / 25-10-2007 / 17:13:34 / haja"
    "Created: #fields / 25-10-2007 / 17:13:34 / haja"
    "Created: #fields: / 25-10-2007 / 17:13:34 / haja"
    "Created: #local:name:fields: / 25-10-2007 / 17:15:30 / haja"
    "Deleted: #local / 29-10-2007 / 20:51:43 / haja"
    "Deleted: #local: / 29-10-2007 / 20:51:43 / haja"
    "Created: #name:fields: / 29-10-2007 / 20:51:53 / haja"
    "Deleted: #local:name:fields: / 29-10-2007 / 20:51:56 / haja"
    "Created: #acceptVisitor: / 02-11-2007 / 10:45:38 / haja"
    "Created: #localReference / 15-11-2007 / 14:31:51 / haja"
    "Created: #localReference: / 15-11-2007 / 14:31:51 / haja"
    "Deleted: #localReference / 15-11-2007 / 14:44:47 / haja"
    "Deleted: #localReference: / 15-11-2007 / 14:44:47 / haja"
    "Created: #local / 15-11-2007 / 14:50:46 / haja"
    "Created: #local: / 15-11-2007 / 14:50:46 / haja"
    "Deleted: #name:fields:local: / 15-11-2007 / 14:51:31 / haja"
    "Created: #name:fields:local: / 15-11-2007 / 14:54:24 / haja"
    "Deleted: #name:fields: / 15-11-2007 / 14:54:26 / haja"
    "Created: #foreign / 19-11-2007 / 09:41:09 / haja"
    "Created: #foreign: / 19-11-2007 / 09:41:09 / haja"
    "Created: #name:fields:local:foreign: / 19-11-2007 / 09:41:20 / haja"
    "Deleted: #name:fields:local: / 19-11-2007 / 09:41:23 / haja"
    "Created: #typedef / 05-12-2007 / 21:01:16 / haja"
    "Created: #typedef: / 05-12-2007 / 21:01:16 / haja"
    "Created: #name:fields:local:foreign:typedef: / 05-12-2007 / 21:01:43 / haja"
    "Deleted: #name:fields:local:foreign: / 05-12-2007 / 21:01:46 / haja"
    "Created: #buildTypeDescriptionOn: / 20-12-2007 / 12:14:53 / haja"
! !

!CStructNode methodsFor:'accessing'!

ffiTypeSymbol
    "Superclass Cface::CTypeNode says that I am responsible to implement this method"
    
    ^ #struct

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

!CStructNode methodsFor:'testing'!

isCStructNode
    ^ true

    "Modified: / 17-02-2008 / 21:52:13 / janfrog"
! !

!CStructNode 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 visitCStructNode:self

    "Created: / 02-11-2007 / 10:45:38 / haja"
    "Modified: / 10-02-2008 / 10:45:43 / janfrog"
! !

!CStructNode class methodsFor:'documentation'!

version
    ^ '$Id$'
!

version_SVN
    ^ '$Id$'
! !