Uses of Interface
org.apache.sling.scripting.sightly.compiler.commands.Command
-
Packages that use Command Package Description org.apache.sling.scripting.sightly.compiler.commands Theorg.apache.sling.scripting.sightly.compiler.commands
package defines the API forCommand
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 -
-
Uses of Command in org.apache.sling.scripting.sightly.compiler.commands
Classes in org.apache.sling.scripting.sightly.compiler.commands that implement Command Modifier and Type Class Description static class
Conditional.End
static class
Conditional.Start
static class
Loop.End
static class
Loop.Start
class
OutputVariable
ThisCommand
renders a variable's value.class
OutText
ThisCommand
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
Methods in org.apache.sling.scripting.sightly.compiler.commands that return types with arguments of type Command Modifier and Type Method Description List<Command>
CommandStream. getCommands()
Returns theList
of commands that were written into this stream.Methods in org.apache.sling.scripting.sightly.compiler.commands with parameters of type Command Modifier and Type Method Description void
CommandHandler. onEmit(Command command)
Allows this handler to process theCommand
that was just written into the stream to which this handler was attached. -
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler
Methods in org.apache.sling.scripting.sightly.impl.compiler that return types with arguments of type Command Modifier and Type Method Description List<Command>
PushStream. getCommands()
Methods in org.apache.sling.scripting.sightly.impl.compiler with parameters of type Command Modifier and Type Method Description void
PushStream. write(Command command)
-
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler.debug
Methods in org.apache.sling.scripting.sightly.impl.compiler.debug with parameters of type Command Modifier and Type Method Description void
LoggingHandler. onEmit(Command command)
void
SanityChecker. onEmit(Command command)
-
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler.optimization
Methods in org.apache.sling.scripting.sightly.impl.compiler.optimization with parameters of type Command Modifier and Type Method 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)
-
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler.optimization.reduce
Methods in org.apache.sling.scripting.sightly.impl.compiler.optimization.reduce with parameters of type Command Modifier and Type Method Description protected EvalResult
ConstantFolding. assignDefault(Command command)
protected void
ConstantFolding. onCommand(Command command)
-
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler.util.stream
Methods in org.apache.sling.scripting.sightly.impl.compiler.util.stream with parameters of type Command Modifier and Type Method Description void
BroadcastHandler. onEmit(Command command)
void
VisitorHandler. onEmit(Command command)
-
Uses of Command in org.apache.sling.scripting.sightly.impl.compiler.visitor
Methods in org.apache.sling.scripting.sightly.impl.compiler.visitor with parameters of type Command Modifier and Type Method Description protected abstract T
TrackingVisitor. assignDefault(Command command)
void
IgnoreRange. onCommand(Command command)
protected abstract void
UniformVisitor. onCommand(Command command)
Constructor parameters in org.apache.sling.scripting.sightly.impl.compiler.visitor with type arguments of type Command Constructor Description IgnoreRange(Class<? extends Command> rangeStart, Class<? extends Command> rangeEnd)
StatefulRangeIgnore(StatefulVisitor.StateControl stateControl, Class<? extends Command> rangeStart, Class<? extends Command> rangeEnd)
-