DOKK / manpages / debian 11 / libtangence-perl / Tangence::Meta::Event.3pm.en
Tangence::Meta::Event(3pm) User Contributed Perl Documentation Tangence::Meta::Event(3pm)

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

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

   $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.

   $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.

Paul Evans <leonerd@leonerd.org.uk>

2021-04-30 perl v5.32.1