Package com.hubspot.jinjava.el.ext
Class AstDict
- 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.AstDict
-
- All Implemented Interfaces:
de.odysseus.el.tree.ExpressionNode
,de.odysseus.el.tree.Node
- Direct Known Subclasses:
EagerAstDict
public class AstDict extends de.odysseus.el.tree.impl.ast.AstLiteral
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendStructure(StringBuilder builder, de.odysseus.el.tree.Bindings bindings)
Object
eval(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)
String
toString()
-
Methods inherited from class de.odysseus.el.tree.impl.ast.AstRightValue
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
-
-
-
-
Field Detail
-
dict
protected final Map<de.odysseus.el.tree.impl.ast.AstNode,de.odysseus.el.tree.impl.ast.AstNode> dict
-
-
Constructor Detail
-
AstDict
public AstDict(Map<de.odysseus.el.tree.impl.ast.AstNode,de.odysseus.el.tree.impl.ast.AstNode> dict)
-
-
Method Detail
-
eval
public Object eval(de.odysseus.el.tree.Bindings bindings, javax.el.ELContext context)
- Specified by:
eval
in classde.odysseus.el.tree.impl.ast.AstNode
-
appendStructure
public void appendStructure(StringBuilder builder, de.odysseus.el.tree.Bindings bindings)
- Specified by:
appendStructure
in classde.odysseus.el.tree.impl.ast.AstNode
-
-