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

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

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

   $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

   $name = $argument->name

Returns the name of the class

   $type = $argument->type

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

Paul Evans <leonerd@leonerd.org.uk>

2021-04-30 perl v5.32.1