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

NAME

Plosurin::SoyTree - syntax tree

SYNOPSIS

    my $plo = new Plosurin::SoyTree( src => $self->body );

DESCRIPTION

Plosurin::SoyTree - syntax tree

parse {map_of_variables}

    my $e = new Soy::Expresion('1+2');
    $e->parse({w=>"local_variable"});

new

    my $st = new Plosurin::SoyTree( 
            src => "txt",
            srcfile=>"filesrc",
            offset=>0
            );

parse

return [node1, node2]

raw

return syntax tree

reduce_tree

Union raw_text nodes

dump_tree($obj1 [, $objn])

Minimalistic tree return [ "clasname", {key1=>key2} ]

SEE ALSO

Closure Templates Documentation http://code.google.com/closure/templates/docs/overview.html

Perl 6 implementation https://github.com/zag/plosurin

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.