Class ASTTryStatement

All Implemented Interfaces:
Node

public class ASTTryStatement extends JexlNode
Declares a try/catch/finally statement.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • tryForm

      private int tryForm
      catch() &= 1, finally &= 2.
  • Constructor Details

    • ASTTryStatement

      public ASTTryStatement(int id)
  • Method Details

    • catchClause

      public void catchClause()
    • finallyClause

      public void finallyClause()
    • hasCatchClause

      public boolean hasCatchClause()
    • hasFinallyClause

      public boolean hasFinallyClause()
    • jjtAccept

      public Object jjtAccept(ParserVisitor visitor, Object data)
      Description copied from class: SimpleNode
      Accepts the visitor.
      Specified by:
      jjtAccept in interface Node
      Overrides:
      jjtAccept in class SimpleNode
      Parameters:
      visitor - the visitor
      data - contextual data
      Returns:
      result of visit