ProtoObject.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 01 Jul 2010 19:21:34 +0100
branchjv
changeset 17772 6e0b3c06c364
parent 17767 a4a32df3aa5e
child 17780 b6e42c92eba0
permissions -rw-r--r--
Method reverted to r10532
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
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
!ProtoObject methodsFor:'error handling'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
doesNotUnderstand:aMessage
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    "this message is sent by the runtime system (VM) when
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
     a message is not understood by some object (i.e. there
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
     is no method for that selector). The original message has
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
     been packed into aMessage (i.e. the receiver, selector and
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
     any arguments) and the original receiver is then sent the
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
     #doesNotUnderstand: message.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
     Here, we raise another signal which usually enters the debugger.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
     You can of course redefine #doesNotUnderstand: in your classes
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
     to implement message delegation, 
8500
10d47cede03c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7661
diff changeset
    63
     or handle the MessageNotUnderstood exception gracefully."
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
    <context: #return>
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
8500
10d47cede03c Speed up MessageNotUnderstood exception sending by layz computation
Stefan Vogel <sv@exept.de>
parents: 7661
diff changeset
    67
    ^ MessageNotUnderstood raiseRequestWith:aMessage
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
!ProtoObject methodsFor:'queries'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
class
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
    "return the receivers class"
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
%{  /* NOCONTEXT */
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
    RETURN ( __Class(self) );
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
%}
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
*** WARNING
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
***
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
*** this method has been automatically created,
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
*** since all nil-subclasses should respond to some minimum required
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
*** protocol.
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
***
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
*** Inspection and/or debugging of instances may not be possible,
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
*** if you remove/change this method. 
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
"
10589
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    90
!
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
identityHash
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    93
    "return an Integer useful as a hash key for the receiver.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    94
     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
    95
     this to hash on identity of objects).
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    96
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    97
     We cannot use the Objects address (as other smalltalks do) since
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
    98
     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
    99
     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
   100
     Id in the object header itself as its hashed upon.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   101
     (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
   102
     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
   103
     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
   104
     hashed-upon objects could add an instvar containing the hash value."
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   105
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   106
%{  /* NOCONTEXT */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   107
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   108
    REGISTER unsigned INT hash;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   109
    static unsigned nextHash = 0;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   110
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   111
    if (__isNonNilObject(self)) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   112
        hash = __GET_HASH(self);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   113
        if (hash == 0) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   114
            /* has no hash yet */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   115
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   116
            if (++nextHash > __MAX_HASH__) {
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   117
                nextHash = 1;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   118
            }
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   119
            hash = nextHash;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   120
            __SET_HASH(self, hash);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   121
        }
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
         * now, we got 11 bits for hashing;
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   125
         * 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
   126
         * 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
   127
         * better distribution (i.e. bigger empty spaces) in hashed collection.
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   128
         */
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   129
        hash = __MAKE_HASH__(hash);
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   130
        RETURN ( __mkSmallInteger(hash) );
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   131
    }
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
    ^ 0 "never reached, since redefined in UndefinedObject and SmallInteger"
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   134
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   135
    "Created: / 31-05-2007 / 23:18:40 / cg"
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
!ProtoObject methodsFor:'testing'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
17736
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   140
ifNil:aBlock
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   141
    ^ self
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   142
!
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
ifNotNil:aBlockOrValue
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   145
    ^ aBlockOrValue value
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   146
!
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   147
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
isBehavior
9222
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   149
    "return true, if the receiver is describing another objects behavior.
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   150
     False is returned here - the method is only redefined in Behavior."
1dccfa01fb06 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8728
diff changeset
   151
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
    ^ false
7661
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   153
!
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
7661
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   155
isBlock
71d2cac1b959 some tests aded to avoid trouble in debugger
Claus Gittinger <cg@exept.de>
parents: 7659
diff changeset
   156
    ^ false
7659
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   157
!
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
isException
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   160
    ^ false
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   161
!
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
isExceptionHandler
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   164
    ^ false
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   165
!
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
isJavaObject
4def16a2e6e1 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6912
diff changeset
   168
    ^ false
10589
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   169
!
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
isLazyValue
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   172
    ^ false
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   173
47f2edd1ffc6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9222
diff changeset
   174
    "Created: / 03-06-2007 / 14:02:12 / cg"
10591
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   175
!
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
isLiteral
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   178
    ^ false
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   179
d5122476748b changed #isLiteral
Claus Gittinger <cg@exept.de>
parents: 10589
diff changeset
   180
    "Created: / 04-06-2007 / 17:19:10 / cg"
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
! !
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
!ProtoObject class methodsFor:'documentation'!
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
version
17772
6e0b3c06c364 Method reverted to r10532
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17767
diff changeset
   186
    ^ '$Id: ProtoObject.st 10534 2010-07-01 18:21:34Z vranyj1 $'
17736
26cfea63471d Merged with trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
   187
!
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
version_CVS
17772
6e0b3c06c364 Method reverted to r10532
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17767
diff changeset
   190
    ^ 'Header: /cvs/stx/stx/libbasic/ProtoObject.st,v 1.13 2009/12/01 19:59:38 cg Exp ยง'
17761
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17736
diff changeset
   191
!
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17736
diff changeset
   192
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17736
diff changeset
   193
version_SVN
17772
6e0b3c06c364 Method reverted to r10532
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17767
diff changeset
   194
    ^ '$Id: ProtoObject.st 10534 2010-07-01 18:21:34Z vranyj1 $'
6844
75e52e680723 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
! !
17767
a4a32df3aa5e merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17761
diff changeset
   196
17772
6e0b3c06c364 Method reverted to r10532
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17767
diff changeset
   197