public class IfExpression extends AbstractNode
location| Constructor and Description |
|---|
IfExpression(ExpressionNode test,
LetExpression[] thenlets,
ExpressionNode then,
LetExpression[] elselets,
ExpressionNode orelse,
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 |
optimize() |
void |
prepare(PreparationContext ctx) |
getLocationpublic IfExpression(ExpressionNode test, LetExpression[] thenlets, ExpressionNode then, LetExpression[] elselets, ExpressionNode orelse, Location location)
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 ExpressionNode optimize()
optimize in interface ExpressionNodeoptimize in class AbstractNodepublic void prepare(PreparationContext ctx)
prepare in interface ExpressionNodeprepare in class AbstractNodepublic java.util.List<ExpressionNode> getChildren()
getChildren in interface ExpressionNodegetChildren in class AbstractNodepublic void dump(int level)
dump in interface ExpressionNodedump in class AbstractNode