| MooseX-Declare documentation | view source | Contained in the MooseX-Declare distribution. |
MooseX::Declare::Syntax::Keyword::Role - Role declarations
CodeRef Object->generate_export ()
Returns a closure with a call to make_anon_metaclass.
List Object->imported_moose_symbols ()
Extends the existing imported_moose_symbols in MooseX::Declare::Syntax::MooseSetup
with requires, extends, has, inner and super.
Str Object->import_symbols_from ()
Will return Moose::Role instead of the default Moose.
Object Object->make_anon_metaclass ()
This will return an anonymous instance of Moose::Meta::Role.
This software is copyright (c) 2010 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| MooseX-Declare documentation | view source | Contained in the MooseX-Declare distribution. |