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

new

$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

$class = $event->class

Returns the class the event is a member of

name

$name = $event->name

Returns the name of the class

arguments

@arguments = $event->arguments

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

argtypes

@argtypes = $event->argtypes

Return the argument types in a list of strings.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>