NAME

Locale::Babelfish::Phrase::Compiler - Babelfish AST Compiler

VERSION

version 2.12

DESCRIPTION

Compiles AST to string or to coderef.

METHODS

new

$class->new()
$class->new( $ast )

Instantiates AST compiler.

init

Initializes compiler. Should not be called directly.

throw

$self->throw( $message )

Throws given message in compiler context.

compile

$self->compile()
$self->compile( $ast )

Compiles AST.

Result is string when possible; coderef otherwise.

AUTHORS

  • Akzhan Abdulin <akzhan@cpan.org>

  • Igor Mironov <grif@cpan.org>

  • Victor Efimov <efimov@reg.ru>

  • REG.RU LLC

  • Kirill Sysoev <k.sysoev@me.com>

  • Alexandr Tkach <tkach@reg.ru>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by REG.RU LLC.

This is free software, licensed under:

The MIT (X11) License