Uses of Interface
com.schibsted.spt.data.jslt.impl.ExpressionNode
-
Packages that use ExpressionNode Package Description com.schibsted.spt.data.jslt.impl This package contains implementation-internal interfaces and classes.com.schibsted.spt.data.jslt.parser The implementation of the JSLT parser. -
-
Uses of ExpressionNode in com.schibsted.spt.data.jslt.impl
Classes in com.schibsted.spt.data.jslt.impl that implement ExpressionNode Modifier and Type Class Description class
AbstractInvocationExpression
Common superclass for function and macro expressions, to avoid having to repeat so much code.class
AbstractNode
class
AbstractOperator
Shared abstract superclass for comparison operators and others.class
AndOperator
class
ArrayExpression
class
ArraySlicer
Indexing and slicing of arrays and also strings.class
BiggerComparison
class
BiggerOrEqualComparison
class
ComparisonOperator
class
DivideOperator
class
DotExpression
class
EqualsComparison
class
FailDotExpression
These expression cannot be generated in the syntax, but are used to mark that an object matcher (* : .) is being used inside an array, which is not allowed.class
ForExpression
class
FunctionDeclaration
class
FunctionExpression
class
IfExpression
class
LetExpression
class
LiteralExpression
class
MacroExpression
class
MatcherExpression
Represents the '* - ...class
MinusOperator
class
MultiplyOperator
class
NumericOperator
class
ObjectComprehension
class
ObjectExpression
class
OrOperator
class
PairExpression
Represents a ("key" : expr) pair inside a JSON object.class
PipeOperator
class
PlusOperator
class
SmallerComparison
class
SmallerOrEqualsComparison
class
UnequalsComparison
class
VariableExpression
Fields in com.schibsted.spt.data.jslt.impl declared as ExpressionNode Modifier and Type Field Description private ExpressionNode
ExpressionImpl. actual
protected ExpressionNode[]
AbstractInvocationExpression. arguments
private ExpressionNode
FunctionDeclaration. body
private ExpressionNode[]
ArrayExpression. children
private ExpressionNode
MatcherExpression. expr
private ExpressionNode
ForExpression. ifExpr
private ExpressionNode
ObjectComprehension. ifExpr
private ExpressionNode
ObjectComprehension. key
private ExpressionNode
PairExpression. key
protected ExpressionNode
AbstractOperator. left
private ExpressionNode
ArraySlicer. left
private ExpressionNode
ObjectComprehension. loop
private ExpressionNode
ForExpression. loopExpr
private ExpressionNode
IfExpression. orelse
private ExpressionNode
ArraySlicer. parent
private ExpressionNode
DotExpression. parent
protected ExpressionNode
AbstractOperator. right
private ExpressionNode
ArraySlicer. right
private ExpressionNode
IfExpression. test
private ExpressionNode
IfExpression. then
private ExpressionNode
LetExpression. value
private ExpressionNode
ObjectComprehension. value
private ExpressionNode
PairExpression. value
private ExpressionNode
ForExpression. valueExpr
Methods in com.schibsted.spt.data.jslt.impl that return ExpressionNode Modifier and Type Method Description ExpressionNode
LetExpression. getDeclaration()
ExpressionNode
LetInfo. getDeclaration()
ExpressionNode
VariableInfo. getDeclaration()
The expression that computes this variable's value.ExpressionNode
AbstractOperator. getLeft()
ExpressionNode
AbstractOperator. getRight()
ExpressionNode
AbstractInvocationExpression. optimize()
ExpressionNode
AbstractNode. optimize()
ExpressionNode
AbstractOperator. optimize()
ExpressionNode
ArrayExpression. optimize()
ExpressionNode
ArraySlicer. optimize()
ExpressionNode
DotExpression. optimize()
ExpressionNode
ExpressionNode. optimize()
ExpressionNode
ForExpression. optimize()
ExpressionNode
FunctionDeclaration. optimize()
ExpressionNode
FunctionExpression. optimize()
ExpressionNode
IfExpression. optimize()
ExpressionNode
LetExpression. optimize()
ExpressionNode
MatcherExpression. optimize()
ExpressionNode
ObjectComprehension. optimize()
ExpressionNode
ObjectExpression. optimize()
ExpressionNode
PairExpression. optimize()
ExpressionNode
VariableExpression. optimize()
Methods in com.schibsted.spt.data.jslt.impl that return types with arguments of type ExpressionNode Modifier and Type Method Description java.util.List<ExpressionNode>
AbstractInvocationExpression. getChildren()
java.util.List<ExpressionNode>
AbstractNode. getChildren()
java.util.List<ExpressionNode>
AbstractOperator. getChildren()
java.util.List<ExpressionNode>
ArrayExpression. getChildren()
java.util.List<ExpressionNode>
ArraySlicer. getChildren()
java.util.List<ExpressionNode>
DotExpression. getChildren()
java.util.List<ExpressionNode>
ExpressionImpl. getChildren()
java.util.List<ExpressionNode>
ExpressionNode. getChildren()
java.util.List<ExpressionNode>
ForExpression. getChildren()
java.util.List<ExpressionNode>
IfExpression. getChildren()
java.util.List<ExpressionNode>
LetExpression. getChildren()
java.util.List<ExpressionNode>
MatcherExpression. getChildren()
java.util.List<ExpressionNode>
ObjectComprehension. getChildren()
java.util.List<ExpressionNode>
ObjectExpression. getChildren()
java.util.List<ExpressionNode>
PairExpression. getChildren()
Methods in com.schibsted.spt.data.jslt.impl with parameters of type ExpressionNode Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
BuiltinFunctions.Fallback. call(Scope scope, com.fasterxml.jackson.databind.JsonNode input, ExpressionNode[] parameters)
com.fasterxml.jackson.databind.JsonNode
ExperimentalModule.GroupBy. call(Scope scope, com.fasterxml.jackson.databind.JsonNode input, ExpressionNode[] parameters)
com.fasterxml.jackson.databind.JsonNode
Macro. call(Scope scope, com.fasterxml.jackson.databind.JsonNode input, ExpressionNode[] parameters)
Invokes the macro, which can then modify the input node and evaluate the parameters as needed.private int
ArraySlicer. resolveIndex(Scope scope, ExpressionNode expr, com.fasterxml.jackson.databind.JsonNode input, int size, int ifnull)
-
Uses of ExpressionNode in com.schibsted.spt.data.jslt.parser
Methods in com.schibsted.spt.data.jslt.parser with parameters of type ExpressionNode Modifier and Type Method Description private static ExpressionNode
ParserImpl. buildArraySlicer(ParseContext ctx, SimpleNode node, ExpressionNode parent)
private static ExpressionNode
ParserImpl. buildChainLink(ParseContext ctx, SimpleNode node, ExpressionNode parent)
private static ExpressionNode
ParserImpl. buildDotChain(ParseContext ctx, SimpleNode chainLink, ExpressionNode parent)
-