Package com.hubspot.jinjava.el.ext.eager
Class EagerAstRangeBracket
- java.lang.Object
-
- de.odysseus.el.tree.impl.ast.AstNode
-
- de.odysseus.el.tree.impl.ast.AstProperty
-
- de.odysseus.el.tree.impl.ast.AstBracket
-
- com.hubspot.jinjava.el.ext.AstRangeBracket
-
- com.hubspot.jinjava.el.ext.eager.EagerAstRangeBracket
-
- All Implemented Interfaces:
EvalResultHolder
,de.odysseus.el.tree.ExpressionNode
,de.odysseus.el.tree.Node
public class EagerAstRangeBracket extends AstRangeBracket implements EvalResultHolder
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
evalResult
protected boolean
hasEvalResult
-
Fields inherited from class com.hubspot.jinjava.el.ext.AstRangeBracket
rangeMax
-
-
Constructor Summary
Constructors Constructor Description EagerAstRangeBracket(de.odysseus.el.tree.impl.ast.AstNode base, de.odysseus.el.tree.impl.ast.AstNode rangeStart, de.odysseus.el.tree.impl.ast.AstNode rangeMax, boolean lvalue, boolean strict, boolean ignoreReturnType)
-
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, IdentifierPreservationStrategy identifierPreservationStrategy)
boolean
hasEvalResult()
void
setEvalResult(Object evalResult)
-
Methods inherited from class com.hubspot.jinjava.el.ext.AstRangeBracket
toString
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstBracket
appendStructure, getCardinality, getChild, getProperty
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstProperty
findMethod, getMethodInfo, getPrefix, 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
-
-
-
-
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)
- Overrides:
eval
in classAstRangeBracket
-
getPartiallyResolved
public String getPartiallyResolved(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context, DeferredParsingException deferredParsingException, IdentifierPreservationStrategy identifierPreservationStrategy)
- 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
-
-