Package com.hubspot.jinjava.el.ext.eager
Class EagerAstParameters
- java.lang.Object
-
- de.odysseus.el.tree.impl.ast.AstNode
-
- de.odysseus.el.tree.impl.ast.AstRightValue
-
- de.odysseus.el.tree.impl.ast.AstParameters
-
- com.hubspot.jinjava.el.ext.eager.EagerAstParameters
-
- All Implemented Interfaces:
EvalResultHolder
,de.odysseus.el.tree.ExpressionNode
,de.odysseus.el.tree.Node
public class EagerAstParameters extends de.odysseus.el.tree.impl.ast.AstParameters implements EvalResultHolder
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
evalResult
protected boolean
hasEvalResult
protected List<de.odysseus.el.tree.impl.ast.AstNode>
nodes
-
Constructor Summary
Constructors Constructor Description EagerAstParameters(List<de.odysseus.el.tree.impl.ast.AstNode> nodes)
-
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
getEvalResult()
String
getPartiallyResolved(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context, DeferredParsingException deferredParsingException, boolean preserveIdentifier)
boolean
hasEvalResult()
void
setEvalResult(Object evalResult)
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstParameters
appendStructure, getCardinality, getChild, toString
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstNode
findAccessibleMethod, getStructuralId, getValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.hubspot.jinjava.el.ext.eager.EvalResultHolder
checkEvalResultSize, eval
-
-
-
-
Constructor Detail
-
EagerAstParameters
public EagerAstParameters(List<de.odysseus.el.tree.impl.ast.AstNode> nodes)
-
-
Method Detail
-
eval
public Object[] eval(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)
- Overrides:
eval
in classde.odysseus.el.tree.impl.ast.AstParameters
-
getPartiallyResolved
public String getPartiallyResolved(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context, DeferredParsingException deferredParsingException, boolean preserveIdentifier)
- Specified by:
getPartiallyResolved
in interfaceEvalResultHolder
-
getEvalResult
public Object getEvalResult()
- Specified by:
getEvalResult
in interfaceEvalResultHolder
-
setEvalResult
public void setEvalResult(Object evalResult)
- Specified by:
setEvalResult
in interfaceEvalResultHolder
-
hasEvalResult
public boolean hasEvalResult()
- Specified by:
hasEvalResult
in interfaceEvalResultHolder
-
-