public final class ForExpression extends Expression
| Constructor and Description |
|---|
ForExpression(ASTInfo info,
Expression init,
Expression condition,
Expression update,
Expression body)
Constructs a new "for" expression.
|
| 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.
|
Expression |
getBody() |
Expression |
getCondition() |
Expression |
getInit() |
Expression |
getUpdate() |
boolean |
requiresNewNamespace() |
createANTLRParser, doInterpret, evalCondition, evaluateToExpressions, executeCompiled, getCompiled, getDebugLine, getIdentifierAst, getParseTimeConstant, getPrimaryRange, getPropertySelectorRange, getRange, getResultExpression, getResultExpressions, getType, interpret, interpretInCurrentNamespace, isCreatingNonModuleContextObjects, isParseTimeConstant, 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 ForExpression(ASTInfo info, Expression init, Expression condition, Expression update, Expression body)
info - init - condition - update - body - public boolean requiresNewNamespace()
requiresNewNamespace in class Expressiontrue if the interpretation requires a new namespacepublic Expression getInit()
public Expression getCondition()
public Expression getUpdate()
public Expression getBody()
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 ExpressionErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.