Treex::PML::Schema::Constant documentation

Table of contents


NAME

ToC

Treex::PML::Schema::Constant - implements constant declaration.

INHERITANCE

ToC

This class inherits from Treex::PML::Schema::Decl.

METHODS

ToC

See the super-class for the complete list.

$decl->get_decl_type ()

Returns the constant PML_CONSTANT_DECL.

$decl->get_decl_type_str ()

Returns the string 'constant'.

$decl->get_value ()

Return the constant value.

$decl->get_values ()

Returns a singleton list consisting of the constant value (for compatibility with choice declarations).

SEE ALSO

ToC

Treex::PML::Schema::Decl, Treex::PML::Schema, Treex::PML::Schema::Choice.

COPYRIGHT AND LICENSE

ToC

BUGS

ToC

None reported... yet.