Paul Evans > Tangence > Tangence::Compiler::Argument

Download:
Tangence-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.08   Source  

NAME ^

Tangence::Compiler::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, as parsed by Tangence::Compiler::Parser. Once constructed, such objects are immutable.

CONSTRUCTOR ^

$argument = Tangence::Compiler::Argument->new( %args )

Returns a new instance initialised by the given arguments.

name => STRING

Name of the argument

type => STRING

Type of the arugment

ACCESSORS ^

$name = $argument->name

Returns the name of the class

$type = $argument->type

Return the type

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: