parsers/java/PJConstructorDeclarationNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 24 Jul 2015 19:42:09 +0100
changeset 504 0fb1f0799fc1
parent 435 3bc08fb90133
child 642 77d5fddb6462
permissions -rw-r--r--
Portability fix: override #new for class that implements #initialize #initialize is not sent by default.

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

"{ NameSpace: Smalltalk }"

PJBehaviouralNode subclass:#PJConstructorDeclarationNode
	instanceVariableNames:'constructorInvocation statements'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitJava-AST'
!

PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.

more in superclass comment'
!

!PJConstructorDeclarationNode methodsFor:'accessing'!

acceptVisitor: aVisitor

	aVisitor visitConstructorDeclarationNode: self
!

constructorInvocation
	^ constructorInvocation
!

constructorInvocation: aConstructorInvocation
	constructorInvocation := aConstructorInvocation
!

statements
	^ statements
!

statements: aCollection 
	statements := aCollection 
! !