PrimaryNode.st
changeset 2030 6f213151b826
parent 1786 59c642a17b3d
child 2135 a9a5ad3716d1
equal deleted inserted replaced
2029:ce692c34a270 2030:6f213151b826
     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 "{ Package: 'stx:libcomp' }"
    14 
    13 
    15 ParseNode subclass:#PrimaryNode
    14 ParseNode subclass:#PrimaryNode
    16 	instanceVariableNames:'value'
    15 	instanceVariableNames:'value'
    17 	classVariableNames:''
    16 	classVariableNames:''
    63 !PrimaryNode methodsFor:'code generation'!
    62 !PrimaryNode methodsFor:'code generation'!
    64 
    63 
    65 codeForSideEffectOn:aStream inBlock:b for:aCompiler
    64 codeForSideEffectOn:aStream inBlock:b for:aCompiler
    66     "no code at all"
    65     "no code at all"
    67     ^ self
    66     ^ self
    68 !
       
    69 
       
    70 codeOn:aStream inBlock:codeBlock for:aCompiler
       
    71     ^ self subclassResponsibility
       
    72 !
    67 !
    73 
    68 
    74 codeStoreOn:aStream inBlock:codeBlock valueNeeded:valueNeeded for:aCompiler
    69 codeStoreOn:aStream inBlock:codeBlock valueNeeded:valueNeeded for:aCompiler
    75     ^ self subclassResponsibility
    70     ^ self subclassResponsibility
    76 ! !
    71 ! !
   134 ! !
   129 ! !
   135 
   130 
   136 !PrimaryNode class methodsFor:'documentation'!
   131 !PrimaryNode class methodsFor:'documentation'!
   137 
   132 
   138 version
   133 version
   139     ^ '$Header: /cvs/stx/stx/libcomp/PrimaryNode.st,v 1.26 2006-08-07 10:20:08 cg Exp $'
   134     ^ '$Header: /cvs/stx/stx/libcomp/PrimaryNode.st,v 1.27 2007-04-02 10:13:23 stefan Exp $'
   140 ! !
   135 ! !