NAME
Data::Sah::Compiler::BaseCompiler::TH::BaseTH - Base class for type handlers
VERSION
version 0.02
DESCRIPTION
This is the base class for type handlers.
ATTRIBUTES
METHODS
$th->list_clauses() => ARRAYREF
Return list of known type clause names. Basically what it does is list methods matching /clause_(.+)/.
$th->is_clause($name) => BOOL
Return true if $name is a valid type clause name.
$th->list_names_of_clause($name) => ARRAYREF
Return a list of names and alias namees for clause named $name. The first element is the canonical name and the rest are aliases. If [$name] is returned, it means the clause doesn't have any aliases.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.