ClassClassVariableChange.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 29 Jan 2012 12:51:41 +0000
branchjv
changeset 3011 1997ff6e7e55
parent 2615 1770fc57edd8
child 3012 4f40b8304d54
permissions -rw-r--r--
trunk branched into /branches/jv

"
 COPYRIGHT (c) 2003 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libbasic3' }"

ClassChange subclass:#ClassClassVariableChange
	instanceVariableNames:'variableName nameSpaceName otherParameters'
	classVariableNames:''
	poolDictionaries:''
	category:'System-Changes'
!

!ClassClassVariableChange class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2003 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

documentation
"
    A changed classVariable
"
! !

!ClassClassVariableChange methodsFor:'accessing'!

name:varNameArg nameSpaceName:nsNameArg type:varTypeArg otherParameters:otherParametersArg
    variableName := varNameArg.
    className := nsNameArg.
    otherParameters := otherParametersArg.
!

source
    "synthesize the changes source"

    ^ String
        streamContents:
            [:s |
                self printOn:s.
            ]
! !

!ClassClassVariableChange methodsFor:'printing & storing'!

printOn:aStream
    aStream nextPutAll:self className; nextPutAll:' addClassVarName: ' , variableName storeString
! !

!ClassClassVariableChange methodsFor:'visiting'!

acceptChangeVisitor:aVisitor
    ^ aVisitor visitClassVariableChange:self.

    "Created: / 25-11-2011 / 17:12:53 / cg"
! !

!ClassClassVariableChange class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic3/ClassClassVariableChange.st,v 1.4 2011/11/25 16:45:09 cg Exp $'
! !