ProtoObject.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 07 Jul 2011 23:08:07 +0100
branchjv
changeset 17845 7e0cfaac936d
parent 17841 7abcc4aef871
child 17846 24edc476ac18
permissions -rw-r--r--
Merged with /trunk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8728
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     1
"
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     3
              All Rights Reserved
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     4
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     5
 This software is furnished under a license and may be used
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     6
 only in accordance with the terms of that license and with the
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     8
 be provided or otherwise made available to, or used by, any
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
     9
 other person.  No title to or ownership of the software is
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    10
 hereby transferred.
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    11
"
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
nil subclass:#ProtoObject
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
6912
d2e78827a065 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6911
diff changeset
    18
	category:'Kernel-Objects'
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!ProtoObject class methodsFor:'documentation'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
8728
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    23
copyright
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    24
"
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    25
 COPYRIGHT (c) 2004 by eXept Software AG
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    26
              All Rights Reserved
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    27
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    28
 This software is furnished under a license and may be used
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    29
 only in accordance with the terms of that license and with the
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    31
 be provided or otherwise made available to, or used by, any
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    32
 other person.  No title to or ownership of the software is
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    33
 hereby transferred.
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    34
"
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    35
!
d70396dc4e96 copyright
Claus Gittinger <cg@exept.de>
parents: 8500
diff changeset
    36
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
documentation
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
    a minimum object without much protocol;
7659
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
    40
    Provides the minimum required to prevent inspectors from crashing,
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
    41
    and debuggers from blocking.
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
    42
    (i.e. instead of inheriting from nil, better inherit from this).
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
    43
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    Named after a similar class found in Dolphin-Smalltalk.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    [author:]
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
        Claus Gittinger (not much authoring, though)
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
17845
7e0cfaac936d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17841
diff changeset
    51
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
!ProtoObject methodsFor:'error handling'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
doesNotUnderstand:aMessage
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    "this message is sent by the runtime system (VM) when
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
     a message is not understood by some object (i.e. there
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
     is no method for that selector). The original message has
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
     been packed into aMessage (i.e. the receiver, selector and
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
     any arguments) and the original receiver is then sent the
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
     #doesNotUnderstand: message.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
     Here, we raise another signal which usually enters the debugger.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
     You can of course redefine #doesNotUnderstand: in your classes
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
     to implement message delegation, 
8500
10d47cede03c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7661
diff changeset
    64
     or handle the MessageNotUnderstood exception gracefully."
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    <context: #return>
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
8500
10d47cede03c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7661
diff changeset
    68
    ^ MessageNotUnderstood raiseRequestWith:aMessage
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
!ProtoObject methodsFor:'queries'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
class
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
    "return the receivers class"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
%{  /* NOCONTEXT */
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
    RETURN ( __Class(self) );
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
%}
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
*** WARNING
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
***
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
*** this method has been automatically created,
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
*** since all nil-subclasses should respond to some minimum required
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
*** protocol.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
***
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
*** Inspection and/or debugging of instances may not be possible,
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
*** if you remove/change this method. 
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
"
10589
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    91
!
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    92
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    93
identityHash
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    94
    "return an Integer useful as a hash key for the receiver.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    95
     This hash should return same values for the same object (i.e. use
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    96
     this to hash on identity of objects).
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    97
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    98
     We cannot use the Objects address (as other smalltalks do) since
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    99
     no object-table exists and the hashval must not change when objects
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   100
     are moved by the collector. Therefore we assign each object a unique
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   101
     Id in the object header itself as its hashed upon.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   102
     (luckily we have 11 bits spare to do this - unluckily its only 11 bits).
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   103
     Time will show, if 11 bits are enough; if not, another entry in the
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   104
     object header will be needed, adding 4 bytes to every object. Alternatively,
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   105
     hashed-upon objects could add an instvar containing the hash value."
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   106
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   107
%{  /* NOCONTEXT */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   108
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   109
    REGISTER unsigned INT hash;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   110
    static unsigned nextHash = 0;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   111
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   112
    if (__isNonNilObject(self)) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   113
        hash = __GET_HASH(self);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   114
        if (hash == 0) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   115
            /* has no hash yet */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   116
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   117
            if (++nextHash > __MAX_HASH__) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   118
                nextHash = 1;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   119
            }
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   120
            hash = nextHash;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   121
            __SET_HASH(self, hash);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   122
        }
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   123
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   124
        /*
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   125
         * now, we got 11 bits for hashing;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   126
         * make it as large as possible; since most hashers use the returned
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   127
         * key and take it modulo some prime number, this will allow for
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   128
         * better distribution (i.e. bigger empty spaces) in hashed collection.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   129
         */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   130
        hash = __MAKE_HASH__(hash);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   131
        RETURN ( __mkSmallInteger(hash) );
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   132
    }
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   133
%}.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   134
    ^ 0 "never reached, since redefined in UndefinedObject and SmallInteger"
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   135
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   136
    "Created: / 31-05-2007 / 23:18:40 / cg"
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
!ProtoObject methodsFor:'testing'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
17736
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   141
ifNil:aBlock
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   142
    ^ self
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   143
!
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   144
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   145
ifNotNil:aBlockOrValue
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   146
    ^ aBlockOrValue value
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   147
!
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   148
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
isBehavior
9222
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   150
    "return true, if the receiver is describing another objects behavior.
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   151
     False is returned here - the method is only redefined in Behavior."
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   152
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
    ^ false
7661
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   154
!
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
7661
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   156
isBlock
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   157
    ^ false
7659
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   158
!
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   159
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   160
isException
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   161
    ^ false
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   162
!
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   163
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   164
isExceptionHandler
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   165
    ^ false
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   166
!
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   167
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   168
isJavaObject
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   169
    ^ false
10589
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   170
!
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   171
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   172
isLazyValue
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   173
    ^ false
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   174
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   175
    "Created: / 03-06-2007 / 14:02:12 / cg"
10591
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   176
!
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   177
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   178
isLiteral
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   179
    ^ false
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   180
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   181
    "Created: / 04-06-2007 / 17:19:10 / cg"
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
!ProtoObject class methodsFor:'documentation'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
version
17845
7e0cfaac936d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17841
diff changeset
   187
    ^ '$Id: ProtoObject.st 10656 2011-07-07 22:08:07Z vranyj1 $'
17736
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   188
!
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   189
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   190
version_CVS
17845
7e0cfaac936d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17841
diff changeset
   191
    ^ '§Header: /cvs/stx/stx/libbasic/ProtoObject.st,v 1.13 2009/12/01 19:59:38 cg Exp §'
7e0cfaac936d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17841
diff changeset
   192
! !