author | Patrik Svestka <patrik.svestka@gmail.com> |
Wed, 17 Feb 2021 15:24:09 +0100 | |
branch | jv |
changeset 4568 | 524471ef6575 |
parent 3903 | 6926642e3849 |
permissions | -rw-r--r-- |
1985 | 1 |
" |
2 |
COPYRIGHT (c) 2003 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
1317 | 12 |
"{ Package: 'stx:libbasic3' }" |
13 |
||
3903
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
15 |
|
1317 | 16 |
ClassChange subclass:#ClassClassVariableChange |
3450 | 17 |
instanceVariableNames:'variableName otherParameters' |
1317 | 18 |
classVariableNames:'' |
19 |
poolDictionaries:'' |
|
20 |
category:'System-Changes' |
|
21 |
! |
|
22 |
||
1985 | 23 |
!ClassClassVariableChange class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2003 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
2165 | 37 |
! |
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
A changed classVariable |
|
42 |
" |
|
1985 | 43 |
! ! |
1317 | 44 |
|
45 |
!ClassClassVariableChange methodsFor:'accessing'! |
|
46 |
||
47 |
name:varNameArg nameSpaceName:nsNameArg type:varTypeArg otherParameters:otherParametersArg |
|
48 |
variableName := varNameArg. |
|
49 |
className := nsNameArg. |
|
50 |
otherParameters := otherParametersArg. |
|
51 |
! |
|
52 |
||
53 |
source |
|
54 |
"synthesize the changes source" |
|
55 |
||
56 |
^ String |
|
57 |
streamContents: |
|
58 |
[:s | |
|
59 |
self printOn:s. |
|
60 |
] |
|
61 |
! ! |
|
62 |
||
63 |
!ClassClassVariableChange methodsFor:'printing & storing'! |
|
64 |
||
65 |
printOn:aStream |
|
66 |
aStream nextPutAll:self className; nextPutAll:' addClassVarName: ' , variableName storeString |
|
67 |
! ! |
|
68 |
||
2615
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
69 |
!ClassClassVariableChange methodsFor:'visiting'! |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
70 |
|
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
71 |
acceptChangeVisitor:aVisitor |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
72 |
^ aVisitor visitClassVariableChange:self. |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
73 |
|
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
74 |
"Created: / 25-11-2011 / 17:12:53 / cg" |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
75 |
! ! |
1770fc57edd8
visitor support (for monticello);
Claus Gittinger <cg@exept.de>
parents:
2165
diff
changeset
|
76 |
|
1317 | 77 |
!ClassClassVariableChange class methodsFor:'documentation'! |
78 |
||
79 |
version |
|
3450 | 80 |
^ '$Header: /cvs/stx/stx/libbasic3/ClassClassVariableChange.st,v 1.5 2014-02-05 17:52:03 cg Exp $' |
3903
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
81 |
! |
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
82 |
|
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
83 |
version_HG |
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
84 |
|
6926642e3849
Removed dependency on stx:libjavascript
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3838
diff
changeset
|
85 |
^ '$Changeset: <not expanded> $' |
1317 | 86 |
! ! |
3450 | 87 |