Class ThrowStmt

All Implemented Interfaces:
NodeWithExpression<ThrowStmt>, NodeWithRange<Node>, NodeWithTokenRange<Node>, Observable, Visitable, HasParentNode<Node>, Cloneable

public class ThrowStmt extends Statement implements NodeWithExpression<ThrowStmt>
Usage of the throw statement.
throw new Exception()
Author:
Julio Vilmar Gesser
  • Constructor Details

    • ThrowStmt

      public ThrowStmt()
    • ThrowStmt

      public ThrowStmt(Expression expression)
    • ThrowStmt

      public ThrowStmt(TokenRange tokenRange, Expression expression)
      This constructor is used by the parser and is considered private.
  • Method Details