polyglot.ast
Interface ProcedureCall

All Superinterfaces:
java.lang.Cloneable, Copy, JL, Node, NodeOps, Term
All Known Subinterfaces:
Call, ConstructorCall, New, PolyJCall, PolyJConstructorCall, PolyJNew
All Known Implementing Classes:
Call_c, ConstructorCall_c, New_c, PolyJCall_c, PolyJConstructorCall_c, PolyJNew_c

public interface ProcedureCall
extends Term

A ProcedureCall is an interface representing a method or constructor call.


Method Summary
 java.util.List arguments()
          The call's actual arguments.
 ProcedureCall arguments(java.util.List arguments)
          Set the call's actual arguments.
 ProcedureInstance procedureInstance()
          The type object of the method we are calling.
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, entry, reachable, reachable
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 

Method Detail

arguments

public java.util.List arguments()
The call's actual arguments.

Returns:
A list of Expr.

arguments

public ProcedureCall arguments(java.util.List arguments)
Set the call's actual arguments.

Parameters:
arguments - A list of Expr.

procedureInstance

public ProcedureInstance procedureInstance()
The type object of the method we are calling. This is, generally, only valid after the type-checking pass.