ist.palcom.st.ast
Class ASTMessageSend

java.lang.Object
  extended by ist.palcom.st.ast.ASTExpression
      extended by ist.palcom.st.ast.ASTMessageSend
Direct Known Subclasses:
ASTBinaryMessageSend, ASTKeywordMessageSend, ASTUnaryMessageSend

public abstract class ASTMessageSend
extends ASTExpression


Field Summary
 int line_number
           
protected  ASTExpression receiver
           
 
Fields inherited from class ist.palcom.st.ast.ASTExpression
empty_list
 
Constructor Summary
ASTMessageSend(ASTExpression receiver, int line_number)
           
 
Method Summary
 boolean compile(ASTBytecodeGenerator generator, ASTBlock context, boolean resultWillBeDiscarded)
           
abstract  java.util.List get_arguments()
           
abstract  java.lang.String get_selector()
           
abstract  java.util.List<ASTExpression> getSubExpressions()
          Returns a read-only list of expressions below this one in the AST
abstract  ASTExpression inlineBlocks()
           
 void setLineNumber(int line_number)
           
 
Methods inherited from class ist.palcom.st.ast.ASTExpression
compile_assignments, disambiguateVariables, isInlinableBlock, liftLocals, renameVariable, 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

receiver

protected ASTExpression receiver

line_number

public int line_number
Constructor Detail

ASTMessageSend

public ASTMessageSend(ASTExpression receiver,
                      int line_number)
Method Detail

setLineNumber

public void setLineNumber(int line_number)

get_arguments

public abstract java.util.List get_arguments()

get_selector

public abstract java.lang.String get_selector()

compile

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

inlineBlocks

public abstract ASTExpression inlineBlocks()
Overrides:
inlineBlocks in class ASTExpression

getSubExpressions

public abstract 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