The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 2.003

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

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The MIT (X11) License