dk.brics.string.intermediate
Class Call

java.lang.Object
  extended by dk.brics.string.intermediate.Statement
      extended by dk.brics.string.intermediate.Call
All Implemented Interfaces:
Comparable<Statement>

public class Call
extends Statement

Calling another method.


Field Summary
 Variable[] args
          The arguments given.
 Variable retvar
          The variable into which the returned value is written.
 Method target
          The target method.
 
Constructor Summary
Call(Variable retvar, Method target, Variable[] args)
           
 
Method Summary
 void visitBy(StatementVisitor v)
          Visit this statement by the given statement visitor.
 
Methods inherited from class dk.brics.string.intermediate.Statement
addSucc, addSuccIfAbsent, compareTo, getIndex, getMethod, getPreds, getSuccs, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

args

public Variable[] args
The arguments given.


retvar

public Variable retvar
The variable into which the returned value is written.


target

public Method target
The target method.

Constructor Detail

Call

public Call(Variable retvar,
            Method target,
            Variable[] args)
Method Detail

visitBy

public void visitBy(StatementVisitor v)
Description copied from class: Statement
Visit this statement by the given statement visitor. This will invoke the corresponding method in the visitor.

Specified by:
visitBy in class Statement
Parameters:
v - the visitor.


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.