equal
deleted
inserted
replaced
|
1 "{ Package: 'stx:goodies/petitparser/parsers/java' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 PJASTNode subclass:#PJImportDeclarationNode |
|
6 instanceVariableNames:'nameNode isStatic isOnDemand' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'PetitJava-AST' |
|
10 ! |
|
11 |
|
12 PJImportDeclarationNode comment:'' |
|
13 ! |
|
14 |
|
15 !PJImportDeclarationNode methodsFor:'accessing'! |
|
16 |
|
17 isOnDemand |
|
18 ^ isOnDemand |
|
19 ! |
|
20 |
|
21 isOnDemand: anObject |
|
22 isOnDemand := anObject |
|
23 ! |
|
24 |
|
25 isStatic |
|
26 ^ isStatic |
|
27 ! |
|
28 |
|
29 isStatic: anObject |
|
30 isStatic := anObject |
|
31 ! |
|
32 |
|
33 nameNode |
|
34 ^ nameNode |
|
35 ! |
|
36 |
|
37 nameNode: anObject |
|
38 nameNode := anObject |
|
39 ! ! |
|
40 |
|
41 !PJImportDeclarationNode methodsFor:'visiting'! |
|
42 |
|
43 acceptVisitor: aVisitor |
|
44 |
|
45 aVisitor visitImportDeclarationNode: self |
|
46 ! ! |
|
47 |