Class BoxThrow

All Implemented Interfaces:
BoxVisitable

public class BoxThrow extends BoxStatement
AST Node representing an throw statement
  • Constructor Details

    • BoxThrow

      public BoxThrow(BoxExpression expression, Position position, String sourceText)
      Creates the AST node
      Parameters:
      expression - argument expression to assert
      position - position of the statement in the source code
      sourceText - source code that originated the Node
    • BoxThrow

      public BoxThrow(BoxExpression expression, BoxExpression type, BoxExpression message, BoxExpression detail, BoxExpression errorcode, BoxExpression extendedInfo, Position position, String sourceText)
      Creates the AST node
      Parameters:
      expression - argument expression to assert
      position - position of the statement in the source code
      sourceText - source code that originated the Node
  • Method Details