# Package org.apache.sling.scripting.sightly.impl.compiler.optimization

Interface Summary
StreamTransformer: Interface for stream transformations.

Class Summary
CoalescingWrites: Aggregate consecutive writes in bigger chunks of text
CommandVariableUsage: Extracts the variables used in a command
DeadCodeRemoval: Removes code under conditionals which are proven to fail.
SequenceStreamTransformer: Applies a list of transformations in sequence.
SyntheticMapRemoval: This optimization handles variables initialized to map literals.
UnusedVariableRemoval: This optimization removes variables which are bound but never used in the command stream.
VariableFinder: SideEffectVisitor which extracts all the variables from an expression.