435
|
1 |
"{ Package: 'stx:goodies/petitparser/parsers/java' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Smalltalk }"
|
|
4 |
|
|
5 |
PJBehaviouralNode subclass:#PJConstructorDeclarationNode
|
|
6 |
instanceVariableNames:'constructorInvocation statements'
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'PetitJava-AST'
|
|
10 |
!
|
|
11 |
|
|
12 |
PJConstructorDeclarationNode comment:'constructor-specific behavioural entity.
more in superclass comment'
|
|
13 |
!
|
|
14 |
|
|
15 |
!PJConstructorDeclarationNode methodsFor:'accessing'!
|
|
16 |
|
|
17 |
acceptVisitor: aVisitor
|
|
18 |
|
|
19 |
aVisitor visitConstructorDeclarationNode: self
|
|
20 |
!
|
|
21 |
|
|
22 |
constructorInvocation
|
|
23 |
^ constructorInvocation
|
|
24 |
!
|
|
25 |
|
|
26 |
constructorInvocation: aConstructorInvocation
|
|
27 |
constructorInvocation := aConstructorInvocation
|
|
28 |
!
|
|
29 |
|
|
30 |
statements
|
|
31 |
^ statements
|
|
32 |
!
|
|
33 |
|
|
34 |
statements: aCollection
|
|
35 |
statements := aCollection
|
|
36 |
! !
|
|
37 |
|