public class PairExpression extends AbstractNode
location| Constructor and Description |
|---|
PairExpression(ExpressionNode key,
ExpressionNode value,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
apply(Scope scope,
com.fasterxml.jackson.databind.JsonNode input) |
java.lang.String |
applyKey(Scope scope,
com.fasterxml.jackson.databind.JsonNode input) |
void |
computeMatchContexts(DotExpression parent) |
void |
dump(int level) |
java.util.List<ExpressionNode> |
getChildren() |
java.lang.String |
getStaticKey() |
boolean |
isKeyLiteral() |
boolean |
isLiteral() |
ExpressionNode |
optimize() |
getLocation, preparepublic PairExpression(ExpressionNode key, ExpressionNode value, Location location)
public java.lang.String applyKey(Scope scope, com.fasterxml.jackson.databind.JsonNode input)
public java.lang.String getStaticKey()
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 boolean isLiteral()
public boolean isKeyLiteral()
public ExpressionNode optimize()
optimize in interface ExpressionNodeoptimize 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