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