MooseX::Declare::Syntax::Keyword::Role - Role declarations


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

Index


NAME

Top

MooseX::Declare::Syntax::Keyword::Role - Role declarations

METHODS

Top

generate_export

  CodeRef Object->generate_export ()

Returns a closure with a call to make_anon_metaclass.

CONSUMES

Top

MODIFIED METHODS

Top

imported_moose_symbols

  List Object->imported_moose_symbols ()

Extends the existing imported_moose_symbols in MooseX::Declare::Syntax::MooseSetup with requires, extends, has, inner and super.

import_symbols_from

  Str Object->import_symbols_from ()

Will return Moose::Role instead of the default Moose.

make_anon_metaclass

  Object Object->make_anon_metaclass ()

This will return an anonymous instance of Moose::Meta::Role.

SEE ALSO

Top

AUTHORS

Top

COPYRIGHT AND LICENSE

Top


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