545
|
1 |
ParseNode subclass:#ParameterNode
|
|
2 |
instanceVariableNames:'variable'
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'System-Compiler ST-80-compatibility'
|
|
6 |
!
|
|
7 |
|
|
8 |
|
|
9 |
!ParameterNode methodsFor:'accessing'!
|
|
10 |
|
|
11 |
name
|
|
12 |
^ variable name
|
|
13 |
|
|
14 |
"Created: 19.6.1997 / 17:19:31 / cg"
|
|
15 |
!
|
|
16 |
|
|
17 |
variable
|
|
18 |
"return the value of the instance variable 'variable' (automatically generated)"
|
|
19 |
|
|
20 |
^ variable
|
|
21 |
|
|
22 |
"Created: 19.6.1997 / 17:17:46 / cg"
|
|
23 |
!
|
|
24 |
|
|
25 |
variable:something
|
|
26 |
"set the value of the instance variable 'variable' (automatically generated)"
|
|
27 |
|
|
28 |
variable := something.
|
|
29 |
|
|
30 |
"Created: 19.6.1997 / 17:17:46 / cg"
|
|
31 |
! !
|
|
32 |
|
|
33 |
!ParameterNode methodsFor:'enumeration'!
|
|
34 |
|
|
35 |
nodeDo:anEnumerator
|
|
36 |
"helper for parse tree walking"
|
|
37 |
|
|
38 |
^ anEnumerator doParameter:self variable:variable type:#notYetImplemented
|
|
39 |
|
|
40 |
"Created: 19.6.1997 / 17:18:48 / cg"
|
|
41 |
! !
|
|
42 |
|
|
43 |
!ParameterNode class methodsFor:'documentation'!
|
|
44 |
|
|
45 |
version
|
|
46 |
^ '$Header: /cvs/stx/stx/libcomp/ParameterNode.st,v 1.1 1997-06-20 10:08:11 cg Exp $'
|
|
47 |
! !
|