Class 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
    • Field Detail

      • voltaPos

        public int voltaPos
    • 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).
    • Method Detail

      • params

        public Expr[] params()