equal
deleted
inserted
replaced
|
1 "{ Package: 'stx:goodies/petitparser/parsers/java' }" |
|
2 |
|
3 "{ NameSpace: Smalltalk }" |
|
4 |
|
5 PJASTNode subclass:#PJTypeNode |
|
6 instanceVariableNames:'type' |
|
7 classVariableNames:'' |
|
8 poolDictionaries:'' |
|
9 category:'PetitJava-AST' |
|
10 ! |
|
11 |
|
12 PJTypeNode comment:'' |
|
13 ! |
|
14 |
|
15 !PJTypeNode class methodsFor:'instance creation'! |
|
16 |
|
17 type: aString |
|
18 |
|
19 ^(self new) type: aString; yourself |
|
20 ! ! |
|
21 |
|
22 !PJTypeNode methodsFor:'accessing'! |
|
23 |
|
24 type |
|
25 ^ type |
|
26 ! |
|
27 |
|
28 type: anObject |
|
29 type := anObject |
|
30 ! ! |
|
31 |