Uses of Class
com.schibsted.spt.data.jslt.impl.LetExpression
-
Packages that use LetExpression 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 LetExpression in com.schibsted.spt.data.jslt.impl
Fields in com.schibsted.spt.data.jslt.impl declared as LetExpression Modifier and Type Field Description private LetExpression[]IfExpression. elseletsprivate LetExpressionLetInfo. letprivate LetExpression[]ExpressionImpl. letsprivate LetExpression[]ForExpression. letsprivate LetExpression[]FunctionDeclaration. letsprivate LetExpression[]ObjectComprehension. letsprivate LetExpression[]ObjectExpression. letsprivate LetExpression[]IfExpression. thenletsMethods in com.schibsted.spt.data.jslt.impl that return LetExpression Modifier and Type Method Description static LetExpression[]OptimizeUtils. optimizeLets(LetExpression[] lets)Removes let expressions for variables that are simply assigned to literals, because VariableExpression will inline those literals and remove itself, so there's no need to evaluate the variable.Methods in com.schibsted.spt.data.jslt.impl with parameters of type LetExpression Modifier and Type Method Description static voidNodeUtils. evalLets(Scope scope, com.fasterxml.jackson.databind.JsonNode input, LetExpression[] lets)static LetExpression[]OptimizeUtils. optimizeLets(LetExpression[] lets)Removes let expressions for variables that are simply assigned to literals, because VariableExpression will inline those literals and remove itself, so there's no need to evaluate the variable.VariableInfoScopeManager. registerVariable(LetExpression let)Registers a variable.Constructors in com.schibsted.spt.data.jslt.impl with parameters of type LetExpression Constructor Description ExpressionImpl(LetExpression[] lets, java.util.Map<java.lang.String,Function> functions, ExpressionNode actual)ForExpression(ExpressionNode valueExpr, LetExpression[] lets, ExpressionNode loopExpr, ExpressionNode ifExpr, Location location)FunctionDeclaration(java.lang.String name, java.lang.String[] parameters, LetExpression[] lets, ExpressionNode body)IfExpression(ExpressionNode test, LetExpression[] thenlets, ExpressionNode then, LetExpression[] elselets, ExpressionNode orelse, Location location)LetInfo(LetExpression let)ObjectComprehension(ExpressionNode loop, LetExpression[] lets, ExpressionNode key, ExpressionNode value, ExpressionNode ifExpr, Location location, JsonFilter filter)ObjectExpression(LetExpression[] lets, PairExpression[] children, MatcherExpression matcher, Location location, JsonFilter filter) -
Uses of LetExpression in com.schibsted.spt.data.jslt.parser
Methods in com.schibsted.spt.data.jslt.parser that return LetExpression Modifier and Type Method Description private static LetExpression[]ParserImpl. buildLets(ParseContext ctx, SimpleNode parent)
-