Paul Evans > Tangence-0.16 > Tangence::Meta::Argument

Download:
Tangence-0.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.16   Source   Latest Release: Tangence-0.19

NAME ^

Tangence::Meta::Argument - structure representing one Tangence method or event argument

DESCRIPTION ^

This data structure object stores information about one argument to a Tangence class method or event. Once constructed, such objects are immutable.

CONSTRUCTOR ^

$argument = Tangence::Meta::Argument->new( %args )

Returns a new instance initialised by the given arguments.

name => STRING

Name of the argument

type => STRING

Type of the arugment as a Tangence::Meta::Type reference

ACCESSORS ^

$name = $argument->name

Returns the name of the class

$type = $argument->type

Return the type as a Tangence::Meta::Type reference.

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: