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 classAbstractInvocationExpressionCommon superclass for function and macro expressions, to avoid having to repeat so much code.classAbstractNodeclassAbstractOperatorShared abstract superclass for comparison operators and others.classAndOperatorclassArrayExpressionclassArraySlicerIndexing and slicing of arrays and also strings.classBiggerComparisonclassBiggerOrEqualComparisonclassComparisonOperatorclassDivideOperatorclassDotExpressionclassEqualsComparisonclassFailDotExpressionThese 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.classForExpressionclassFunctionDeclarationclassFunctionExpressionclassIfExpressionclassLetExpressionclassLiteralExpressionclassMacroExpressionclassMatcherExpressionRepresents the '* - ...classMinusOperatorclassMultiplyOperatorclassNumericOperatorclassObjectComprehensionclassObjectExpressionclassOrOperatorclassPairExpressionRepresents a ("key" : expr) pair inside a JSON object.classPipeOperatorclassPlusOperatorclassSmallerComparisonclassSmallerOrEqualsComparisonclassUnequalsComparisonclassVariableExpressionFields in com.schibsted.spt.data.jslt.impl declared as ExpressionNode Modifier and Type Field Description private ExpressionNodeExpressionImpl. actualprotected ExpressionNode[]AbstractInvocationExpression. argumentsprivate ExpressionNodeFunctionDeclaration. bodyprivate ExpressionNode[]ArrayExpression. childrenprivate ExpressionNodeMatcherExpression. exprprivate ExpressionNodeForExpression. ifExprprivate ExpressionNodeObjectComprehension. ifExprprivate ExpressionNodeObjectComprehension. keyprivate ExpressionNodePairExpression. keyprotected ExpressionNodeAbstractOperator. leftprivate ExpressionNodeArraySlicer. leftprivate ExpressionNodeObjectComprehension. loopprivate ExpressionNodeForExpression. loopExprprivate ExpressionNodeIfExpression. orelseprivate ExpressionNodeArraySlicer. parentprivate ExpressionNodeDotExpression. parentprotected ExpressionNodeAbstractOperator. rightprivate ExpressionNodeArraySlicer. rightprivate ExpressionNodeIfExpression. testprivate ExpressionNodeIfExpression. thenprivate ExpressionNodeLetExpression. valueprivate ExpressionNodeObjectComprehension. valueprivate ExpressionNodePairExpression. valueprivate ExpressionNodeForExpression. valueExprMethods in com.schibsted.spt.data.jslt.impl that return ExpressionNode Modifier and Type Method Description ExpressionNodeLetExpression. getDeclaration()ExpressionNodeLetInfo. getDeclaration()ExpressionNodeVariableInfo. getDeclaration()The expression that computes this variable's value.ExpressionNodeAbstractOperator. getLeft()ExpressionNodeAbstractOperator. getRight()ExpressionNodeAbstractInvocationExpression. optimize()ExpressionNodeAbstractNode. optimize()ExpressionNodeAbstractOperator. optimize()ExpressionNodeArrayExpression. optimize()ExpressionNodeArraySlicer. optimize()ExpressionNodeDotExpression. optimize()ExpressionNodeExpressionNode. optimize()ExpressionNodeForExpression. optimize()ExpressionNodeFunctionDeclaration. optimize()ExpressionNodeFunctionExpression. optimize()ExpressionNodeIfExpression. optimize()ExpressionNodeLetExpression. optimize()ExpressionNodeMatcherExpression. optimize()ExpressionNodeObjectComprehension. optimize()ExpressionNodeObjectExpression. optimize()ExpressionNodePairExpression. optimize()ExpressionNodeVariableExpression. 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.JsonNodeBuiltinFunctions.Fallback. call(Scope scope, com.fasterxml.jackson.databind.JsonNode input, ExpressionNode[] parameters)com.fasterxml.jackson.databind.JsonNodeExperimentalModule.GroupBy. call(Scope scope, com.fasterxml.jackson.databind.JsonNode input, ExpressionNode[] parameters)com.fasterxml.jackson.databind.JsonNodeMacro. 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 intArraySlicer. 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 ExpressionNodeParserImpl. buildArraySlicer(ParseContext ctx, SimpleNode node, ExpressionNode parent)private static ExpressionNodeParserImpl. buildChainLink(ParseContext ctx, SimpleNode node, ExpressionNode parent)private static ExpressionNodeParserImpl. buildDotChain(ParseContext ctx, SimpleNode chainLink, ExpressionNode parent)
-