parsers/java/PJTypeDeclarationNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 24 Jul 2019 21:13:30 +0000
changeset 643 65da3a4195b6
parent 436 e1c44b571db9
permissions -rw-r--r--
Merge

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