polyglot.ast
Interface ProcedureCall
- All Superinterfaces:
- java.lang.Cloneable, Copy, JL, Node, NodeOps, Term
- All Known Subinterfaces:
- Call, ConstructorCall, New
- All Known Implementing Classes:
- Call_c, ConstructorCall_c, New_c
public interface ProcedureCall
- extends Term
A ProcedureCall
is an interface representing a
method or constructor call.
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
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 |
arguments
java.util.List arguments()
- The call's actual arguments.
- Returns:
- A list of
Expr
.
arguments
ProcedureCall arguments(java.util.List arguments)
- Set the call's actual arguments.
- Parameters:
arguments
- A list of Expr
.
procedureInstance
ProcedureInstance procedureInstance()
- The type object of the method we are calling. This is, generally, only
valid after the type-checking pass.