logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Forest::Tree::Constructor - An abstract role for tree factories

Author

       Yuval Kogman

Bugs

       All complex software has bugs lurking in it, and this module is no exception. If you find a bug please
       either email me, or add the bug to cpan-RT.

Description

       This role provides the "create_new_subtree" method as required by Forest::Tree::Builder and
       Forest::Tree::Loader/Forest::Tree::Reader.

       See Forest::Tree::Builder for the reccomended usage.

Name

       Forest::Tree::Constructor - An abstract role for tree factories

Synopsis

           with qw(Forest::Tree::Constructor);

           sub tree_class { ... }

           sub foo {
               $self->create_new_subtree( ... )
           }

See Also