Package com.hubspot.jinjava.el.ext.eager
Class EagerAstList
- java.lang.Object
-
- de.odysseus.el.tree.impl.ast.AstNode
-
- de.odysseus.el.tree.impl.ast.AstRightValue
-
- de.odysseus.el.tree.impl.ast.AstLiteral
-
- com.hubspot.jinjava.el.ext.AstList
-
- com.hubspot.jinjava.el.ext.eager.EagerAstList
-
- All Implemented Interfaces:
EvalResultHolder
,de.odysseus.el.tree.ExpressionNode
,de.odysseus.el.tree.Node
public class EagerAstList extends AstList implements EvalResultHolder
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
evalResult
protected boolean
hasEvalResult
-
Constructor Summary
Constructors Constructor Description EagerAstList(de.odysseus.el.tree.impl.ast.AstParameters elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eval(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)
Object
getAndClearEvalResult()
boolean
hasEvalResult()
-
Methods inherited from class com.hubspot.jinjava.el.ext.AstList
appendStructure, elementsToString, toString
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
-
-
-
Field Detail
-
evalResult
protected Object evalResult
-
hasEvalResult
protected boolean hasEvalResult
-
-
Method Detail
-
eval
public Object eval(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)
- Specified by:
eval
in interfaceEvalResultHolder
- Overrides:
eval
in classAstList
-
getAndClearEvalResult
public Object getAndClearEvalResult()
- Specified by:
getAndClearEvalResult
in interfaceEvalResultHolder
-
hasEvalResult
public boolean hasEvalResult()
- Specified by:
hasEvalResult
in interfaceEvalResultHolder
-
-