Paul Evans > Tangence > Tangence::Meta::Event

Download:
Tangence-0.19.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.19   Source  

NAME ^

Tangence::Meta::Event - structure representing one Tangence event

DESCRIPTION ^

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

CONSTRUCTOR ^

$event = Tangence::Meta::Event->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 event

arguments => ARRAY

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

ACCESSORS ^

$class = $event->class

Returns the class the event is a member of

$name = $event->name

Returns the name of the class

@arguments = $event->arguments

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

@argtypes = $event->argtypes

Return the argument types in a list of strings.

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: