UndefinedObject.st
changeset 24185 986b38a43bae
parent 23685 803f30d27e96
child 24625 1d63937b4f74
equal deleted inserted replaced
24184:febe164c1f24 24185:986b38a43bae
   152      the VM.
   152      the VM.
   153      Here, true is returned for myself, false for subclasses."
   153      Here, true is returned for myself, false for subclasses."
   154 
   154 
   155     ^ self == UndefinedObject
   155     ^ self == UndefinedObject
   156 ! !
   156 ! !
       
   157 
       
   158 
   157 
   159 
   158 
   160 
   159 
   161 
   160 
   162 
   161 !UndefinedObject methodsFor:'converting'!
   163 !UndefinedObject methodsFor:'converting'!
   759     "Modified (comment): / 17-08-2011 / 09:29:30 / cg"
   761     "Modified (comment): / 17-08-2011 / 09:29:30 / cg"
   760     "Modified (comment): / 15-06-2017 / 01:46:00 / mawalch"
   762     "Modified (comment): / 15-06-2017 / 01:46:00 / mawalch"
   761 !
   763 !
   762 
   764 
   763 isImmediate
   765 isImmediate
       
   766     "return true if I am an immediate object
       
   767      i.e. I am represented in the pointer itself and
       
   768      no real object header/storage is used by me."
       
   769 
   764     ^ true
   770     ^ true
   765 
   771 
   766     "Created: / 18-09-2018 / 14:48:45 / Stefan Vogel"
   772     "Created: / 18-09-2018 / 14:48:45 / Stefan Vogel"
       
   773     "Modified (comment): / 27-05-2019 / 15:38:24 / Claus Gittinger"
   767 !
   774 !
   768 
   775 
   769 isLiteral
   776 isLiteral
   770     "return true if the receiver can be used as a literal constant in ST syntax
   777     "return true if the receiver can be used as a literal constant in ST syntax
   771      (i.e. can be used in constant arrays)"
   778      (i.e. can be used in constant arrays)"