Class ASTTryStatement

  • All Implemented Interfaces:
    Node

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

      • tryForm

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

      • ASTTryStatement

        public ASTTryStatement​(int id)
    • Method Detail

      • catchClause

        public void catchClause()
      • finallyClause

        public void finallyClause()
      • hasCatchClause

        public boolean hasCatchClause()
      • hasFinallyClause

        public boolean hasFinallyClause()
      • jjtAccept

        public java.lang.Object jjtAccept​(ParserVisitor visitor,
                                          java.lang.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