NAME

Salvation::MacroProcessor::Meta::Role - Salvation::MacroProcessor's role for metaclasses

REQUIRES

List::MoreUtils

Module::Load

Scalar::Util

Carp::Assert

Moose

METHODS

smp_add_alias

 $meta -> smp_add_alias( $alias, $name );

Backend for Salvation::MacroProcessor::smp_add_alias.

smp_add_connector

 $meta -> smp_add_connector( $connector );

Backend for Salvation::MacroProcessor::smp_add_connector.

$connector is a Salvation::MacroProcessor::Connector instance.

smp_add_description

 $meta -> smp_add_description( $description );

Backend for Salvation::MacroProcessor::smp_add_description.

$description is a Salvation::MacroProcessor::MethodDescription instance.

smp_add_share

 $meta -> smp_add_share( $name, $code );

Backend for Salvation::MacroProcessor::smp_add_share.

smp_import_descriptions

 $meta -> smp_import_descriptions( {
        class => $class,
        prefix => $prefix,
        list => $list,
        connector => $connector
 } );

Backend for Salvation::MacroProcessor::smp_import_descriptions.

smp_import_shares

 $meta -> smp_import_shares( {
        class => $class,
        prefix => $prefix,
        list => $list
 } );

Backend for Salvation::MacroProcessor::smp_import_shares.

smp_find_connector_by_name

 $meta -> smp_find_connector_by_name( $name );

$name is a string.

Finds and returns Salvation::MacroProcessor::Connector instance, or undef if nothing is found.

Looks firstly at current class, secondly at its roles and thirdly at class's ancestors, if any.

smp_find_description_by_name

 $meta -> smp_find_description_by_name( $name );

$name is a string.

Finds and returns Salvation::MacroProcessor::MethodDescription instance, or undef if nothing is found.

Looks firstly at aliases of current class, secondly at descriptions of current class, thirdly at roles of current class, fourthly at ancestors of current class, and fifthly at imported descriptions (ones which have been imported here) of current class, if any.

smp_find_share_by_name

 $meta -> smp_find_share_by_name( $name );

$name is a string.

Finds and returns CodeRef, or undef if nothing is found.

Looks firstly at current class, secondly at its roles, thirdly at its ancestors and fourthly at imported shares (ones which have been imported here) of current class, if any.

smp_find_share_import_spec_by_name

 $meta -> smp_find_share_import_spec_by_name( $name );

$name is a string.

smp_get_all_aliases

 $meta -> smp_get_all_aliases();

smp_get_all_aliases_names

 $meta -> smp_get_all_aliases_names();

smp_get_all_descriptions

 $meta -> smp_get_all_descriptions();

smp_get_all_descriptions_names

 $meta -> smp_get_all_descriptions_names();

smp_get_all_imported_descriptions

 $meta -> smp_get_all_imported_descriptions();

smp_get_all_imported_descriptions_names

 $meta -> smp_get_all_imported_descriptions_names();

smp_get_all_imported_shares

 $meta -> smp_get_all_imported_shares();

smp_get_all_imported_shares_names

 $meta -> smp_get_all_imported_shares_names();

smp_get_all_shares

 $meta -> smp_get_all_shares();

smp_get_all_shares_names

 $meta -> smp_get_all_shares_names();

smp_uniq_aliases

 $meta -> smp_uniq_aliases();

smp_uniq_descriptions

 $meta -> smp_uniq_descriptions();

smp_uniq_shares

 $meta -> smp_uniq_shares();