A B C D E F G H I J L M N O P R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCommandVisitor - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This class can be extended by
CommandVisitor
implementations that don't provide support for all the availableCommand
s. - AbstractCommandVisitor() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- accept(CommandVisitor) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.Command
-
Accept a visitor.
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.End
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.End
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutputVariable
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutText
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Call
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.End
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Start
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.End
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Global
- accept(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Start
- accept(NodeVisitor<T>) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.ExpressionNode
-
Accept a visitor to process this node.
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.ArrayLiteral
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NullLiteral
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.StringConstant
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
- accept(NodeVisitor<T>) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperation
- ADD - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Addition.
- addHandler(CommandHandler) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandStream
-
Registers a listening
CommandHandler
to the stream. - AND - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Logical conjunction.
- ArrayLiteral - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Syntactical structure for an array of items.
- ArrayLiteral(List<ExpressionNode>) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.ArrayLiteral
-
Creates an array from a list of
ExpressionNode
elements. - Atom - Interface in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
An
Atom
defines anExpressionNode
that can be translated to simple text, like identifiers or primitive constants (strings, booleans and numbers). - ATTRIBUTE - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- ATTRIBUTE_NAME - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
B
- BackendCompiler - Interface in org.apache.sling.scripting.sightly.compiler.backend
-
A
BackendCompiler
can be hooked in into theSightlyCompiler
in order to transpile HTLCommand
s into other JVM supported languages. - BinaryOperation - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
A {code BinaryOperation} defines an expression where a binary operator is applied (e.g.
- BinaryOperation(BinaryOperator, ExpressionNode, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Creates a
BinaryOperation
. - BinaryOperation(BinaryOperator, ExpressionNode, ExpressionNode, Expression) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Creates a
BinaryOperation
. - BinaryOperator - Enum in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Binary operators used in expressions.
- BooleanConstant - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a Boolean constant (e.g.
- BooleanConstant(boolean) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
-
Creates a boolean constant from a boolean value.
- BooleanConstant(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
-
Creates a boolean constant from a raw string.
C
- Call(String, String) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Call
- collectionToString(Collection<?>) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Converts the passed
collection
to a comma separated valuesString
representation. - Command - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
A
Command
represents the type of instruction a certain HTL expression or block element should execute. - CommandHandler - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
The
CommandHandler
is the mechanism through which aCommandStream
can be processed synchronously, as the stream is written. - CommandStream - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
This interface defines a stream to which
Command
s are pushed during the compilation of a HTL script by theSightlyCompiler
. - CommandVisitor - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
The
CommandVisitor
is the mechanism through which aCommand
can be processed. - COMMENT - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- CompilationResult - Interface in org.apache.sling.scripting.sightly.compiler
-
This class encapsulates the result of a compile operation performed by the
SightlyCompiler
. - CompilationUnit - Interface in org.apache.sling.scripting.sightly.compiler
-
This class describes a compilation unit that the
SightlyCompiler
will process during the call of thecompile
methods. - compile(CompilationUnit) - Method in class org.apache.sling.scripting.sightly.compiler.SightlyCompiler
-
Compiles a
CompilationUnit
. - compile(CompilationUnit, BackendCompiler) - Method in class org.apache.sling.scripting.sightly.compiler.SightlyCompiler
- CompilerMessage - Interface in org.apache.sling.scripting.sightly.compiler
-
This class describes the messages (warnings or errors) the
SightlyCompiler
will produce when compiling a script. - CONCATENATE - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
String concatenation.
- Conditional - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
imposes a condition on the next rendering commands. - Conditional() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Conditional
- Conditional.End - Class in org.apache.sling.scripting.sightly.compiler.commands
- Conditional.Start - Class in org.apache.sling.scripting.sightly.compiler.commands
- containsKey(String) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
-
Checks if the map contains the property identified by the passed property name.
- containsOption(String) - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Checks whether the expression has the specified option.
D
- DIV - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Floating point division.
E
- ELEMENT_NAME - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- EMPTY - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.StringConstant
-
The empty string constant.
- END - Static variable in class org.apache.sling.scripting.sightly.compiler.commands.Conditional
- END - Static variable in class org.apache.sling.scripting.sightly.compiler.commands.Loop
- END - Static variable in class org.apache.sling.scripting.sightly.compiler.commands.Procedure
- END - Static variable in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding
- eq(Object, Object) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- EQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Equal.
- eval(Object) - Method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
- eval(Object, Object) - Method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- evaluate(ArrayLiteral) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
ArrayLiteral
node. - evaluate(ArrayLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(BinaryOperation) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
BinaryOperation
node. - evaluate(BinaryOperation) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(BooleanConstant) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
BooleanConstant
node. - evaluate(BooleanConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(Identifier) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate an
Identifier
node. - evaluate(Identifier) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(MapLiteral) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
MapLiteral
node. - evaluate(MapLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(NullLiteral) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
NullLiteral
node. - evaluate(NullLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(NumericConstant) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
NumericConstant
node. - evaluate(NumericConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(PropertyAccess) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
PropertyAccess
node. - evaluate(PropertyAccess) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(RuntimeCall) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
RuntimeCall
node. - evaluate(RuntimeCall) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(StringConstant) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
StringConstant
node. - evaluate(StringConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(TernaryOperator) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
TernaryOperator
node. - evaluate(TernaryOperator) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- evaluate(UnaryOperation) - Method in interface org.apache.sling.scripting.sightly.compiler.expression.NodeVisitor
-
Evaluate a
UnaryOperation
node. - evaluate(UnaryOperation) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- Expression - Class in org.apache.sling.scripting.sightly.compiler.expression
-
This class represents a HTL Expression.
- Expression(ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Create an expression with just a root node.
- Expression(ExpressionNode, Map<String, ExpressionNode>) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Create an expression with a root node and options.
- Expression(ExpressionNode, Map<String, ExpressionNode>, String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Create an expression with a root node and options.
- ExpressionNode - Interface in org.apache.sling.scripting.sightly.compiler.expression
-
Defines a node in a HTL expression tree.
F
- FALSE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
- findBeanMethod(Class<?>, String) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given a bean class and a base method name, this method will try to find a public method without parameters that is named:
baseName
get +BaseName
is +BaseName
- FORMAT - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will process string formatting. - FORMAT - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will process string formatting. - fromIterator(Iterator<Object>) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given an
iterator
, this method will return aCollection
.
G
- GEQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Greater or equal.
- get(String) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Get the data associated with the given variable.
- getAll(String) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Get an immutable view of all the data items associated with the specified variable.
- getArguments() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
Get the nodes of the argument calls.
- getArgumentsVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Call
- getBeginVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getColumn() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilerMessage
-
Returns the column number of the script text that generated this message.
- getColumn() - Method in exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Returns the column in the line where the error occurred, if the information is available.
- getCommands() - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandStream
-
Returns the
List
of commands that were written into this stream. - getCommandStream() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationResult
-
Provides access to the generated
CommandStream
for evaluating / replaying theCommand
s after the compile operation. - getCondition() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
-
Returns the condition of this operator.
- getControl() - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- getElseBranch() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
-
Returns the "else" branch.
- getEndVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getErrors() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationResult
-
Provides the list of errors recorded during the compilation.
- getExpectedTruthValue() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
- getExpression() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Global
- getExpression() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Start
- getField(Object, String) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given an
object
, this method will return the value of the public field identified byfieldName
. - getFunctionName() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
Get the name of the runtime call.
- getIndex(Object, int) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given an indexable
object
(i.e. - getIndexVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getItems() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.ArrayLiteral
-
Returns an unmodifiable
List
containing the array's elements. - getItemVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getLeftOperand() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Returns the left operand.
- getLine() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilerMessage
-
Returns the line number of the script text that generated this message.
- getLine() - Method in exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Returns the line where the error occurred, if the information is available.
- getListVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getMap() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
-
Returns an unmodifiable view of the backing map.
- getMessage() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilerMessage
-
Returns the compiler's message.
- getName() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Start
- getName() - Method in enum org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- getName() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
-
Retrieves the name of the identifier
- getOccurrenceCount(String) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Get how many times a variable was declared in the current scope.
- getOffendingInput() - Method in exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Returns the offending input, as a raw string.
- getOperator() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Returns the operator of the operation.
- getOperator() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperation
-
Returns the operator applied in this operation.
- getOptions() - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Get the options for this expression.
- getParameters() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Start
- getParentExpression() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Returns the parent expression, if any.
- getProperty() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
-
Returns the expression node identifying the accessed property.
- getRawText() - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Returns the raw text representation of this expression.
- getRightOperand() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Returns the right operand.
- getRoot() - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Get the root node of this expression.
- getScriptName() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationUnit
-
Returns the name of the script that will be compiled.
- getScriptName() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilerMessage
-
Returns the script name associated with this message.
- getScriptReader() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationUnit
-
Provides the
Reader
from which the compiler will read the script to compile. - getStepVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- getTarget() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
-
The object being accessed.
- getTarget() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperation
-
Returns the target to which the operation is applied.
- getTemplateVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Call
- getText() - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutText
- getText() - Method in interface org.apache.sling.scripting.sightly.compiler.expression.nodes.Atom
-
Get the text content for this nodes
- getText() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
- getText() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
- getText() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
- getText() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.StringConstant
-
Gets the string content
- getThenBranch() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
-
Returns the "then" branch.
- getValue() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
-
Returns the boolean value of the constant.
- getValue() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
-
Returns the number representation of this constant.
- getValue(String) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
-
Returns an
ExpressionNode
from the backing map. - getVariable() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
- getVariableName() - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutputVariable
- getVariableName() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Global
- getVariableName() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Start
- getWarnings() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationResult
-
Provides the list of warnings recorded during the compilation.
- Global(String, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Global
- GT - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Greater than.
H
- handle(CommandStream) - Method in interface org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler
-
Process a stream of commands
- HTML - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
I
- I_DIV - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Integer division.
- I18N - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will process i18n. - I18N - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will process i18n. - Identifier - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a single variable.
- Identifier(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
-
Creates an identifier.
- IN - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- INCLUDE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will perform script execution delegation. - INCLUDE - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will perform script execution delegation. - initializeWith(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- inOp(Object, Object) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- INSTANCE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NullLiteral
- invokeBeanMethod(Object, String) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given a bean
object
, this method will invoke the public method without parameters identified bymethodName
and return the invocation's result. - IS_WHITESPACE - org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
-
Evaluates whether the operand is a string of only whitespace characters
- isDeclared(String) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Checks if the variable identified by
name
is tracked by this tracker or not. - isEmpty() - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Checks if the declaration stack is empty.
- isInScope(String) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Check whether a variable was declared and is visible in the current scope.
- isMethodAllowed(Method) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Returns
true
if the method is not one of theObject
's class declared methods, with the exception ofObject.toString()
. - isPrimitive(Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Checks if the provided
object
is an instance of a primitive class.
J
- JOIN - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will process join operations on arrays. - JOIN - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will process join operations on arrays.
L
- LENGTH - org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
-
Evaluates the length of a collection
- leq(Object, Object) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- LEQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Less or equal.
- lookup(String) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
-
Returns the render context with the given name.
- Loop - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
renders a sequence of commands repeatedly. - Loop() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Loop
- Loop.End - Class in org.apache.sling.scripting.sightly.compiler.commands
- Loop.Start - Class in org.apache.sling.scripting.sightly.compiler.commands
- lt(Object, Object) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- LT - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Less than.
M
- MapLiteral - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a syntactical construction representing a map.
- MapLiteral(Map<String, ExpressionNode>) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
-
Creates a map representation.
- MarkupContext - Enum in org.apache.sling.scripting.sightly.compiler.expression
-
Indicates what type of content is being rendered.
- MUL - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Multiplication.
N
- NEQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Not equal.
- NodeVisitor<T> - Interface in org.apache.sling.scripting.sightly.compiler.expression
-
A
NodeVisitor
represents the mechanism through whichExpressionNode
entities are processed. - NOT - org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
-
Evaluates to logical negation of the operand
- NullLiteral - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines the null literal.
- NUMBER - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- NumericConstant - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a numeric constant expression (e.g.
- NumericConstant(Number) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
-
Creates a numeric constant based on a
Number
representation. - NumericConstant(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
-
Creates a numeric constant.
O
- ObjectModel - Class in org.apache.sling.scripting.sightly.compiler.util
-
Deprecated.This class has been moved to
ObjectModel
. - onDone() - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandHandler
-
This method is called when the stream has been closed.
- ONE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
- onEmit(Command) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandHandler
-
Allows this handler to process the
Command
that was just written into the stream to which this handler was attached. - onError(String) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandHandler
-
Allows this handler to process error states.
- OR - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Logical disjunction.
- org.apache.sling.scripting.sightly.compiler - package org.apache.sling.scripting.sightly.compiler
-
The
org.apache.sling.scripting.sightly.compiler
package defines the API exposed by theSightlyCompiler
. - org.apache.sling.scripting.sightly.compiler.backend - package org.apache.sling.scripting.sightly.compiler.backend
-
The
org.apache.sling.scripting.sightly.compiler.backend
defines the API that can be used by HTL Backend Compilers, used to compile HTLCommand
s into executable code for other languages. - org.apache.sling.scripting.sightly.compiler.commands - package org.apache.sling.scripting.sightly.compiler.commands
-
The
org.apache.sling.scripting.sightly.compiler.commands
package defines the API forCommand
processing. - org.apache.sling.scripting.sightly.compiler.expression - package org.apache.sling.scripting.sightly.compiler.expression
-
The
org.apache.sling.scripting.sightly.compiler.expression
package defines the API forExpression
processing. - org.apache.sling.scripting.sightly.compiler.expression.nodes - package org.apache.sling.scripting.sightly.compiler.expression.nodes
-
The
org.apache.sling.scripting.sightly.compiler.expression.nodes
package exposes the variousExpressionNode
types. - org.apache.sling.scripting.sightly.compiler.util - package org.apache.sling.scripting.sightly.compiler.util
-
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
- OutputVariable - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
renders a variable's value. - OutputVariable(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.OutputVariable
- OutText - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
renders a text fragment. - OutText(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.OutText
P
- peek() - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Peeks at the top of the declaration stack.
- pop() - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor.StateControl
- popVariable() - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Pops a variable from this tracker.
- PRIMITIVE_CLASSES - Static variable in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.A
Set
that stores all the supported primitive classes. - Procedure - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
allows defining a HTL template - the only functional construct of the language. - Procedure() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Procedure
- Procedure.Call - Class in org.apache.sling.scripting.sightly.compiler.commands
- Procedure.End - Class in org.apache.sling.scripting.sightly.compiler.commands
- Procedure.Start - Class in org.apache.sling.scripting.sightly.compiler.commands
- PropertyAccess - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines an expression in which an object is queried for a specific property (e.g.
- PropertyAccess(ExpressionNode, Iterable<String>) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
-
Builds a chained property access node with the given target and the specified properties.
- PropertyAccess(ExpressionNode, String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
-
Creates a property access node.
- PropertyAccess(ExpressionNode, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
-
Creates a property access node.
- push(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor.StateControl
- pushVariable(String, T) - Method in class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
-
Pushes a variable to this tracker.
R
- REM - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Reminder.
- removeOption(String) - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Removes the given option from this expression.
- replace(CommandVisitor) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor.StateControl
- resolveProperty(Object, Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Given the
target
object, this method attempts to resolve and return the value of the passedproperty
. - RESOURCE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will perform resource inclusion in the rendering process. - RESOURCE - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will perform resource inclusion in the rendering process. - RuntimeCall - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
A
RuntimeCall
is a special expression which provides access to utility functions from the runtime. - RuntimeCall(String, List<ExpressionNode>) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
Creates a
RuntimeCall
based on afunctionName
and a list ofarguments
. - RuntimeCall(String, ExpressionNode...) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
Creates a
RuntimeCall
based on afunctionName
and an array ofarguments
. - RuntimeFunction - Class in org.apache.sling.scripting.sightly.compiler
-
Deprecated.constants are available in
RuntimeCall
starting with version 1.2.0 of theorg.apache.sling.scripting.sightly.compiler.expression.nodes
API. - RuntimeFunction() - Constructor for class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.
S
- SCRIPT_COMMENT - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- SCRIPT_REGEXP - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- SCRIPT_STRING - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- SCRIPT_TOKEN - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- SideEffectVisitor - Class in org.apache.sling.scripting.sightly.compiler.expression
-
Expression visitor which does not return anything for nodes; instead it performs specific side-effects depending on the expression nodes types.
- SideEffectVisitor() - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- SightlyCompiler - Class in org.apache.sling.scripting.sightly.compiler
-
The
SightlyCompiler
interprets a HTL script and transforms it internally into aCommandStream
. - SightlyCompiler() - Constructor for class org.apache.sling.scripting.sightly.compiler.SightlyCompiler
- SightlyCompilerException - Exception in org.apache.sling.scripting.sightly.compiler
-
Exception thrown by the
SightlyCompiler
during various processing operations. - SightlyCompilerException() - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Create a simple exception without any other information.
- SightlyCompilerException(String) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Create an exception with a provided message.
- SightlyCompilerException(String, String) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Create an exception that has information about offending syntax input.
- SightlyCompilerException(String, String, int, int) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Creates an exception that has information about offending syntax input, with additional details about the position of the error.
- SightlyCompilerException(String, String, int, int, Throwable) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Creates an exception that has information about offending syntax input, with additional details about the position of the error.
- SightlyCompilerException(String, Throwable) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Creates an exception with a provided message and cause.
- SightlyCompilerException(Throwable) - Constructor for exception org.apache.sling.scripting.sightly.compiler.SightlyCompilerException
-
Create an exception with information about the cause.
- Start(String, boolean) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
- Start(String, String, String) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- Start(String, String, String, String, String, String) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- Start(String, Set<String>) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.Procedure.Start
- Start(String, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Start
- StateControl() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor.StateControl
- StatefulVisitor - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
CommandVisitor
allows storing states forCommand
evaluation. - StatefulVisitor() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- StatefulVisitor.StateControl - Class in org.apache.sling.scripting.sightly.compiler.commands
- STRICT_EQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Strict version of equality, restricted to just some types.
- STRICT_NEQ - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Strict version of the not-equal operator.
- strictEq(Object, Object) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
- StringConstant - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a simple string constant (e.g.
- StringConstant(String) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.StringConstant
-
Create a string constant node.
- STYLE_COMMENT - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- STYLE_STRING - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- STYLE_TOKEN - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- SUB - org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Difference.
T
- TernaryOperator - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines the HTL ternary operator (e.g.
- TernaryOperator(ExpressionNode, ExpressionNode, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
-
Creates the operator.
- TEXT - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- toBoolean(Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Converts the given
object
to a boolean value, applying the following rules: if theobject
isnull
the returned value isfalse
if theobject
is aNumber
the method will returnfalse
only if the number's value is 0 if theString
representation of theobject
is equal irrespective of its casing to "true", the method will returntrue
if theobject
is aCollection
or aMap
, the method will returntrue
only if the collection / map is not empty if the object is an array, the method will returntrue
only if the array is not empty - toCollection(Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Forces the conversion of the passed
object
to a collection, according to the following rules: if theobject
isnull
an empty collection will be returned if theobject
is an array a list transformation of the array will be returned if theobject
is aCollection
the object itself will be returned if theobject
is an instance of aMap
the map's key set will be returned (seeMap.keySet()
) if theobject
is an instance of anEnumeration
a list transformation will be returned if theobject
is an instance of anIterator
orIterable
the result ofObjectModel.fromIterator(Iterator)
will be returned if theobject
is an instance of aString
orNumber
aCollection
containing only this object will be returned any other case not covered by the previous rules will result in an emptyCollection
- toNumber(Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Coerces the passed
object
to a numeric value. - toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.End
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Conditional.Start
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.End
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.Loop.Start
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutputVariable
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.OutText
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.End
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding.Start
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.MapLiteral
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.PropertyAccess
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.StringConstant
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.TernaryOperator
- toString() - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperation
- toString(Object) - Static method in class org.apache.sling.scripting.sightly.compiler.util.ObjectModel
-
Deprecated.Converts the passed
object
to aString
. - TRUE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BooleanConstant
- TWO - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
U
- UnaryOperation - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Defines a unary operation (e.g.
- UnaryOperation(UnaryOperator, ExpressionNode) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperation
-
Creates a
UnaryOperation
. - UnaryOperator - Enum in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
Unary operators used in expressions.
- UNSAFE - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- URI - org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
- URI_MANIPULATION - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will provide URI manipulation support. - URI_MANIPULATION - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will provide URI manipulation support. - USE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will provide the support for loading Use-API objects. - USE - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will provide the support for loading Use-API objects.
V
- valueOf(String) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.MarkupContext
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VariableBinding - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Command
marks the binding of a variable. - VariableBinding() - Constructor for class org.apache.sling.scripting.sightly.compiler.commands.VariableBinding
- VariableBinding.End - Class in org.apache.sling.scripting.sightly.compiler.commands
- VariableBinding.Global - Class in org.apache.sling.scripting.sightly.compiler.commands
- VariableBinding.Start - Class in org.apache.sling.scripting.sightly.compiler.commands
- VariableTracker<T> - Class in org.apache.sling.scripting.sightly.compiler.util
-
Tracks information related to HTL variables, at different levels of the compiler.
- VariableTracker() - Constructor for class org.apache.sling.scripting.sightly.compiler.util.VariableTracker
- visit(Conditional.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Conditional.End) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Conditional.End
command. - visit(Conditional.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Conditional.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Conditional.Start) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Conditional.Start
command. - visit(Conditional.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Loop.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Loop.End) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Loop.End
command. - visit(Loop.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Loop.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Loop.Start) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Loop.Start
command. - visit(Loop.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(OutputVariable) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(OutputVariable) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
OutputVariable
command. - visit(OutputVariable) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(OutText) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(OutText) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
OutText
command. - visit(OutText) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Procedure.Call) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Procedure.Call) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Procedure.Call
command. - visit(Procedure.Call) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Procedure.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Procedure.End) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Procedure.End
command. - visit(Procedure.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(Procedure.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(Procedure.Start) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
Procedure.Start
command. - visit(Procedure.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(VariableBinding.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(VariableBinding.End) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
VariableBinding.End
command. - visit(VariableBinding.End) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(VariableBinding.Global) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(VariableBinding.Global) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
VariableBinding.Global
command. - visit(VariableBinding.Global) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(VariableBinding.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.AbstractCommandVisitor
- visit(VariableBinding.Start) - Method in interface org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Process a
VariableBinding.Start
command. - visit(VariableBinding.Start) - Method in class org.apache.sling.scripting.sightly.compiler.commands.StatefulVisitor
- visit(ArrayLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(BinaryOperation) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(BooleanConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(Identifier) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(MapLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(NullLiteral) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(NumericConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(PropertyAccess) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(RuntimeCall) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(StringConstant) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(TernaryOperator) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
- visit(UnaryOperation) - Method in class org.apache.sling.scripting.sightly.compiler.expression.SideEffectVisitor
W
- withKnownExpressionOptions(Set<String>) - Static method in class org.apache.sling.scripting.sightly.compiler.SightlyCompiler
-
Returns an instance of the
SightlyCompiler
with the providedoptions
added to the list of known expression options. - withNode(ExpressionNode) - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Return a copy, but with the specified node as root.
- withParentExpression(Expression) - Method in class org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperation
-
Returns a copy of this
BinaryOperation
that contains information about the node's parent expression. - withRawText(String) - Method in class org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Return a copy that provides information about the expression's raw text.
X
- XSS - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCall
function that will provide XSS escaping and filtering support. - XSS - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCall
function that will provide XSS escaping and filtering support.
Z
- ZERO - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.NumericConstant
All Classes All Packages