parsers/java/PJTypeDeclarationNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 10 May 2015 14:42:14 +0100
changeset 455 44208dab727c
parent 436 e1c44b571db9
permissions -rw-r--r--
Added .../parsers/java and .../compiler/tests/extras to exported .mczs

"{ Package: 'stx:goodies/petitparser/parsers/java' }"

"{ NameSpace: Smalltalk }"

PJAbstractTypeDeclarationNode subclass:#PJTypeDeclarationNode
	instanceVariableNames:'isInterface superclassType superInterfaceTypes fieldDeclarations
		methodDeclarations'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitJava-AST'
!

!PJTypeDeclarationNode methodsFor:'accessing'!

fieldDeclarations
	^ fieldDeclarations
!

fieldDeclarations: anObject
	fieldDeclarations := anObject
!

isInterface
	^ isInterface
!

isInterface: anObject
	isInterface := anObject
!

methodDeclarations
	^ methodDeclarations
!

methodDeclarations: anObject
	methodDeclarations := anObject
!

superInterfaceTypes
	^ superInterfaceTypes
!

superInterfaceTypes: anObject
	superInterfaceTypes := anObject
!

superclassType
	^ superclassType
!

superclassType: anObject
	superclassType := anObject
! !

!PJTypeDeclarationNode methodsFor:'visiting'!

acceptVisitor: aVisitor

	aVisitor visitTypeDeclarationNode: self
! !