ist.palcom.st.ast
Class ASTPrimitiveCall

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

public class ASTPrimitiveCall
extends ASTExpression


Field Summary
 java.util.List<ASTVariableUse> arguments
           
 ASTSymbolUse symbol
           
 
Fields inherited from class ist.palcom.st.ast.ASTExpression
empty_list
 
Constructor Summary
ASTPrimitiveCall()
           
 
Method Summary
 void add_argument(ASTVariableUse argument)
           
 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)
           
 void set_symbol(ASTSymbolUse symbol)
           
 void setFields(ASTBlock context)
           
 
Methods inherited from class ist.palcom.st.ast.ASTExpression
compile_assignments, disambiguateVariables, inlineBlocks, isInlinableBlock, liftLocals, set_assignments, setContextOfSubblocks, subexpressionsHaveVariableNamed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arguments

public java.util.List<ASTVariableUse> arguments

symbol

public ASTSymbolUse symbol
Constructor Detail

ASTPrimitiveCall

public ASTPrimitiveCall()
Method Detail

compile

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

add_argument

public void add_argument(ASTVariableUse argument)

set_symbol

public void set_symbol(ASTSymbolUse symbol)

renameVariable

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

setFields

public void setFields(ASTBlock context)
Overrides:
setFields 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