Class ParenContOptimizer

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

public class ParenContOptimizer extends BaseOptimizer
Optimizer which puts the continuation of a seq into the seq.

For example:

  • (Foo Bar).Baz → (Foo Bar.Baz)
  • (Foo Bar):Baz → (Foo Bar:Baz)
  • (Foo Bar).baz → (Foo Bar.baz)
  • (Foo Bar).baz[] → (Foo Bar.baz[])
  • (Foo Bar)!! → (Foo Bar!!)