Package org.apache.commons.jexl3.parser
Class ASTTryStatement
- java.lang.Object
-
- org.apache.commons.jexl3.parser.SimpleNode
-
- org.apache.commons.jexl3.parser.JexlNode
-
- org.apache.commons.jexl3.parser.JexlLexicalNode
-
- org.apache.commons.jexl3.parser.ASTTryStatement
-
- All Implemented Interfaces:
JexlCache.Reference,JexlParser.LexicalUnit,Node
public class ASTTryStatement extends JexlLexicalNode
Declares a try/catch/finally statement.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.jexl3.parser.JexlNode
JexlNode.Constant<T>, JexlNode.Funcall, JexlNode.Info, JexlNode.JxltHandle
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate inttryFormcatch() &= 1, finally &= 2.-
Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id
-
-
Constructor Summary
Constructors Constructor Description ASTTryStatement(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcatchClause()voidfinallyClause()booleanhasCatchClause()booleanhasFinallyClause()java.lang.ObjectjjtAccept(ParserVisitor visitor, java.lang.Object data)Accepts the visitor.-
Methods inherited from class org.apache.commons.jexl3.parser.JexlLexicalNode
declareSymbol, getLexicalScope, getSymbolCount, hasSymbol, isConstant, jjtClose, setConstant
-
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getCache, getColumn, getLine, isConstant, isConstant, isGlobalVar, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jexlInfo, jjtSetFirstToken, jjtSetLastToken, setCache
-
Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, dumpOut, getId, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
tryForm
private int tryForm
catch() &= 1, finally &= 2.
-
-
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:SimpleNodeAccepts the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Parameters:
visitor- the visitordata- contextual data- Returns:
- result of visit
-
-