The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tangence::Meta::Method - structure representing one Tangence method

DESCRIPTION

This data structure object stores information about one Tangence class method. Once constructed, such objects are immutable.

CONSTRUCTOR

$method = Tangence::Meta::Method->new( %args )

Returns a new instance initialised by the given arguments.

class => Tangence::Meta::Class

Reference to the containing class

name => STRING

Name of the method

args => ARRAY

Optional ARRAY reference containing arguments as Tangence::Meta::Argument references.

ret => STRING

Optional string giving the return value type as a string.

ACCESSORS

$class = $method->class

Returns the class the method is a member of

$name = $method->name

Returns the name of the class

@arguments = $method->arguments

Return the arguments in a list of Tangence::Meta::Argument references.

@argtypes = $method->argtypes

Return the argument types in a list of strings.

$ret = $method->ret

Returns the return type as a string, or undef if the method does not return a value.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>