public final class TryCatchExpression extends Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
TryCatchExpression.Catch
Catch clause.
|
| Constructor and Description |
|---|
TryCatchExpression(ASTInfo info,
Expression expression,
java.util.Collection<TryCatchExpression.Catch> catches)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T,E extends java.lang.Throwable> |
accept(ExpressionVisitor<T,E> visitor)
Accepts visitor.
|
protected java.lang.Object |
basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
java.util.List<TryCatchExpression.Catch> |
getCatches()
Returns the list of catches.
|
Expression |
getExpression()
Returns the expression.
|
java.util.List<Expression> |
getResultExpressions()
Returns the result expression.
|
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, requiresNewNamespace, setCompiled, showInFullText, showInSurroundingText, showInText, toExpressionsgetFullText, getLine, getNodeText, getText, toStringcontains, getBeginIndex, getEndIndex, getLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFullText, getLine, getNodeText, getTextcontains, getBeginIndex, getEndIndex, getLengthpublic TryCatchExpression(ASTInfo info, Expression expression, java.util.Collection<TryCatchExpression.Catch> catches)
info - expression - catches - java.lang.NullPointerException - if fullText or expression or
catchExpressions is nullpublic Expression getExpression()
public java.util.List<TryCatchExpression.Catch> getCatches()
public <T,E extends java.lang.Throwable> T accept(ExpressionVisitor<T,E> visitor) throws E extends java.lang.Throwable
Expressionaccept in class ExpressionEE extends java.lang.Throwableprotected java.lang.Object basicInterpret(Interpreter interpreter, InterpreterStackTrace stackTrace) throws ErrorException
ExpressionbasicInterpret in class ExpressionErrorExceptionpublic java.util.List<Expression> getResultExpressions()
ExpressiongetResultExpressions in class ExpressionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.