Squeak Class Documentation category index | class index  
 
TempVariableNode
  category: System-Compiler
  superclass: VariableNode
  subclasses:

I am a parse tree leaf representing a temporary variable

instance methods
  initialize-release
  isArg:
name:index:type:scope:
nowHasDef
nowHasRef
scope:

  printing
  printOn:indent:

  testing
  assignmentCheck:at:
isArg
isTemp
isUndefTemp
isUnusedTemp
scope

  tiles
  asMorphicSyntaxIn:
explanation

class methods
  no messages
 

instance methods
  initialize-release top  
 

isArg:


 

name:index:type:scope:

Only used for initting temporary variables


 

nowHasDef

Ignored in all but VariableNode


 

nowHasRef

Ignored in all but VariableNode


 

scope:

Note scope of temporary variables.
Currently only the following distinctions are made:
0 outer level: args and user-declared temps
1 block args and doLimiT temps
-1 a block temp that is no longer active
-2 a block temp that held limit of to:do:


  printing top  
 

printOn:indent:

If control gets here, avoid recursion loop.


  testing top  
 

assignmentCheck:at:

For messageNodes masquerading as variables for the debugger.
For now we let this through - ie we allow stores ev
into args. Should check against numArgs, though.


 

isArg


 

isTemp


 

isUndefTemp


 

isUnusedTemp


 

scope


  tiles top  
 

asMorphicSyntaxIn:

Default for missing implementations


 

explanation


class methods
  no messages top