Modifier and Type | Class and Description |
---|---|
static class |
ForExpressionNode.BigDecimalRangeIterator |
static class |
ForExpressionNode.ForIteration |
EMPTY_CHILDREN
Constructor and Description |
---|
ForExpressionNode(org.antlr.v4.runtime.ParserRuleContext ctx,
ListNode iterationContexts,
BaseNode expression) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(EvaluationContext ctx) |
ASTNode[] |
getChildrenNode() |
BaseNode |
getExpression() |
List<IterationContextNode> |
getIterationContexts() |
Type |
getResultType() |
static boolean |
nextIteration(EvaluationContext ctx,
ForExpressionNode.ForIteration[] ictx) |
void |
setExpression(BaseNode expression) |
void |
setIterationContexts(List<IterationContextNode> iterationContexts) |
static void |
setValueIntoContext(EvaluationContext ctx,
ForExpressionNode.ForIteration forIteration) |
astEvent, astEvent, getEndChar, getEndColumn, getEndLine, getStartChar, getStartColumn, getStartLine, getText, setEndChar, setEndColumn, setEndLine, setStartChar, setStartColumn, setStartLine, setText, toString
public List<IterationContextNode> getIterationContexts()
public void setIterationContexts(List<IterationContextNode> iterationContexts)
public BaseNode getExpression()
public void setExpression(BaseNode expression)
public Object evaluate(EvaluationContext ctx)
public static boolean nextIteration(EvaluationContext ctx, ForExpressionNode.ForIteration[] ictx)
public static void setValueIntoContext(EvaluationContext ctx, ForExpressionNode.ForIteration forIteration)
public Type getResultType()
getResultType
in interface ASTNode
getResultType
in class BaseNode
public ASTNode[] getChildrenNode()
getChildrenNode
in interface ASTNode
getChildrenNode
in class BaseNode
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.