UndefinedObject.st
changeset 13588 c52888cbe73c
parent 12968 07761a8bcc6a
child 14678 eb0809dd0fee
child 18011 deb0c3355881
equal deleted inserted replaced
13587:d2c9f7edef49 13588:c52888cbe73c
   227 !
   227 !
   228 
   228 
   229 removeDependent:someObject
   229 removeDependent:someObject
   230     "ignored here - nil has no dependents"
   230     "ignored here - nil has no dependents"
   231 ! !
   231 ! !
   232 
       
   233 
   232 
   234 !UndefinedObject methodsFor:'error catching'!
   233 !UndefinedObject methodsFor:'error catching'!
   235 
   234 
   236 basicAt:index
   235 basicAt:index
   237     "catch array access - its illegal
   236     "catch array access - its illegal
   615 
   614 
   616     ^ nil
   615     ^ nil
   617 !
   616 !
   618 
   617 
   619 isEmptyOrNil
   618 isEmptyOrNil
   620     "return true if I am nil or an empty collection - since I am nil, return true.
   619     "return true if I am nil or an empty collection 
   621      (from Sqeak)"
   620      - since I am nil, return true. (from Sqeak)"
   622 
   621 
   623     ^ true
   622     ^ true
   624 
   623 
   625     "Created: / 13.11.2001 / 13:16:40 / cg"
   624     "Created: / 13-11-2001 / 13:16:40 / cg"
   626     "Modified: / 13.11.2001 / 13:28:47 / cg"
   625     "Modified (comment): / 17-08-2011 / 09:29:30 / cg"
   627 !
   626 !
   628 
   627 
   629 isLiteral
   628 isLiteral
   630     "return true, if the receiver can be used as a literal constant in ST syntax
   629     "return true, if the receiver can be used as a literal constant in ST syntax
   631      (i.e. can be used in constant arrays)"
   630      (i.e. can be used in constant arrays)"
   689 ! !
   688 ! !
   690 
   689 
   691 !UndefinedObject class methodsFor:'documentation'!
   690 !UndefinedObject class methodsFor:'documentation'!
   692 
   691 
   693 version
   692 version
   694     ^ '$Header: /cvs/stx/stx/libbasic/UndefinedObject.st,v 1.71 2010-07-28 17:20:51 cg Exp $'
   693     ^ '$Header: /cvs/stx/stx/libbasic/UndefinedObject.st,v 1.72 2011-08-18 00:35:45 cg Exp $'
   695 !
   694 !
   696 
   695 
   697 version_CVS
   696 version_CVS
   698     ^ '$Header: /cvs/stx/stx/libbasic/UndefinedObject.st,v 1.71 2010-07-28 17:20:51 cg Exp $'
   697     ^ '$Header: /cvs/stx/stx/libbasic/UndefinedObject.st,v 1.72 2011-08-18 00:35:45 cg Exp $'
   699 ! !
   698 ! !
   700 
   699 
   701 UndefinedObject initialize!
   700 UndefinedObject initialize!