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>