ginger-0.8.4.0: An implementation of the Jinja2 template language in Haskell

Safe HaskellNone
LanguageHaskell2010

Text.Ginger.Optimizer

Description

A syntax tree optimizer

Documentation

class Optimizable a where Source #

Methods

optimize :: a -> a Source #

Instances
Optimizable (Expression a) Source # 
Instance details

Defined in Text.Ginger.Optimizer

Optimizable (Statement a) Source # 
Instance details

Defined in Text.Ginger.Optimizer

Optimizable (Block a) Source # 
Instance details

Defined in Text.Ginger.Optimizer

Methods

optimize :: Block a -> Block a Source #

Optimizable (Macro a) Source # 
Instance details

Defined in Text.Ginger.Optimizer

Methods

optimize :: Macro a -> Macro a Source #

Optimizable (Template a) Source # 
Instance details

Defined in Text.Ginger.Optimizer

Methods

optimize :: Template a -> Template a Source #