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

MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks

Author

       Florian Ragwitz <rafl@debian.org>

Description

       This role allows you to setup keyword handlers that are only available inside blocks or other scoping
       environments.

Methods

default_inner
         ArrayRef[Object] Object->default_inner ()

       Returns an empty "ArrayRef" by default. If you want to setup additional keywords you will have to
       "around" this method.

   setup_inner_for
         Object->setup_inner_for(ClassName $class, %args)

       Sets up all handlers in the inner class.

Modified Methods

setup_for
         Object->setup_for(ClassName $class, %args)

       After the keyword is setup inside itself, this will call "setup_inner_for".

Name

       MooseX::Declare::Syntax::InnerSyntaxHandling - Keywords inside blocks

Required Methods

get_identifier
         Str get_identifier ()

       Required to return the name of the identifier of the current handler.

See Also

       •   MooseX::Declare

       •   MooseX::Declare::Syntax::NamespaceHandling

       •   MooseX::Declare::Syntax::MooseSetup

Version

       version 0.43

See Also