All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AbstractCommandVisitor This class can be extended byCommandVisitor
implementations that don't provide support for all the availableCommand
s.AbstractFilter AbstractPlugin AbstractRepeatPlugin AggregatePluginInvoke Plugin invoke which aggregates the behavior of several plugin invokes.ArrayLiteral Syntactical structure for an array of items.Atom AnAtom
defines anExpressionNode
that can be translated to simple text, like identifiers or primitive constants (strings, booleans and numbers).AttributeList Contains the list of attributes inside an HTML tag.AttributePlugin Implementation for the attribute plugin.BackendCompiler ABackendCompiler
can be hooked in into theSightlyCompiler
in order to transpile HTLCommand
s into other JVM supported languages.BinaryOperation A {code BinaryOperation} defines an expression where a binary operator is applied (e.g.BinaryOperator Binary operators used in expressions.BooleanConstant Defines a Boolean constant (e.g.BroadcastHandler Broadcasts commands to other handlersCallPlugin CoalescingWrites Aggregate consecutive writes in bigger chunks of textCommand ACommand
represents the type of instruction a certain HTL expression or block element should execute.CommandHandler TheCommandHandler
is the mechanism through which aCommandStream
can be processed synchronously, as the stream is written.CommandStream This interface defines a stream to whichCommand
s are pushed during the compilation of a HTL script by theSightlyCompiler
.CommandVariableUsage Extracts the variables used in a commandCommandVisitor TheCommandVisitor
is the mechanism through which aCommand
can be processed.CompilationResult This class encapsulates the result of a compile operation performed by theSightlyCompiler
.CompilationResultImpl CompilationUnit This class describes a compilation unit that theSightlyCompiler
will process during the call of thecompile
methods.CompilerContext Default implementation for the compiler contextCompilerMessage This class describes the messages (warnings or errors) theSightlyCompiler
will produce when compiling a script.CompilerMessageImpl Conditional ThisCommand
imposes a condition on the next rendering commands.Conditional.End Conditional.Start ConstantFolding Optimization which evaluates constant expressions during compilation-timeDeadCodeRemoval Removes code under conditionals which are proven to fail.DefaultPluginInvoke Empty implementation for plugin invocation.DocumentHandler Invoked by theHTMLParser
when elements are scanned.DocumentParser ElementContext Data structure used byMarkupHandler
.ElementContext.Attribute ElementPlugin EmitterVisitor Command visitor which writes to an output stream.EvalResult Data structure used in expression reducingExpression This class represents a HTL Expression.ExpressionContext Defines a context for theExpression
that will be processed by aFilter
.ExpressionNode Defines a node in a HTL expression tree.ExpressionParser ExpressionReducer Try to evaluate constant parts in expressionsExpressionWrapper This object wraps expressions in filter applications depending on options.Filter A filter is a transformation which performs modifications on expressions.FormatFilter Implementation for the format filter & runtime support.Fragment A segment in an interpolation.Fragment.Expr A fragment which is an expression.Fragment.Text A text fragment.HtmlParser HTML parser.I18nFilter Filter for i18n translationIdentifier Defines a single variable.IgnoreRange Ignore a nested range of commands.IncludePlugin Implementation for the include pluginInterpolation A sequence with alternating string fragments and HTL expressions.JoinFilter Filter providing support for thejoin
option applied to arrays.ListPlugin LoggingHandler Handler which logs all commandsLoop ThisCommand
renders a sequence of commands repeatedly.Loop.End Loop.Start MapLiteral Defines a syntactical construction representing a map.MarkupContext Indicates what type of content is being rendered.MarkupHandler Implementation for the markup handlerMarkupUtils Utility methods related to markupNodeTransformer NodeVisitor<T> ANodeVisitor
represents the mechanism through whichExpressionNode
entities are processed.NullLiteral Defines the null literal.NumericConstant Defines a numeric constant expression (e.g.ObjectModel Deprecated. This class has been moved toObjectModel
.OutputVariable ThisCommand
renders a variable's value.OutText ThisCommand
renders a text fragment.ParserHelper Helper utilities for the ANTLR parser.Patterns ThePatterns
class provides various static methods that implement commonly used stream processing commands.Plugin Common interface for pluginsPluginCallInfo Data related to a plugin callPluginInvoke General interface for plugin invocations.Procedure ThisCommand
allows defining a HTL template - the only functional construct of the language.Procedure.Call Procedure.End Procedure.Start PropertyAccess Defines an expression in which an object is queried for a specific property (e.g.PushStream A stream that can be written into.PushStream.StreamMessage RepeatPlugin ResourcePlugin The resource plugin.RuntimeCall ARuntimeCall
is a special expression which provides access to utility functions from the runtime.RuntimeFunction Deprecated. constants are available inRuntimeCall
starting with version 1.2.0 of theorg.apache.sling.scripting.sightly.compiler.expression.nodes
API.SanityChecker A visitor which checks a stream for correct closing of thingsSequenceStreamTransformer Applies a list of transformations in sequence.SetPlugin Implementation for thedata-sly-set
pluginSideEffectVisitor Expression visitor which does not return anything for nodes; instead it performs specific side-effects depending on the expression nodes types.SightlyCompiler TheSightlyCompiler
interprets a HTL script and transforms it internally into aCommandStream
.SightlyCompilerException Exception thrown by theSightlyCompiler
during various processing operations.SightlyLexer SightlyParser SightlyParser.AndBinaryOpContext SightlyParser.AtomContext SightlyParser.ComparisonOpContext SightlyParser.ComparisonTermContext SightlyParser.ExpressionContext SightlyParser.ExprNodeContext SightlyParser.FactorContext SightlyParser.FieldContext SightlyParser.InBinaryOpContext SightlyParser.InterpolationContext SightlyParser.OptionContext SightlyParser.OptionListContext SightlyParser.OrBinaryOpContext SightlyParser.SimpleContext SightlyParser.StringConstContext SightlyParser.TermContext SightlyParser.TextFragContext SightlyParser.ValueListContext SightlyParserBaseListener This class provides an empty implementation ofSightlyParserListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.SightlyParserErrorListener TheSightlyParserErrorListener
handles parsing error reporting by sending offending input to a logger.SightlyParserListener This interface defines a complete listener for a parse tree produced bySightlyParser
.SimpleFrontend DOM-based compiler implementationStatefulRangeIgnore Variant ofIgnoreRange
to be used in stateful visitors.StatefulVisitor ThisCommandVisitor
allows storing states forCommand
evaluation.Streams Utility functions for streams.StreamTransformer Interface for stream transformations.StringConstant Defines a simple string constant (e.g.SymbolGenerator Syntax HTL Syntax specific elements.SyntheticMapRemoval This optimization handles variables initialized to map literals.Template TemplateAttribute TemplateCommentNode TemplateElementNode TemplateNode TemplateParser The template parser parses an HTML document and returns a reusable tree representation.TemplateParser.TemplateParserContext TemplatePlugin The template pluginTemplateTextNode TernaryOperator Defines the HTL ternary operator (e.g.TestPlugin Implementation for the test pluginTextPlugin Thedata-sly-text
plugin.TrackingVisitor<T> Command visitor which tracks variables in commands.TreeTraverser UnaryOperation Defines a unary operation (e.g.UnaryOperator Unary operators used in expressions.UniformVisitor Abstract visitor that allows to skip processing some commands.UnusedVariableRemoval This optimization removes variables which are bound but never used in the command stream.UnwrapPlugin The unwrapped pluginURIManipulationFilter TheURIManipulationFilter
provides support for Sightly's URI Manipulation options according to the language specificationUsePlugin VariableBinding ThisCommand
marks the binding of a variable.VariableBinding.End VariableBinding.Global VariableBinding.Start VariableFinder SideEffectVisitor which extracts all the variables from an expression.VariableTracker<T> Tracks information related to HTL variables, at different levels of the compiler.VisitorHandler Delegates commands to a visitor.XSSFilter XSS filter implementation.