Treex::PML::Schema::Member documentation

Table of contents


NAME

ToC

Treex::PML::Schema::Member - implements declaration of a member of a structure.

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

$decl->get_decl_type_str ()

Returns the string 'member'.

$decl->get_name ()

Return name of the member.

$decl->is_required ()

Return 1 if the member is declared as required, 0 otherwise.

$decl->is_attribute ()

Return 1 if the member is declared as attribute, 0 otherwise.

$decl->get_parent_struct ()

Return the structure declaration the member belongs to.

$decl->get_knit_name ()

Return the member's name with a possible suffix '.rf' chopped-off, if either the member itself has a role '#KNIT' or its content is a list and has a role '#KNIT'. Otherwise return just the member's name.

SEE ALSO

ToC

Treex::PML::Schema::Decl, Treex::PML::Schema, Treex::PML::Schema::Struct.

COPYRIGHT AND LICENSE

ToC

BUGS

ToC

None reported... yet.