12910
|
1 |
"{ Package: 'stx:libtool' }"
|
|
2 |
|
|
3 |
SyntaxElement subclass:#SyntaxElementVariable
|
|
4 |
instanceVariableNames:'assigned'
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'Interface-CodeView-Syntax'
|
|
8 |
!
|
|
9 |
|
|
10 |
!SyntaxElementVariable class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
documentation
|
|
13 |
"
|
|
14 |
Replace 'SyntaxElement', 'NewClass1' and
|
|
15 |
the empty string arguments by true values.
|
|
16 |
|
|
17 |
Install (or change) the class by 'accepting',
|
|
18 |
either via the menu or the keyboard (usually CMD-A).
|
|
19 |
|
|
20 |
You can also change the category simply by editing
|
|
21 |
the categoryString and accepting.
|
|
22 |
|
|
23 |
To be nice to others (and yourself later), do not forget to
|
|
24 |
add some documentation; preferably under the classes documentation
|
|
25 |
protocol.
|
|
26 |
(see the `create documentation stubs' item in the methodList menu;
|
|
27 |
switch from instance to class to find this menu item.)
|
|
28 |
|
|
29 |
Notice, that ST/X uses the convention to document the class using
|
|
30 |
comment-only class methods (however, ST80 comments are supported and
|
|
31 |
can be changed via the class-documentation menu).
|
|
32 |
|
|
33 |
"
|
|
34 |
! !
|
|
35 |
|
|
36 |
!SyntaxElementVariable methodsFor:'accessing'!
|
|
37 |
|
|
38 |
assigned
|
|
39 |
^ assigned
|
|
40 |
!
|
|
41 |
|
|
42 |
assigned:something
|
|
43 |
assigned := something.
|
|
44 |
! !
|
|
45 |
|
|
46 |
!SyntaxElementVariable methodsFor:'queries'!
|
|
47 |
|
|
48 |
isVariable
|
|
49 |
^ true
|
|
50 |
! !
|
|
51 |
|
|
52 |
!SyntaxElementVariable class methodsFor:'documentation'!
|
|
53 |
|
|
54 |
version
|
|
55 |
^ '$Header: /cvs/stx/stx/libtool/SyntaxElementVariable.st,v 1.1 2013-06-14 14:30:59 cg Exp $'
|
|
56 |
!
|
|
57 |
|
|
58 |
version_CVS
|
|
59 |
^ '$Header: /cvs/stx/stx/libtool/SyntaxElementVariable.st,v 1.1 2013-06-14 14:30:59 cg Exp $'
|
|
60 |
! !
|
|
61 |
|