ist.palcom.st.ast
Class ASTVariableExpression

java.lang.Object
  extended by ist.palcom.st.ast.ASTExpression
      extended by ist.palcom.st.ast.ASTVariableExpression

public class ASTVariableExpression
extends ASTExpression


Field Summary
 ASTVariableUse variable
           
 
Fields inherited from class ist.palcom.st.ast.ASTExpression
empty_list
 
Constructor Summary
ASTVariableExpression(ASTVariableUse variable)
           
 
Method Summary
 boolean compile(ASTBytecodeGenerator generator, ASTBlock context, boolean resultWillBeDiscarded)
           
 java.util.List<ASTExpression> getSubExpressions()
          Returns a read-only list of expressions below this one in the AST
 void renameVariable(ASTVariable oldV, ASTVariable newV)
           
 
Methods inherited from class ist.palcom.st.ast.ASTExpression
compile_assignments, disambiguateVariables, inlineBlocks, isInlinableBlock, liftLocals, set_assignments, setContextOfSubblocks, setFields, subexpressionsHaveVariableNamed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variable

public ASTVariableUse variable
Constructor Detail

ASTVariableExpression

public ASTVariableExpression(ASTVariableUse variable)
Method Detail

compile

public boolean compile(ASTBytecodeGenerator generator,
                       ASTBlock context,
                       boolean resultWillBeDiscarded)
Specified by:
compile in class ASTExpression

renameVariable

public void renameVariable(ASTVariable oldV,
                           ASTVariable newV)
Overrides:
renameVariable in class ASTExpression

getSubExpressions

public java.util.List<ASTExpression> getSubExpressions()
Description copied from class: ASTExpression
Returns a read-only list of expressions below this one in the AST

Specified by:
getSubExpressions in class ASTExpression