Package com.schibsted.spt.data.jslt.impl
Class LetExpression
java.lang.Object
com.schibsted.spt.data.jslt.impl.AbstractNode
com.schibsted.spt.data.jslt.impl.LetExpression
- All Implemented Interfaces:
ExpressionNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate VariableInfo
private int
private ExpressionNode
private String
Fields inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
location
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
void
computeMatchContexts
(DotExpression parent) void
dump
(int level) int
getSlot()
optimize()
void
register
(ScopeManager scope) Methods inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
getLocation, prepare
-
Field Details
-
variable
-
value
-
slot
private int slot -
info
-
-
Constructor Details
-
LetExpression
-
-
Method Details
-
getVariable
-
getSlot
public int getSlot() -
apply
public com.fasterxml.jackson.databind.JsonNode apply(Scope scope, com.fasterxml.jackson.databind.JsonNode input) -
computeMatchContexts
- Specified by:
computeMatchContexts
in interfaceExpressionNode
- Overrides:
computeMatchContexts
in classAbstractNode
-
dump
public void dump(int level) - Specified by:
dump
in interfaceExpressionNode
- Overrides:
dump
in classAbstractNode
-
getChildren
- Specified by:
getChildren
in interfaceExpressionNode
- Overrides:
getChildren
in classAbstractNode
-
optimize
- Specified by:
optimize
in interfaceExpressionNode
- Overrides:
optimize
in classAbstractNode
-
register
-
getDeclaration
-