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
CommandVisitorimplementations that don't provide support for all the availableCommands. - 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
CommandHandlerto 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
ExpressionNodeelements. - Atom - Interface in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
An
Atomdefines anExpressionNodethat 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
BackendCompilercan be hooked in into theSightlyCompilerin order to transpile HTLCommands 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
collectionto a comma separated valuesStringrepresentation. - Command - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
A
Commandrepresents the type of instruction a certain HTL expression or block element should execute. - CommandHandler - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
The
CommandHandleris the mechanism through which aCommandStreamcan 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
Commands are pushed during the compilation of a HTL script by theSightlyCompiler. - CommandVisitor - Interface in org.apache.sling.scripting.sightly.compiler.commands
-
The
CommandVisitoris the mechanism through which aCommandcan 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
SightlyCompilerwill process during the call of thecompilemethods. - 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
SightlyCompilerwill 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
Commandimposes 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
ArrayLiteralnode. - 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
BinaryOperationnode. - 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
BooleanConstantnode. - 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
Identifiernode. - 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
MapLiteralnode. - 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
NullLiteralnode. - 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
NumericConstantnode. - 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
PropertyAccessnode. - 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
RuntimeCallnode. - 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
StringConstantnode. - 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
TernaryOperatornode. - 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
UnaryOperationnode. - 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:
baseNameget +BaseNameis +BaseName - FORMAT - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCallfunction that will process string formatting. - FORMAT - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCallfunction 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
Listof commands that were written into this stream. - getCommandStream() - Method in interface org.apache.sling.scripting.sightly.compiler.CompilationResult
-
Provides access to the generated
CommandStreamfor evaluating / replaying theCommands 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
Listcontaining 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
Readerfrom 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
ExpressionNodefrom 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
RuntimeCallfunction that will process i18n. - I18N - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCallfunction 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
RuntimeCallfunction that will perform script execution delegation. - INCLUDE - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCallfunction 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 bymethodNameand 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
nameis 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
trueif 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
objectis 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
RuntimeCallfunction that will process join operations on arrays. - JOIN - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCallfunction 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
Commandrenders 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
NodeVisitorrepresents the mechanism through whichExpressionNodeentities 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
Numberrepresentation. - 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
Commandthat 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.compilerpackage 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.backenddefines the API that can be used by HTL Backend Compilers, used to compile HTLCommands 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.commandspackage defines the API forCommandprocessing. - org.apache.sling.scripting.sightly.compiler.expression - package org.apache.sling.scripting.sightly.compiler.expression
-
The
org.apache.sling.scripting.sightly.compiler.expressionpackage defines the API forExpressionprocessing. - 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.nodespackage exposes the variousExpressionNodetypes. - 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
Commandrenders 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
Commandrenders 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
Setthat stores all the supported primitive classes. - Procedure - Class in org.apache.sling.scripting.sightly.compiler.commands
-
This
Commandallows 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
targetobject, 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
RuntimeCallfunction 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
RuntimeCallfunction that will perform resource inclusion in the rendering process. - RuntimeCall - Class in org.apache.sling.scripting.sightly.compiler.expression.nodes
-
A
RuntimeCallis 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
RuntimeCallbased on afunctionNameand a list ofarguments. - RuntimeCall(String, ExpressionNode...) - Constructor for class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
Creates a
RuntimeCallbased on afunctionNameand an array ofarguments. - RuntimeFunction - Class in org.apache.sling.scripting.sightly.compiler
-
Deprecated.constants are available in
RuntimeCallstarting with version 1.2.0 of theorg.apache.sling.scripting.sightly.compiler.expression.nodesAPI. - 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
SightlyCompilerinterprets 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
SightlyCompilerduring 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
CommandVisitorallows storing states forCommandevaluation. - 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
objectto a boolean value, applying the following rules: if theobjectisnullthe returned value isfalseif theobjectis aNumberthe method will returnfalseonly if the number's value is 0 if theStringrepresentation of theobjectis equal irrespective of its casing to "true", the method will returntrueif theobjectis aCollectionor aMap, the method will returntrueonly if the collection / map is not empty if the object is an array, the method will returntrueonly 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
objectto a collection, according to the following rules: if theobjectisnullan empty collection will be returned if theobjectis an array a list transformation of the array will be returned if theobjectis aCollectionthe object itself will be returned if theobjectis an instance of aMapthe map's key set will be returned (seeMap.keySet()) if theobjectis an instance of anEnumerationa list transformation will be returned if theobjectis an instance of anIteratororIterablethe result ofObjectModel.fromIterator(Iterator)will be returned if theobjectis an instance of aStringorNumberaCollectioncontaining 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
objectto 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
objectto 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
RuntimeCallfunction that will provide URI manipulation support. - URI_MANIPULATION - Static variable in class org.apache.sling.scripting.sightly.compiler.RuntimeFunction
-
Deprecated.The name of the
RuntimeCallfunction that will provide URI manipulation support. - USE - Static variable in class org.apache.sling.scripting.sightly.compiler.expression.nodes.RuntimeCall
-
The name of the
RuntimeCallfunction 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
RuntimeCallfunction 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
Commandmarks 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.Endcommand. - 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.Startcommand. - 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.Endcommand. - 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.Startcommand. - 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
OutputVariablecommand. - 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
OutTextcommand. - 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.Callcommand. - 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.Endcommand. - 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.Startcommand. - 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.Endcommand. - 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.Globalcommand. - 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.Startcommand. - 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
SightlyCompilerwith the providedoptionsadded 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
BinaryOperationthat 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
RuntimeCallfunction 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
RuntimeCallfunction 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