Optimize

trait Optimize
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def optimize[T](inline node: Node[T]): Node[T]

Optimize template to monolith (if possible) levsha.Document.Node in compile time. Note this method touched by non-idempotent typechecking bug of Scala compiler. It means, sometimes your code could be broken. Try not to insert non-DSL code into optimize {} call.

Optimize template to monolith (if possible) levsha.Document.Node in compile time. Note this method touched by non-idempotent typechecking bug of Scala compiler. It means, sometimes your code could be broken. Try not to insert non-DSL code into optimize {} call.

See also