Package com.schibsted.spt.data.jslt.impl
Class MatcherExpression
java.lang.Object
com.schibsted.spt.data.jslt.impl.AbstractNode
com.schibsted.spt.data.jslt.impl.MatcherExpression
- All Implemented Interfaces:
ExpressionNode
Represents the '* - ... : .'
-
Field Summary
FieldsFields inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
location
-
Constructor Summary
ConstructorsConstructorDescriptionMatcherExpression
(ExpressionNode expr, List<String> minuses, Location location) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
void
computeMatchContexts
(DotExpression parent) void
dump
(int level) optimize()
Methods inherited from class com.schibsted.spt.data.jslt.impl.AbstractNode
getLocation, prepare
-
Field Details
-
minuses
-
expr
-
-
Constructor Details
-
MatcherExpression
-
-
Method Details
-
getMinuses
-
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
-
getChildren
- Specified by:
getChildren
in interfaceExpressionNode
- Overrides:
getChildren
in classAbstractNode
-
dump
public void dump(int level) - Specified by:
dump
in interfaceExpressionNode
- Overrides:
dump
in classAbstractNode
-
optimize
- Specified by:
optimize
in interfaceExpressionNode
- Overrides:
optimize
in classAbstractNode
-