Uses of Interface
org.apache.sling.scripting.sightly.compiler.commands.CommandVisitor
-
Packages that use CommandVisitor Package Description org.apache.sling.scripting.sightly.compiler.commands Theorg.apache.sling.scripting.sightly.compiler.commandspackage defines the API forCommandprocessing.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 CommandVisitor in org.apache.sling.scripting.sightly.compiler.commands
Classes in org.apache.sling.scripting.sightly.compiler.commands that implement CommandVisitor Modifier and Type Class Description classAbstractCommandVisitorThis class can be extended byCommandVisitorimplementations that don't provide support for all the availableCommands.classStatefulVisitorThisCommandVisitorallows storing states forCommandevaluation.Methods in org.apache.sling.scripting.sightly.compiler.commands that return CommandVisitor Modifier and Type Method Description CommandVisitorStatefulVisitor.StateControl. pop()CommandVisitorStatefulVisitor.StateControl. replace(CommandVisitor visitor)Methods in org.apache.sling.scripting.sightly.compiler.commands with parameters of type CommandVisitor Modifier and Type Method Description voidCommand. accept(CommandVisitor visitor)Accept a visitor.voidConditional.End. accept(CommandVisitor visitor)voidConditional.Start. accept(CommandVisitor visitor)voidLoop.End. accept(CommandVisitor visitor)voidLoop.Start. accept(CommandVisitor visitor)voidOutputVariable. accept(CommandVisitor visitor)voidOutText. accept(CommandVisitor visitor)voidProcedure.Call. accept(CommandVisitor visitor)voidProcedure.End. accept(CommandVisitor visitor)voidProcedure.Start. accept(CommandVisitor visitor)voidVariableBinding.End. accept(CommandVisitor visitor)voidVariableBinding.Global. accept(CommandVisitor visitor)voidVariableBinding.Start. accept(CommandVisitor visitor)voidStatefulVisitor. initializeWith(CommandVisitor initialState)voidStatefulVisitor.StateControl. push(CommandVisitor visitor)CommandVisitorStatefulVisitor.StateControl. replace(CommandVisitor visitor) -
Uses of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.debug
Classes in org.apache.sling.scripting.sightly.impl.compiler.debug that implement CommandVisitor Modifier and Type Class Description classSanityCheckerA visitor which checks a stream for correct closing of things -
Uses of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.optimization
Classes in org.apache.sling.scripting.sightly.impl.compiler.optimization that implement CommandVisitor Modifier and Type Class Description classCommandVariableUsageExtracts the variables used in a commandclassDeadCodeRemovalRemoves code under conditionals which are proven to fail.classSyntheticMapRemovalThis optimization handles variables initialized to map literals.classUnusedVariableRemovalThis optimization removes variables which are bound but never used in the command stream. -
Uses of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.optimization.reduce
Classes in org.apache.sling.scripting.sightly.impl.compiler.optimization.reduce that implement CommandVisitor Modifier and Type Class Description classConstantFoldingOptimization which evaluates constant expressions during compilation-time -
Uses of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.util.stream
Subinterfaces of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.util.stream Modifier and Type Interface Description interfaceEmitterVisitorCommand visitor which writes to an output stream.Methods in org.apache.sling.scripting.sightly.impl.compiler.util.stream with parameters of type CommandVisitor Modifier and Type Method Description static voidStreams. connect(CommandStream inStream, PushStream outStream, CommandVisitor visitor)Attach the visitor as a handle to the inStream and propagate the done signal from the inStream to the outStreamConstructors in org.apache.sling.scripting.sightly.impl.compiler.util.stream with parameters of type CommandVisitor Constructor Description VisitorHandler(CommandVisitor visitor) -
Uses of CommandVisitor in org.apache.sling.scripting.sightly.impl.compiler.visitor
Classes in org.apache.sling.scripting.sightly.impl.compiler.visitor that implement CommandVisitor Modifier and Type Class Description classIgnoreRangeIgnore a nested range of commands.classStatefulRangeIgnoreVariant ofIgnoreRangeto be used in stateful visitors.classTrackingVisitor<T>Command visitor which tracks variables in commands.classUniformVisitorAbstract visitor that allows to skip processing some commands.
-