E. Choroba > Treex-PML > Treex::PML::Schema::Alt

Download:
Treex-PML-2.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.16   Source  

NAME ^

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

INHERITANCE ^

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

METHODS ^

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

$decl->is_atomic ()

Returns 0.

SEE ALSO ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2008-2010 by Petr Pajas

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or, at your option, any later version of Perl 5 you may have available.

BUGS ^

None reported... yet.

syntax highlighting: