Class CallExpr

All Implemented Interfaces:
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:
  • Field Details

    • voltaPos

      public int voltaPos
  • Constructor Details

    • 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).
  • Method Details

    • method

      public MemberRef method()
    • params

      public Expr[] params()