| Package | Description |
|---|---|
| org.apache.sling.scripting.sightly.compiler.commands |
The
org.apache.sling.scripting.sightly.compiler.commands package defines the API for
Command processing. |
| org.apache.sling.scripting.sightly.impl.compiler | |
| org.apache.sling.scripting.sightly.impl.compiler.debug | |
| org.apache.sling.scripting.sightly.impl.compiler.optimization | |
| org.apache.sling.scripting.sightly.impl.compiler.optimization.reduce | |
| org.apache.sling.scripting.sightly.impl.compiler.util.stream | |
| org.apache.sling.scripting.sightly.impl.compiler.visitor |
| Modifier and Type | Class and Description |
|---|---|
static class |
Conditional.End |
static class |
Conditional.Start |
static class |
Loop.End |
static class |
Loop.Start |
class |
OutputVariable
This
Command renders a variable's value. |
class |
OutText
This
Command renders a text fragment. |
static class |
Procedure.Call |
static class |
Procedure.End |
static class |
Procedure.Start |
static class |
VariableBinding.End |
static class |
VariableBinding.Global |
static class |
VariableBinding.Start |
| Modifier and Type | Method and Description |
|---|---|
List<Command> |
CommandStream.getCommands()
Returns the
List of commands that were written into this stream. |
| Modifier and Type | Method and Description |
|---|---|
void |
CommandHandler.onEmit(Command command)
Allows this handler to process the
Command that was just written into the stream to which this handler was attached. |
| Modifier and Type | Method and Description |
|---|---|
List<Command> |
PushStream.getCommands() |
| Modifier and Type | Method and Description |
|---|---|
void |
PushStream.write(Command command) |
| Modifier and Type | Method and Description |
|---|---|
void |
SanityChecker.onEmit(Command command) |
void |
LoggingHandler.onEmit(Command command) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
DeadCodeRemoval.assignDefault(Command command) |
protected MapLiteral |
SyntheticMapRemoval.assignDefault(Command command) |
protected org.apache.sling.scripting.sightly.impl.compiler.optimization.UnusedVariableRemoval.VariableActivity |
UnusedVariableRemoval.assignDefault(Command command) |
static List<String> |
CommandVariableUsage.extractVariables(Command command) |
protected void |
DeadCodeRemoval.onCommand(Command command) |
void |
SyntheticMapRemoval.onCommand(Command command) |
protected void |
UnusedVariableRemoval.onCommand(Command command) |
void |
CoalescingWrites.onEmit(Command command) |
| Modifier and Type | Method and Description |
|---|---|
protected EvalResult |
ConstantFolding.assignDefault(Command command) |
protected void |
ConstantFolding.onCommand(Command command) |
| Modifier and Type | Method and Description |
|---|---|
void |
BroadcastHandler.onEmit(Command command) |
void |
VisitorHandler.onEmit(Command command) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
TrackingVisitor.assignDefault(Command command) |
void |
IgnoreRange.onCommand(Command command) |
protected abstract void |
UniformVisitor.onCommand(Command command) |
| Constructor and Description |
|---|
IgnoreRange(Class<? extends Command> rangeStart,
Class<? extends Command> rangeEnd) |
IgnoreRange(Class<? extends Command> rangeStart,
Class<? extends Command> rangeEnd) |
StatefulRangeIgnore(StatefulVisitor.StateControl stateControl,
Class<? extends Command> rangeStart,
Class<? extends Command> rangeEnd) |
StatefulRangeIgnore(StatefulVisitor.StateControl stateControl,
Class<? extends Command> rangeStart,
Class<? extends Command> rangeEnd) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.