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


MooseX-Declare documentation  | view source Contained in the MooseX-Declare distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

METHODS

Top

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.

REQUIRED METHODS

Top

get_identifier

  Str get_identifier ()

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

MODIFIED METHODS

Top

setup_for

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

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

SEE ALSO

Top

AUTHORS

Top

COPYRIGHT AND LICENSE

Top


MooseX-Declare documentation  | view source Contained in the MooseX-Declare distribution.