ConstantNode.st
changeset 1080 bd3f19f6009a
parent 1035 8848672cb893
child 1348 d7cc3ebd5312
equal deleted inserted replaced
1079:2a996e0def30 1080:bd3f19f6009a
     7  inclusion of the above copyright notice.   This software may not
     7  inclusion of the above copyright notice.   This software may not
     8  be provided or otherwise made available to, or used by, any
     8  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
     9  other person.  No title to or ownership of the software is
    10  hereby transferred.
    10  hereby transferred.
    11 "
    11 "
       
    12 
       
    13 "{ Package: 'stx:libcomp' }"
    12 
    14 
    13 PrimaryNode subclass:#ConstantNode
    15 PrimaryNode subclass:#ConstantNode
    14 	instanceVariableNames:''
    16 	instanceVariableNames:''
    15 	classVariableNames:'TrueNode FalseNode NilNode Const0Node Const1Node Float0Node'
    17 	classVariableNames:'TrueNode FalseNode NilNode Const0Node Const1Node Float0Node'
    16 	poolDictionaries:''
    18 	poolDictionaries:''
   267 
   269 
   268     self error:'store not allowed'.
   270     self error:'store not allowed'.
   269     ^ aValue
   271     ^ aValue
   270 ! !
   272 ! !
   271 
   273 
   272 !ConstantNode methodsFor:'printing'!
   274 !ConstantNode methodsFor:'printing & storing'!
   273 
   275 
   274 displayString
   276 displayString
   275     "return a printed representation of the receiver for displaying"
   277     "return a printed representation of the receiver for displaying"
   276 
   278 
   277     ^ value displayString
   279     ^ value displayString
   322 ! !
   324 ! !
   323 
   325 
   324 !ConstantNode class methodsFor:'documentation'!
   326 !ConstantNode class methodsFor:'documentation'!
   325 
   327 
   326 version
   328 version
   327     ^ '$Header: /cvs/stx/stx/libcomp/ConstantNode.st,v 1.28 2000-02-12 15:33:21 cg Exp $'
   329     ^ '$Header: /cvs/stx/stx/libcomp/ConstantNode.st,v 1.29 2000-08-31 10:02:35 cg Exp $'
   328 ! !
   330 ! !