public class LetExpression extends AbstractNode
location| Constructor and Description |
|---|
LetExpression(java.lang.String variable,
ExpressionNode value,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
apply(Scope scope,
com.fasterxml.jackson.databind.JsonNode input) |
void |
computeMatchContexts(DotExpression parent) |
void |
dump(int level) |
java.util.List<ExpressionNode> |
getChildren() |
ExpressionNode |
getDeclaration() |
int |
getSlot() |
java.lang.String |
getVariable() |
ExpressionNode |
optimize() |
void |
register(ScopeManager scope) |
getLocation, preparepublic LetExpression(java.lang.String variable,
ExpressionNode value,
Location location)
public java.lang.String getVariable()
public int getSlot()
public com.fasterxml.jackson.databind.JsonNode apply(Scope scope, com.fasterxml.jackson.databind.JsonNode input)
public void computeMatchContexts(DotExpression parent)
computeMatchContexts in interface ExpressionNodecomputeMatchContexts in class AbstractNodepublic void dump(int level)
dump in interface ExpressionNodedump in class AbstractNodepublic java.util.List<ExpressionNode> getChildren()
getChildren in interface ExpressionNodegetChildren in class AbstractNodepublic ExpressionNode optimize()
optimize in interface ExpressionNodeoptimize in class AbstractNodepublic void register(ScopeManager scope)
public ExpressionNode getDeclaration()