dk.brics.xact.analysis.flowgraph
Class Statement

java.lang.Object
  extended by dk.brics.xact.analysis.flowgraph.Entity
      extended by dk.brics.xact.analysis.flowgraph.Statement
Direct Known Subclasses:
Assignment, CallStm, CheckStm, EscapeStm, NopStm

public abstract class Statement
extends Entity

Superclass of abstract statements.


Constructor Summary
Statement(Origin origin)
          Constructs a new Statement object.
 
Method Summary
abstract  String getOpName()
          Returns the name of the operation.
 String toString()
          Returns a textual description of the statement.
abstract  void visitBy(StatementVisitor v)
          Visits this statement by the given visitor.
 
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

Statement

public Statement(Origin origin)
Constructs a new Statement object.

Method Detail

getOpName

public abstract String getOpName()
Returns the name of the operation.


toString

public String toString()
Returns a textual description of the statement. This includes the origin and other statically available information.

Overrides:
toString in class Entity

visitBy

public abstract void visitBy(StatementVisitor v)
Visits this statement by the given visitor.



Copyright © 2005-2011 Aarhus University.