Treex::PML::Schema::Alt documentation

Table of contents


NAME

ToC

Treex::PML::Schema::Alt - implements declaration of an alternative (alt).

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_ALT_DECL.

$decl->get_decl_type_str ()

Returns the string 'alt'.

$decl->get_content_decl ()

Return type declaration of the list members.

$decl->is_flat ()

Return 1 for ``flat'' alternatives, otherwise return 0. (Flat alternatives are not part of PML specification, but are used for translating attribute values from Treex::PML::FSFormat.)

SEE ALSO

ToC

Treex::PML::Schema::Decl, Treex::PML::Schema, Treex::PML::Alt

COPYRIGHT AND LICENSE

ToC

BUGS

ToC

None reported... yet.