author | Jan Vrany <jan.vrany@labware.com> |
Tue, 11 Jul 2023 12:59:07 +0100 | |
branch | jv |
changeset 1174 | f0a16c301971 |
parent 1095 | 87f223484bc3 |
permissions | -rw-r--r-- |
1095
87f223484bc3
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
726
diff
changeset
|
1 |
"{ Encoding: utf8 }" |
87f223484bc3
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
726
diff
changeset
|
2 |
|
60 | 3 |
"{ Package: 'stx:goodies/monticello' }" |
4 |
||
5 |
Object subclass:#MCVariableDefinition |
|
6 |
instanceVariableNames:'name' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
695 | 9 |
category:'SCM-Monticello-Modeling' |
60 | 10 |
! |
11 |
||
12 |
||
13 |
!MCVariableDefinition class methodsFor:'as yet unclassified'! |
|
14 |
||
15 |
name: aString |
|
16 |
^ self new name: aString |
|
17 |
||
18 |
! ! |
|
19 |
||
20 |
!MCVariableDefinition methodsFor:'accessing'! |
|
21 |
||
22 |
name |
|
23 |
^ name |
|
24 |
! |
|
25 |
||
26 |
name: aString |
|
252 | 27 |
name := aString |
60 | 28 |
! ! |
29 |
||
30 |
!MCVariableDefinition methodsFor:'comparing'! |
|
31 |
||
32 |
= other |
|
33 |
^ (self species = other species) |
|
34 |
and: [self name = other name] |
|
35 |
! |
|
36 |
||
37 |
hash |
|
38 |
^ name hash |
|
39 |
! ! |
|
40 |
||
726 | 41 |
!MCVariableDefinition methodsFor:'printing'! |
42 |
||
43 |
printOn: aStream |
|
44 |
super printOn: aStream. |
|
45 |
aStream nextPut: $(; nextPutAll: self name; nextPut: $) |
|
46 |
! ! |
|
47 |
||
60 | 48 |
!MCVariableDefinition methodsFor:'testing'! |
49 |
||
50 |
isClassInstanceVariable |
|
51 |
^ false |
|
52 |
! |
|
53 |
||
54 |
isClassInstanceVariableDefinition |
|
55 |
^ false |
|
56 |
! |
|
57 |
||
58 |
isClassVariable |
|
59 |
^ false |
|
60 |
! |
|
61 |
||
62 |
isInstanceVariable |
|
63 |
^ false |
|
64 |
! |
|
65 |
||
66 |
isInstanceVariableDefinition |
|
67 |
^ false |
|
68 |
! |
|
69 |
||
70 |
isPoolImport |
|
71 |
^ false |
|
72 |
! ! |
|
73 |
||
74 |
!MCVariableDefinition class methodsFor:'documentation'! |
|
75 |
||
76 |
version |
|
726 | 77 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.5 2013-01-18 13:02:44 cg Exp $' |
252 | 78 |
! |
79 |
||
80 |
version_CVS |
|
726 | 81 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCVariableDefinition.st,v 1.5 2013-01-18 13:02:44 cg Exp $' |
252 | 82 |
! |
83 |
||
84 |
version_SVN |
|
1095
87f223484bc3
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
Patrik Svestka <patrik.svestka@gmail.com>
parents:
726
diff
changeset
|
85 |
^ '§Id: MCVariableDefinition.st 5 2010-08-29 07:30:29Z vranyj1 §' |
60 | 86 |
! ! |
726 | 87 |