ClassClassVariableChange.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 17 Feb 2021 15:24:09 +0100
branchjv
changeset 4568 524471ef6575
parent 3903 6926642e3849
permissions -rw-r--r--
Changing the encoding style header for fileOutAs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     1
"
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     2
 COPYRIGHT (c) 2003 by eXept Software AG
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     3
              All Rights Reserved
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     4
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     5
 This software is furnished under a license and may be used
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     6
 only in accordance with the terms of that license and with the
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     8
 be provided or otherwise made available to, or used by, any
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
     9
 other person.  No title to or ownership of the software is
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    10
 hereby transferred.
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    11
"
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic3' }"
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ClassChange subclass:#ClassClassVariableChange
3450
612698f92d98 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 2615
diff changeset
    17
	instanceVariableNames:'variableName otherParameters'
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Changes'
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    23
!ClassClassVariableChange class methodsFor:'documentation'!
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    24
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    25
copyright
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    26
"
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    27
 COPYRIGHT (c) 2003 by eXept Software AG
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    28
              All Rights Reserved
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    29
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    30
 This software is furnished under a license and may be used
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    31
 only in accordance with the terms of that license and with the
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    33
 be provided or otherwise made available to, or used by, any
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    34
 other person.  No title to or ownership of the software is
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    35
 hereby transferred.
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    36
"
2165
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    37
!
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    38
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    39
documentation
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    40
"
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    41
    A changed classVariable
27441b4a3431 comment/format in:6 methods
Claus Gittinger <cg@exept.de>
parents: 1985
diff changeset
    42
"
1985
da96a146b89e copyright
Claus Gittinger <cg@exept.de>
parents: 1317
diff changeset
    43
! !
1317
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
!ClassClassVariableChange methodsFor:'accessing'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
name:varNameArg nameSpaceName:nsNameArg type:varTypeArg otherParameters:otherParametersArg
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    variableName := varNameArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    className := nsNameArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    otherParameters := otherParametersArg.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
source
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    "synthesize the changes source"
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    ^ String
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
        streamContents:
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
            [:s |
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
                self printOn:s.
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
            ]
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
! !
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
!ClassClassVariableChange methodsFor:'printing & storing'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
printOn:aStream
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    aStream nextPutAll:self className; nextPutAll:' addClassVarName: ' , variableName storeString
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
! !
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    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
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
!ClassClassVariableChange class methodsFor:'documentation'!
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
version
3450
612698f92d98 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 2615
diff changeset
    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
ce08ad1930e4 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
! !
3450
612698f92d98 merged in jv's changes
Claus Gittinger <cg@exept.de>
parents: 2615
diff changeset
    87