Class PrimaryExpressionIsInvokeException

All Implemented Interfaces:
Serializable

public class PrimaryExpressionIsInvokeException extends NucleusException
Exception thrown when compiling a PrimaryExpression and we find that it really represents an invocation of a method, and so should be swapped in the expression tree.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • invokeExpr

      InvokeExpression invokeExpr
      The InvokeExpression that the PrimaryExpression should be swapped with.
  • Constructor Details

    • PrimaryExpressionIsInvokeException

      public PrimaryExpressionIsInvokeException(InvokeExpression expr)
  • Method Details

    • getInvokeExpression

      public InvokeExpression getInvokeExpression()
      Accessor for the InvokeExpression that this primary expression should be swapped for.
      Returns:
      The InvokeExpression