dk.brics.xact.analysis.flowgraph.statements
Class Assignment

java.lang.Object
  extended by dk.brics.xact.analysis.flowgraph.Entity
      extended by dk.brics.xact.analysis.flowgraph.Statement
          extended by dk.brics.xact.analysis.flowgraph.statements.Assignment
Direct Known Subclasses:
ArrayReadStm, ArrayWriteStm, ArrayWriteStringStm, ConcatStm, ConstStm, EmptyStm, InstanceAssignment, NodeStm, UnknownStm, VarStm

public abstract class Assignment
extends Statement

Superclass of abstract statements that are assignments.


Constructor Summary
Assignment(Variable dest, Origin origin)
          Constructs a new assignment statement.
 
Method Summary
 Variable getDest()
          Returns the destination variable.
 void setDest(Variable dest)
          Sets the destination variable.
 String toString()
          Returns a textual description of the statement.
 
Methods inherited from class dk.brics.xact.analysis.flowgraph.Statement
getOpName, visitBy
 
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity
getOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Assignment

public Assignment(Variable dest,
                  Origin origin)
Constructs a new assignment statement.

Method Detail

getDest

public Variable getDest()
Returns the destination variable.


setDest

public void setDest(Variable dest)
Sets the destination variable.


toString

public String toString()
Description copied from class: Statement
Returns a textual description of the statement. This includes the origin and other statically available information.

Overrides:
toString in class Statement


Copyright © 2005-2011 Aarhus University.