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

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.NopStm

public class NopStm
extends Statement

No operation.


Constructor Summary
NopStm(Origin origin)
          Constructs a new NopStm object.
NopStm(Origin origin, String description)
          Constructs a new NopStm object.
 
Method Summary
 String getOpName()
          Returns the name of the operation.
 String toString()
          Returns a textual description of the statement.
 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

NopStm

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


NopStm

public NopStm(Origin origin,
              String description)
Constructs a new NopStm object.

Method Detail

getOpName

public String getOpName()
Description copied from class: Statement
Returns the name of the operation.

Specified by:
getOpName in class Statement

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

visitBy

public void visitBy(StatementVisitor v)
Description copied from class: Statement
Visits this statement by the given visitor.

Specified by:
visitBy in class Statement


Copyright © 2005-2011 Aarhus University.