Class EliminateUnusedOptimizer

All Implemented Interfaces:
Function<Itree,Itree>, UnaryOperator<Itree>, ItreeVisitor<Itree>

public class EliminateUnusedOptimizer extends BaseOptimizer
Eliminates unused code from a seq.

Unused code are expressions (1) which do not not have side effect and (2) the result of which is removed just after evaluated, and (3) the execution shall not raise an exception.