Paul Evans > Tangence-0.19 > Tangence::Meta::Field

Download:
Tangence-0.19.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.19   Source   Latest Release: Tangence-0.20

NAME ^

Tangence::Meta::Field - structure representing one Tangence structure field

DESCRIPTION ^

This data structure object stores information about one field of a Tangence structure. Once constructed, such objects are immutable.

CONSTRUCTOR ^

$field = Tangence::Meta::Field->new( %args )

Returns a new instance initialised by the given fields.

name => STRING

Name of the field

type => STRING

Type of the field as a Tangence::Meta::Type reference

ACCESSORS ^

$name = $field->name

Returns the name of the field

$type = $field->type

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

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: