forge.cfg
Class CallStmt

java.lang.Object
  extended by forge.cfg.CFGStmt
      extended by forge.cfg.ReferenceStmt
          extended by forge.cfg.UpdateStmt
              extended by forge.cfg.CallStmt
All Implemented Interfaces:
CFGElement, ProgramElement

public final class CallStmt
extends UpdateStmt

A CFG node at which a procedure is called.

Author:
Greg Dennis (gdennis@mit.edu)

Method Summary
 void accept(CFGVisitor visitor)
          Applies a CFG visitor to this stmt.
 ForgeCFG called()
           
 java.util.List<ForgeExpression> inArgs()
           
 java.util.Set<ForgeVariable> modified()
          Returns the set of variables and instance domains that may be modified by the statement.
 java.util.List<ForgeVariable> outArgs()
           
 java.util.Set<ForgeExpression.Modifiable> referenced()
          Returns the set of variables and instance domains referenced by the statement.
 
Methods inherited from class forge.cfg.UpdateStmt
getNext, setNext, succs
 
Methods inherited from class forge.cfg.CFGStmt
cfg, id, preds, program, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

called

public ForgeCFG called()

inArgs

public java.util.List<ForgeExpression> inArgs()

outArgs

public java.util.List<ForgeVariable> outArgs()

referenced

public java.util.Set<ForgeExpression.Modifiable> referenced()
Description copied from class: ReferenceStmt
Returns the set of variables and instance domains referenced by the statement. The "used" modifiables, in the def-use meaning.

Specified by:
referenced in class ReferenceStmt

modified

public java.util.Set<ForgeVariable> modified()
Description copied from class: UpdateStmt
Returns the set of variables and instance domains that may be modified by the statement. The "defined" modifiables, in the def-use meaning.

Specified by:
modified in class UpdateStmt

accept

public void accept(CFGVisitor visitor)
Description copied from class: CFGStmt
Applies a CFG visitor to this stmt.

Specified by:
accept in class CFGStmt