XMLish

NAME LibXML::Class::Attr::XMLish - base role of all attribute descriptors|../Descriptor.md

DESCRIPTION

Attributes

  • Attribute:D $.attr

    The Raku attribute of this descriptor.

  • Bool $.lazy

    If this attribute must be lazily deserialized. Note that if not explicitly set then laziness flags of this attribute would be computed based on attribute's type and LibXML::Class::Config eage parameter.

  • Mu:U $.value-type

    What an XML representation would be deserialized into? For Positional or Associative attributes this is the type provided by $.attr.type.of.

    Note that to be considered positional or associative the attribute must have corresponding sigil. Say, has Positional $.foo is not positional for LibXML::Class.

  • Mu:U $.nominal-type

    Nominalization of $.value-type.

Methods

  • method sigil()

    Attribute's sigil.

Required Methods

  • method kind(-- Str:D) {...}>

    Return the most concise description of attribute descriptor. For example, "value element".

SEE ALSO

COPYRIGHT

(c) 2023, Vadim Belman [email protected]

LICENSE

Artistic License 2.0

See the LICENSE file in this distribution.

LibXML::Class v0.0.1

General purpose XML de-/serialization for Raku

Authors

  • Vadim Belman

License

Artistic-2.0

Dependencies

LibXML:ver<0.10.0>:auth<zef:dwarring>AttrX::Mooish:auth<zef:vrurg>:api<1.0.0+>:ver<1.0.3+>Hash::Merge:ver<2.0.0>:auth<github:scriptkitties>:api<2>

Provides

  • LibXML::Class
  • LibXML::Class::Attr
  • LibXML::Class::Attr::Node
  • LibXML::Class::Attr::XMLish
  • LibXML::Class::CX
  • LibXML::Class::Config
  • LibXML::Class::Descriptor
  • LibXML::Class::Document
  • LibXML::Class::HOW::AttrContainer
  • LibXML::Class::HOW::Configurable
  • LibXML::Class::HOW::Element
  • LibXML::Class::HOW::ElementRole
  • LibXML::Class::HOW::ElementSeq
  • LibXML::Class::HOW::Explicit
  • LibXML::Class::HOW::Imply
  • LibXML::Class::HOW::Named
  • LibXML::Class::ItemDescriptor
  • LibXML::Class::NS
  • LibXML::Class::Node
  • LibXML::Class::Types
  • LibXML::Class::Utils
  • LibXML::Class::X
  • LibXML::Class::XML

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.