Scroll to navigation

Tangence::Meta::Argument(3pm) User Contributed Perl Documentation Tangence::Meta::Argument(3pm)

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

new

   $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

   $name = $argument->name

Returns the name of the class

type

   $type = $argument->type

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

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>

2021-04-30 perl v5.32.1