| 1 | use v5.10; | ||
| 2 | use MooseX::Declare; | ||
| 3 | class Mildew::Backend::DumpAST with Mildew::Backend { | ||
| 4 | has format=>(is=>'ro'); | ||
| 5 | method compile($ast,$output) { | ||
| 6 | $self->output($self->format->($ast),$output); | ||
| 7 | } | ||
| 8 | method run($ast) { | ||
| 9 | die; | ||
| 10 | } | ||
| 11 | } | ||
| 12 | __END__ |