Package EDU.purdue.cs.bloat.tree
Class CallExpr
- java.lang.Object
-
- EDU.purdue.cs.bloat.tree.Node
-
- EDU.purdue.cs.bloat.tree.Expr
-
- EDU.purdue.cs.bloat.tree.CallExpr
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
CallMethodExpr,CallStaticExpr
public abstract class CallExpr extends Expr
CallExpr is a superclass of expressions that represent the invocation of a method. It consists of an array of Expr that represent the arguments to a method and a MemberRef that represents the method itself.- See Also:
CallMethodExpr,CallStaticExpr
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemberRefmethod()Expr[]params()-
Methods inherited from class EDU.purdue.cs.bloat.tree.Expr
cleanupOnly, clone, comparator, copyInto, def, equalsExpr, exprHashCode, isDef, setDef, setType, stmt, type
-
Methods inherited from class EDU.purdue.cs.bloat.tree.Node
block, cleanup, copyInto, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visit, visitChildren, visitForceChildren, visitOnly
-
-
-
-
Constructor Detail
-
CallExpr
public CallExpr(Expr[] params, MemberRef method, Type type)
Constructor.- Parameters:
params- Parameters to the method. Note that these parameters do not contain parameter 0, the "this" pointer.method- The method that is to be invoked.type- The type of this expression (i.e. the return type of the method being called).
-
-