435
|
1 |
"{ Package: 'stx:goodies/petitparser/parsers/java' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Smalltalk }"
|
|
4 |
|
|
5 |
PJASTNode subclass:#PJParameterDeclaratorNode
|
|
6 |
instanceVariableNames:'modifiers type identifier arrayLevel'
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'PetitJava-AST'
|
|
10 |
!
|
|
11 |
|
|
12 |
!PJParameterDeclaratorNode methodsFor:'accessing'!
|
|
13 |
|
|
14 |
arrayLevel
|
|
15 |
^ arrayLevel
|
|
16 |
!
|
|
17 |
|
|
18 |
arrayLevel: anObject
|
|
19 |
arrayLevel := anObject
|
|
20 |
!
|
|
21 |
|
|
22 |
identifier
|
|
23 |
^ identifier
|
|
24 |
!
|
|
25 |
|
|
26 |
identifier: anObject
|
|
27 |
identifier := anObject
|
|
28 |
!
|
|
29 |
|
|
30 |
modifiers
|
|
31 |
^ modifiers
|
|
32 |
!
|
|
33 |
|
|
34 |
modifiers: anObject
|
|
35 |
modifiers := anObject
|
|
36 |
!
|
|
37 |
|
|
38 |
type
|
|
39 |
^ type
|
|
40 |
!
|
|
41 |
|
|
42 |
type: anObject
|
|
43 |
type := anObject
|
|
44 |
! !
|
|
45 |
|
|
46 |
!PJParameterDeclaratorNode methodsFor:'visiting'!
|
|
47 |
|
|
48 |
acceptVisitor: aVisitor
|
|
49 |
|
|
50 |
^ aVisitor visitParameterDeclaratorNode: self
|
|
51 |
! !
|
|
52 |
|