Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractCallable - Class in com.schibsted.spt.data.jslt.impl
 
AbstractCallable(String, int, int) - Constructor for class com.schibsted.spt.data.jslt.impl.AbstractCallable
 
AbstractFunction - Class in com.schibsted.spt.data.jslt.impl
 
AbstractFunction(String, int, int) - Constructor for class com.schibsted.spt.data.jslt.impl.AbstractFunction
 
AbstractInvocationExpression - Class in com.schibsted.spt.data.jslt.impl
Common superclass for function and macro expressions, to avoid having to repeat so much code.
AbstractInvocationExpression(ExpressionNode[], Location) - Constructor for class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
AbstractNode - Class in com.schibsted.spt.data.jslt.impl
 
AbstractNode(Location) - Constructor for class com.schibsted.spt.data.jslt.impl.AbstractNode
 
AbstractOperator - Class in com.schibsted.spt.data.jslt.impl
Shared abstract superclass for comparison operators and others.
AbstractOperator(ExpressionNode, ExpressionNode, String, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
addDeclaredFunction(String, Function) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
All() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.All
 
AndOperator - Class in com.schibsted.spt.data.jslt.impl
 
AndOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.AndOperator
 
Any() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Any
 
apply(JsonNode) - Method in interface com.schibsted.spt.data.jslt.Expression
Evaluate the expression on the given JSON input.
apply(Map<String, JsonNode>, JsonNode) - Method in interface com.schibsted.spt.data.jslt.Expression
Evaluate the expression on the given JSON input, with the given predefined variables set.
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.AndOperator
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ArraySlicer
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
apply(Map<String, JsonNode>, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
apply(JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
apply(Scope, JsonNode) - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.FunctionExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.LiteralExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.MacroExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.OrOperator
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.PipeOperator
 
apply(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 
arguments - Variable in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
Array() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Array
 
ArrayExpression - Class in com.schibsted.spt.data.jslt.impl
 
ArrayExpression(ExpressionNode[], Location) - Constructor for class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
ArraySlicer - Class in com.schibsted.spt.data.jslt.impl
Indexing and slicing of arrays and also strings.
ArraySlicer(ExpressionNode, boolean, ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.ArraySlicer
 

B

BiggerComparison - Class in com.schibsted.spt.data.jslt.impl
 
BiggerComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.BiggerComparison
 
BiggerOrEqualComparison - Class in com.schibsted.spt.data.jslt.impl
 
BiggerOrEqualComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.BiggerOrEqualComparison
 
Boolean() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Boolean
 
BoundedCache<K,V> - Class in com.schibsted.spt.data.jslt.impl
A Map implementation that deletes the oldest entry once the size goes over a preset limit.
BoundedCache(int) - Constructor for class com.schibsted.spt.data.jslt.impl.BoundedCache
 
BuiltinFunctions - Class in com.schibsted.spt.data.jslt.impl
For now contains all the various function implementations.
BuiltinFunctions() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions
 
BuiltinFunctions.All - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Any - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Array - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Boolean - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Capture - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Ceiling - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Contains - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.EndsWith - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Error - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Fallback - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Flatten - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Floor - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.FormatTime - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.FromJson - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.GetKey - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.HashInt - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsArray - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsBoolean - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsDecimal - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsInteger - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsNumber - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsObject - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.IsString - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Join - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Lowercase - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Max - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Min - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Modulo - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Not - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Now - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Number - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.ParseTime - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.ParseUrl - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Random - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Replace - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Round - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Sha256 - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Size - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Split - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.StartsWith - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Sum - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Test - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.ToJson - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.ToString - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Trim - Class in com.schibsted.spt.data.jslt.impl
 
BuiltinFunctions.Uppercase - Class in com.schibsted.spt.data.jslt.impl
 

C

call(JsonNode, JsonNode[]) - Method in interface com.schibsted.spt.data.jslt.Function
Perform the function on the given JSON input with the given arguments.
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.All
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Any
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Array
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Boolean
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Capture
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Ceiling
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Contains
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.EndsWith
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Error
 
call(Scope, JsonNode, ExpressionNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Fallback
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Flatten
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Floor
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.FormatTime
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.FromJson
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.GetKey
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.HashInt
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsArray
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsBoolean
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsDecimal
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsInteger
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsNumber
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsObject
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsString
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Join
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Lowercase
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Max
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Min
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Modulo
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Not
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Now
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Number
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ParseTime
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ParseUrl
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Random
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Replace
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Round
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Sha256
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Size
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Split
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.StartsWith
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Sum
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Test
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ToJson
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ToString
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Trim
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Uppercase
 
call(Scope, JsonNode, ExpressionNode[]) - Method in class com.schibsted.spt.data.jslt.impl.ExperimentalModule.GroupBy
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
call(Scope, JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.FunctionWrapper
 
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
call(Scope, JsonNode, ExpressionNode[]) - Method in interface com.schibsted.spt.data.jslt.impl.Macro
Invokes the macro, which can then modify the input node and evaluate the parameters as needed.
call(JsonNode, JsonNode[]) - Method in class com.schibsted.spt.data.jslt.impl.OptimizedStaticContainsFunction
 
Callable - Interface in com.schibsted.spt.data.jslt
Common interface for macros and functions.
Capture() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Capture
 
Ceiling() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Ceiling
 
checkOk(Location) - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
checkOk(Location) - Method in class com.schibsted.spt.data.jslt.impl.FailDotExpression
 
ClasspathResourceResolver - Class in com.schibsted.spt.data.jslt.impl
 
ClasspathResourceResolver() - Constructor for class com.schibsted.spt.data.jslt.impl.ClasspathResourceResolver
 
ClasspathResourceResolver(Charset) - Constructor for class com.schibsted.spt.data.jslt.impl.ClasspathResourceResolver
 
com.schibsted.spt.data.jslt - package com.schibsted.spt.data.jslt
The public API to the JSLT processor.
com.schibsted.spt.data.jslt.cli - package com.schibsted.spt.data.jslt.cli
The JSLT command-line interface.
com.schibsted.spt.data.jslt.filters - package com.schibsted.spt.data.jslt.filters
Interfaces and classes for filtering which key/value pairs are preserved in JSON objects as output from JSLT.
com.schibsted.spt.data.jslt.impl - package com.schibsted.spt.data.jslt.impl
This package contains implementation-internal interfaces and classes.
com.schibsted.spt.data.jslt.impl.lambda - package com.schibsted.spt.data.jslt.impl.lambda
Amazon Lambda function for the JSLT online demo.
com.schibsted.spt.data.jslt.parser - package com.schibsted.spt.data.jslt.parser
The implementation of the JSLT parser.
compare(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ComparisonOperator
 
compare(JsonNode, JsonNode, Location) - Static method in class com.schibsted.spt.data.jslt.impl.ComparisonOperator
 
ComparisonOperator - Class in com.schibsted.spt.data.jslt.impl
 
ComparisonOperator(ExpressionNode, ExpressionNode, String, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.ComparisonOperator
 
compile(File) - Static method in class com.schibsted.spt.data.jslt.Parser
Compile the given JSLT file.
compile(File, Collection<Function>) - Static method in class com.schibsted.spt.data.jslt.Parser
Compile the given JSLT file with the given predefined functions.
compile(String, Reader, Collection<Function>) - Static method in class com.schibsted.spt.data.jslt.Parser
Compile JSLT expression from the Reader.
compile() - Method in class com.schibsted.spt.data.jslt.Parser
Compile the JSLT from the defined parameters.
compileExpression(ParseContext, JsltParser) - Static method in class com.schibsted.spt.data.jslt.parser.ParserImpl
 
compileResource(String) - Static method in class com.schibsted.spt.data.jslt.Parser
Load and compile JSLT expression from the classpath.
compileResource(String, Collection<Function>) - Static method in class com.schibsted.spt.data.jslt.Parser
Load and compile JSLT expression from the classpath with the given extension functions.
compileString(String) - Static method in class com.schibsted.spt.data.jslt.Parser
Compile JSLT expression given as an inline string.
compileString(String, Collection<Function>) - Static method in class com.schibsted.spt.data.jslt.Parser
Compile JSLT expression given as an inline string with the given extension functions.
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
computeMatchContexts(DotExpression) - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
computeMatchContexts(DotExpression) - Method in class com.schibsted.spt.data.jslt.impl.PipeOperator
 
Contains() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Contains
 
convertObjectToArray(JsonNode) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 

D

DefaultJsonFilter - Class in com.schibsted.spt.data.jslt.filters
The filter that JSLT uses by default.
DefaultJsonFilter() - Constructor for class com.schibsted.spt.data.jslt.filters.DefaultJsonFilter
 
DivideOperator - Class in com.schibsted.spt.data.jslt.impl
 
DivideOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.DivideOperator
 
DotExpression - Class in com.schibsted.spt.data.jslt.impl
 
DotExpression(Location) - Constructor for class com.schibsted.spt.data.jslt.impl.DotExpression
 
DotExpression(String, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.DotExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.ArraySlicer
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
dump() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
dump(int) - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.LiteralExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
dump(int) - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 

E

EndsWith() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.EndsWith
 
enterFunction(int) - Method in class com.schibsted.spt.data.jslt.impl.Scope
 
enterFunction() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
Called when we enter a new function.
enterScope() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
Called when we enter a new lexical scope in which variables can be declared, hiding those declared further out.
EqualsComparison - Class in com.schibsted.spt.data.jslt.impl
 
EqualsComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.EqualsComparison
 
Error() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Error
 
evalLets(Scope, JsonNode, LetExpression[]) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
evaluateLetsOnly(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
This is used to initialize global variables when the ExpressionImpl is a module.
evaluateLetsOnly(Scope, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
ExperimentalModule - Class in com.schibsted.spt.data.jslt.impl
A module containing functions and macros that *may* be officially added to JSLT in the future.
ExperimentalModule() - Constructor for class com.schibsted.spt.data.jslt.impl.ExperimentalModule
 
ExperimentalModule.GroupBy - Class in com.schibsted.spt.data.jslt.impl
 
Expression - Interface in com.schibsted.spt.data.jslt
Represents a compiled JSLT expression.
ExpressionImpl - Class in com.schibsted.spt.data.jslt.impl
Wrapper class that translates an external Expression to an ExpressionNode.
ExpressionImpl(LetExpression[], Map<String, Function>, ExpressionNode) - Constructor for class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
ExpressionNode - Interface in com.schibsted.spt.data.jslt.impl
Internal interface for the parts of a compiled JSLT expression.

F

FailDotExpression - Class in com.schibsted.spt.data.jslt.impl
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.
FailDotExpression(Location, String) - Constructor for class com.schibsted.spt.data.jslt.impl.FailDotExpression
 
Fallback() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Fallback
 
FileSystemResourceResolver - Class in com.schibsted.spt.data.jslt.impl
 
FileSystemResourceResolver(File, Charset) - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
FileSystemResourceResolver(File) - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
FileSystemResourceResolver(Path, Charset) - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
FileSystemResourceResolver(Path) - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
FileSystemResourceResolver(Charset) - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
FileSystemResourceResolver() - Constructor for class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
filter(JsonNode) - Method in class com.schibsted.spt.data.jslt.filters.DefaultJsonFilter
Whether or not to accept this value.
filter(JsonNode) - Method in class com.schibsted.spt.data.jslt.filters.JsltJsonFilter
Whether or not to accept this value.
filter(JsonNode) - Method in interface com.schibsted.spt.data.jslt.filters.JsonFilter
Whether or not to accept this value.
filter(JsonNode) - Method in class com.schibsted.spt.data.jslt.filters.TrueJsonFilter
Accept this value.
Flatten() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Flatten
 
Floor() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Floor
 
ForExpression - Class in com.schibsted.spt.data.jslt.impl
 
ForExpression(ExpressionNode, LetExpression[], ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.ForExpression
 
FormatTime() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.FormatTime
 
FromJson() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.FromJson
 
Function - Interface in com.schibsted.spt.data.jslt
Interface for function implementations.
FunctionDeclaration - Class in com.schibsted.spt.data.jslt.impl
 
FunctionDeclaration(String, String[], LetExpression[], ExpressionNode) - Constructor for class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
FunctionExpression - Class in com.schibsted.spt.data.jslt.impl
 
FunctionExpression(String, ExpressionNode[], Location) - Constructor for class com.schibsted.spt.data.jslt.impl.FunctionExpression
 
functions - Static variable in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions
 
FunctionUtils - Class in com.schibsted.spt.data.jslt
Useful methods for working with Functions.
FunctionUtils() - Constructor for class com.schibsted.spt.data.jslt.FunctionUtils
 
FunctionWrapper - Class in com.schibsted.spt.data.jslt.impl
 
FunctionWrapper(String, Method) - Constructor for class com.schibsted.spt.data.jslt.impl.FunctionWrapper
 

G

getCallable(String) - Method in class com.schibsted.spt.data.jslt.impl.ExperimentalModule
 
getCallable(String) - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
getCallable(String) - Method in class com.schibsted.spt.data.jslt.impl.ModuleImpl
 
getCallable(String) - Method in interface com.schibsted.spt.data.jslt.Module
Returns the function with the given name.
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ArraySlicer
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
getChildren() - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
getChildren() - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
getColumn() - Method in class com.schibsted.spt.data.jslt.impl.Location
 
getColumn() - Method in exception com.schibsted.spt.data.jslt.JsltException
What column did the error occur on? -1 if unknown.
getDeclaration() - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
getDeclaration() - Method in class com.schibsted.spt.data.jslt.impl.LetInfo
 
getDeclaration() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
The expression that computes this variable's value.
getDeclaredFunctions() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getExtensions() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getFiles() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getFunction(String) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
getFunction(String) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getFunctionName() - Method in class com.schibsted.spt.data.jslt.impl.FunctionExpression
 
getImportedCallable(String, String, Location) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
GetKey() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.GetKey
 
getKey() - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
getLine() - Method in class com.schibsted.spt.data.jslt.impl.Location
 
getLine() - Method in exception com.schibsted.spt.data.jslt.JsltException
What line did the error occur on? -1 if unknown.
getLocation() - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
getLocation() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
getMacro(String) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getMaxArguments() - Method in interface com.schibsted.spt.data.jslt.Callable
 
getMaxArguments() - Method in interface com.schibsted.spt.data.jslt.Function
The maximum number of arguments allowed.
getMaxArguments() - Method in class com.schibsted.spt.data.jslt.impl.AbstractCallable
 
getMaxArguments() - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
getMaxArguments() - Method in class com.schibsted.spt.data.jslt.impl.FunctionWrapper
 
getMaxArguments() - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
getMessage() - Method in exception com.schibsted.spt.data.jslt.JsltException
Returns the error message with location information.
getMessageWithoutLocation() - Method in exception com.schibsted.spt.data.jslt.JsltException
Returns the error message without location information.
getMinArguments() - Method in interface com.schibsted.spt.data.jslt.Callable
 
getMinArguments() - Method in interface com.schibsted.spt.data.jslt.Function
The minimum number of arguments allowed.
getMinArguments() - Method in class com.schibsted.spt.data.jslt.impl.AbstractCallable
 
getMinArguments() - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
getMinArguments() - Method in class com.schibsted.spt.data.jslt.impl.FunctionWrapper
 
getMinArguments() - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
getMinuses() - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
getName() - Method in interface com.schibsted.spt.data.jslt.Callable
 
getName() - Method in interface com.schibsted.spt.data.jslt.Function
The name of the function.
getName() - Method in class com.schibsted.spt.data.jslt.impl.AbstractCallable
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.FunctionWrapper
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.JstlFile
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.LetInfo
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.ParameterInfo
 
getName() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
getNamedModule(String) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getNamedModules() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getObjectFilter() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getParameterSlots() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
getPreparationContext() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getResolver() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getRoot(int) - Static method in class com.schibsted.spt.data.jslt.impl.Scope
 
getSlot() - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
getSlot() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
getSource() - Method in class com.schibsted.spt.data.jslt.impl.Location
 
getSource() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
getSource() - Method in exception com.schibsted.spt.data.jslt.JsltException
What file/resource did the error occur in? Can be null.
getStackFrameSize() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
getStackFrameSize() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
getUsageCount() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
getValue(int) - Method in class com.schibsted.spt.data.jslt.impl.Scope
 
getVariable() - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
getVariable() - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 
GroupBy() - Constructor for class com.schibsted.spt.data.jslt.impl.ExperimentalModule.GroupBy
 

H

hasBody() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
HashInt() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.HashInt
 

I

IfExpression - Class in com.schibsted.spt.data.jslt.impl
 
IfExpression(ExpressionNode, LetExpression[], ExpressionNode, LetExpression[], ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.IfExpression
 
incrementUsageCount() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
indent(int) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
invoke(String) - Method in class com.schibsted.spt.data.jslt.impl.lambda.LambdaFunction
Transform the incoming JSON with JSLT and return the result.
isAlreadyImported(String) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
IsArray() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsArray
 
IsBoolean() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsBoolean
 
IsDecimal() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsDecimal
 
IsInteger() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsInteger
 
isLet() - Method in class com.schibsted.spt.data.jslt.impl.LetInfo
 
isLet() - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
isLiteral() - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
IsNumber() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsNumber
 
IsObject() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsObject
 
IsString() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.IsString
 
isTrue(JsonNode) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
isValue(JsonNode) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 

J

Join() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Join
 
JSLT - Class in com.schibsted.spt.data.jslt.cli
 
JSLT() - Constructor for class com.schibsted.spt.data.jslt.cli.JSLT
 
JsltException - Exception in com.schibsted.spt.data.jslt
Parent exception for all exceptions thrown by JSLT for both compilation and run-time errors.
JsltException(String) - Constructor for exception com.schibsted.spt.data.jslt.JsltException
 
JsltException(String, Location) - Constructor for exception com.schibsted.spt.data.jslt.JsltException
 
JsltException(String, Throwable) - Constructor for exception com.schibsted.spt.data.jslt.JsltException
 
JsltException(String, Throwable, Location) - Constructor for exception com.schibsted.spt.data.jslt.JsltException
 
JsltJsonFilter - Class in com.schibsted.spt.data.jslt.filters
Used for object filtering with JSLT expressions.
JsltJsonFilter(Expression) - Constructor for class com.schibsted.spt.data.jslt.filters.JsltJsonFilter
 
JsonFilter - Interface in com.schibsted.spt.data.jslt.filters
A filter that can approve/disapprove a JSON value.
JstlFile - Class in com.schibsted.spt.data.jslt.impl
Represents a JSLT source code file loaded separately.
JstlFile(String, String, ExpressionImpl) - Constructor for class com.schibsted.spt.data.jslt.impl.JstlFile
 

L

LambdaFunction - Class in com.schibsted.spt.data.jslt.impl.lambda
A lambda function used to create the online demo playground via API gateway.
LambdaFunction() - Constructor for class com.schibsted.spt.data.jslt.impl.lambda.LambdaFunction
 
leaveFunction() - Method in class com.schibsted.spt.data.jslt.impl.Scope
 
leaveFunction() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
leaveScope() - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
left - Variable in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
LetExpression - Class in com.schibsted.spt.data.jslt.impl
 
LetExpression(String, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.LetExpression
 
LetInfo - Class in com.schibsted.spt.data.jslt.impl
 
LetInfo(LetExpression) - Constructor for class com.schibsted.spt.data.jslt.impl.LetInfo
 
LiteralExpression - Class in com.schibsted.spt.data.jslt.impl
 
LiteralExpression(JsonNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.LiteralExpression
 
location - Variable in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
Location - Class in com.schibsted.spt.data.jslt.impl
Represents a position in a JSTL source code file.
Location(String, int, int) - Constructor for class com.schibsted.spt.data.jslt.impl.Location
 
Lowercase() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Lowercase
 

M

Macro - Interface in com.schibsted.spt.data.jslt.impl
Interface implemented by all macros.
MacroExpression - Class in com.schibsted.spt.data.jslt.impl
 
MacroExpression(Macro, ExpressionNode[], Location) - Constructor for class com.schibsted.spt.data.jslt.impl.MacroExpression
 
macros - Static variable in class com.schibsted.spt.data.jslt.impl.BuiltinFunctions
 
main(String[]) - Static method in class com.schibsted.spt.data.jslt.cli.JSLT
 
makeScope(Map<String, JsonNode>, int, Map<String, Integer>) - Static method in class com.schibsted.spt.data.jslt.impl.Scope
Creates an initialized scope with values for variables supplied by client code into the JSLT expression.
mapper - Static variable in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
MatcherExpression - Class in com.schibsted.spt.data.jslt.impl
Represents the '* - ...
MatcherExpression(ExpressionNode, List<String>, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
Max() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Max
 
Min() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Min
 
MinusOperator - Class in com.schibsted.spt.data.jslt.impl
 
MinusOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.MinusOperator
 
Module - Interface in com.schibsted.spt.data.jslt
Interface to a module, which can come from loading a JSLT or from injecting collections of functions.
ModuleImpl - Class in com.schibsted.spt.data.jslt.impl
In-memory module.
ModuleImpl(Map<String, Function>) - Constructor for class com.schibsted.spt.data.jslt.impl.ModuleImpl
 
Modulo() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Modulo
 
MultiplyOperator - Class in com.schibsted.spt.data.jslt.impl
 
MultiplyOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.MultiplyOperator
 

N

NodeUtils - Class in com.schibsted.spt.data.jslt.impl
 
NodeUtils() - Constructor for class com.schibsted.spt.data.jslt.impl.NodeUtils
 
Not() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Not
 
Now() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Now
 
Number() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Number
 
number(JsonNode, Location) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
number(JsonNode, boolean, Location) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
number(JsonNode, boolean, Location, JsonNode) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
NumericOperator - Class in com.schibsted.spt.data.jslt.impl
 
NumericOperator(ExpressionNode, ExpressionNode, String, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.NumericOperator
 

O

ObjectComprehension - Class in com.schibsted.spt.data.jslt.impl
 
ObjectComprehension(ExpressionNode, LetExpression[], ExpressionNode, ExpressionNode, ExpressionNode, Location, JsonFilter) - Constructor for class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
ObjectExpression - Class in com.schibsted.spt.data.jslt.impl
 
ObjectExpression(LetExpression[], PairExpression[], MatcherExpression, Location, JsonFilter) - Constructor for class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ArrayExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ArraySlicer
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
optimize() - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.FunctionExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.MatcherExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.PairExpression
 
optimize() - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 
OptimizedStaticContainsFunction - Class in com.schibsted.spt.data.jslt.impl
An optimized version of contains(a, b) which is used when b is an array literal with a large number of values, so that a linear search becomes a performance drag.
OptimizedStaticContainsFunction(JsonNode) - Constructor for class com.schibsted.spt.data.jslt.impl.OptimizedStaticContainsFunction
 
optimizeLets(LetExpression[]) - Static method in class com.schibsted.spt.data.jslt.impl.OptimizeUtils
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.
OptimizerScope - Class in com.schibsted.spt.data.jslt.impl
Fake scope used when optimizing away objects that are static, but can contain lets anyway.
OptimizerScope() - Constructor for class com.schibsted.spt.data.jslt.impl.OptimizerScope
 
OptimizeUtils - Class in com.schibsted.spt.data.jslt.impl
 
OptimizeUtils() - Constructor for class com.schibsted.spt.data.jslt.impl.OptimizeUtils
 
OrOperator - Class in com.schibsted.spt.data.jslt.impl
 
OrOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.OrOperator
 

P

PairExpression - Class in com.schibsted.spt.data.jslt.impl
Represents a ("key" : expr) pair inside a JSON object.
PairExpression(String, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.PairExpression
 
ParameterInfo - Class in com.schibsted.spt.data.jslt.impl
 
ParameterInfo(String, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.ParameterInfo
 
ParseContext - Class in com.schibsted.spt.data.jslt.impl
Class to encapsulate context information like available functions, parser/compiler settings, and so on, during parsing.
ParseContext(Collection<Function>, String, ResourceResolver, Map<String, Module>, List<JstlFile>, PreparationContext, JsonFilter) - Constructor for class com.schibsted.spt.data.jslt.impl.ParseContext
 
ParseContext(String) - Constructor for class com.schibsted.spt.data.jslt.impl.ParseContext
 
Parser - Class in com.schibsted.spt.data.jslt
Parses JSLT expressions to Expression objects for evaluating them.
Parser(Reader) - Constructor for class com.schibsted.spt.data.jslt.Parser
Create a Parser reading JSLT source from the given Reader.
ParserImpl - Class in com.schibsted.spt.data.jslt.parser
 
ParserImpl() - Constructor for class com.schibsted.spt.data.jslt.parser.ParserImpl
 
ParseTime() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ParseTime
 
ParseUrl() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ParseUrl
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.AndOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.BiggerComparison
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.BiggerOrEqualComparison
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.ComparisonOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.DivideOperator
 
perform(double, double) - Method in class com.schibsted.spt.data.jslt.impl.DivideOperator
 
perform(long, long) - Method in class com.schibsted.spt.data.jslt.impl.DivideOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.EqualsComparison
 
perform(double, double) - Method in class com.schibsted.spt.data.jslt.impl.MinusOperator
 
perform(long, long) - Method in class com.schibsted.spt.data.jslt.impl.MinusOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.MultiplyOperator
 
perform(double, double) - Method in class com.schibsted.spt.data.jslt.impl.MultiplyOperator
 
perform(long, long) - Method in class com.schibsted.spt.data.jslt.impl.MultiplyOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.NumericOperator
 
perform(double, double) - Method in class com.schibsted.spt.data.jslt.impl.NumericOperator
 
perform(long, long) - Method in class com.schibsted.spt.data.jslt.impl.NumericOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.OrOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.PipeOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.PlusOperator
 
perform(double, double) - Method in class com.schibsted.spt.data.jslt.impl.PlusOperator
 
perform(long, long) - Method in class com.schibsted.spt.data.jslt.impl.PlusOperator
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.SmallerComparison
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.SmallerOrEqualsComparison
 
perform(JsonNode, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.UnequalsComparison
 
PipeOperator - Class in com.schibsted.spt.data.jslt.impl
 
PipeOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.PipeOperator
 
PlusOperator - Class in com.schibsted.spt.data.jslt.impl
 
PlusOperator(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.PlusOperator
 
PreparationContext - Class in com.schibsted.spt.data.jslt.impl
Class to encapsulate context information while the parse tree is being prepared.
PreparationContext() - Constructor for class com.schibsted.spt.data.jslt.impl.PreparationContext
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.AbstractNode
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
prepare(PreparationContext) - Method in interface com.schibsted.spt.data.jslt.impl.ExpressionNode
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.FunctionDeclaration
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.IfExpression
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.ObjectComprehension
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.ObjectExpression
 
prepare(PreparationContext) - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 
printHexBinary(byte[]) - Static method in class com.schibsted.spt.data.jslt.impl.Utils
Return a lower-case hex representation of the binary data.

R

Random() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Random
 
register(ScopeManager) - Method in class com.schibsted.spt.data.jslt.impl.LetExpression
 
registerJsltFile(JstlFile) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
registerModule(String, Module) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
registerParameter(String, Location) - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
Registers a parameter to a function.
registerVariable(LetExpression) - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
Registers a variable.
rememberFunctionCall(FunctionExpression) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
removeEldestEntry(Map.Entry) - Method in class com.schibsted.spt.data.jslt.impl.BoundedCache
 
Replace() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Replace
 
resolve(Callable) - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
resolve(String) - Method in class com.schibsted.spt.data.jslt.impl.ClasspathResourceResolver
 
resolve(String) - Method in class com.schibsted.spt.data.jslt.impl.FileSystemResourceResolver
 
resolve(Function) - Method in class com.schibsted.spt.data.jslt.impl.FunctionExpression
 
resolve(String) - Method in interface com.schibsted.spt.data.jslt.ResourceResolver
Return a Reader for the given module.
resolveFunctions() - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
resolveVariable(VariableExpression) - Method in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
ResourceResolver - Interface in com.schibsted.spt.data.jslt
Given a string identifying a JSLT module file, return a Reader that produces the module.
right - Variable in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
Round() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Round
 

S

scope - Variable in class com.schibsted.spt.data.jslt.impl.PreparationContext
 
Scope - Class in com.schibsted.spt.data.jslt.impl
 
Scope(int) - Constructor for class com.schibsted.spt.data.jslt.impl.Scope
 
ScopeManager - Class in com.schibsted.spt.data.jslt.impl
Keeps track of declared variables and maps them to their slots in the stack frames.
ScopeManager() - Constructor for class com.schibsted.spt.data.jslt.impl.ScopeManager
 
setGlobalModules(List<JstlFile>) - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
setParent(ParseContext) - Method in class com.schibsted.spt.data.jslt.impl.ParseContext
 
setSlot(int) - Method in class com.schibsted.spt.data.jslt.impl.VariableInfo
 
setValue(int, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.OptimizerScope
 
setValue(int, JsonNode) - Method in class com.schibsted.spt.data.jslt.impl.Scope
 
Sha256() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Sha256
 
Size() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Size
 
SmallerComparison - Class in com.schibsted.spt.data.jslt.impl
 
SmallerComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.SmallerComparison
 
SmallerOrEqualsComparison - Class in com.schibsted.spt.data.jslt.impl
 
SmallerOrEqualsComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.SmallerOrEqualsComparison
 
Split() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Split
 
StartsWith() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.StartsWith
 
Sum() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Sum
 

T

Test() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Test
 
toArray(JsonNode, boolean) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
ToJson() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ToJson
 
toJson(boolean) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
toJson(double) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
toJson(String[]) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.AbstractInvocationExpression
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.AbstractOperator
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.ArraySlicer
 
ToString() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.ToString
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.DotExpression
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.ExpressionImpl
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.ForExpression
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.LiteralExpression
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.Location
 
toString(JsonNode, boolean) - Static method in class com.schibsted.spt.data.jslt.impl.NodeUtils
 
toString() - Method in class com.schibsted.spt.data.jslt.impl.VariableExpression
 
Trim() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Trim
 
TrueJsonFilter - Class in com.schibsted.spt.data.jslt.filters
Accepts all JSON values.
TrueJsonFilter() - Constructor for class com.schibsted.spt.data.jslt.filters.TrueJsonFilter
 

U

UnequalsComparison - Class in com.schibsted.spt.data.jslt.impl
 
UnequalsComparison(ExpressionNode, ExpressionNode, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.UnequalsComparison
 
UNFOUND - Static variable in class com.schibsted.spt.data.jslt.impl.ScopeManager
 
Uppercase() - Constructor for class com.schibsted.spt.data.jslt.impl.BuiltinFunctions.Uppercase
 
URI - Static variable in class com.schibsted.spt.data.jslt.impl.ExperimentalModule
 
Utils - Class in com.schibsted.spt.data.jslt.impl
 
Utils() - Constructor for class com.schibsted.spt.data.jslt.impl.Utils
 

V

VariableExpression - Class in com.schibsted.spt.data.jslt.impl
 
VariableExpression(String, Location) - Constructor for class com.schibsted.spt.data.jslt.impl.VariableExpression
 
VariableInfo - Class in com.schibsted.spt.data.jslt.impl
Class encapsulating what we know about a specific variable.
VariableInfo(Location) - Constructor for class com.schibsted.spt.data.jslt.impl.VariableInfo
 

W

withFunctions(Collection<Function>) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given extension functions.
withNamedModules(Map<String, Module>) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given modules registered.
withObjectFilter(String) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given filter for object values.
withObjectFilter(JsonFilter) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given filter for object values.
withResourceResolver(ResourceResolver) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given resource resolver.
withSource(String) - Method in class com.schibsted.spt.data.jslt.Parser
Create a new Parser with the given source name.
wrapStaticMethod(String, String, String) - Static method in class com.schibsted.spt.data.jslt.FunctionUtils
Create a JSLT function from a static Java method.
wrapStaticMethod(String, String, String, Class[]) - Static method in class com.schibsted.spt.data.jslt.FunctionUtils
Create a JSLT function from a static Java method.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links