OWL::D...Element(3pm)

πŸ’– OWL::DirectSemantics::Element πŸ’–

okay bestie, welcome to OWL::DirectSemantics::Element β€” she's the base class for OWL elements, and she is, lowkey, the blueprint that all the other little element classes are built from. it's giving foundation, it's giving matriarch, it's giving... a Perl module on the User Contributed Perl Documentation pages. periodt. πŸŽ€


✨ DESCRIPTION ✨

so the tea is: this could porssibly get refactored into a Moose::Role at some point. ngl, not sure yet. the author said it, not me. πŸ€·β™€οΈ

🌸 Constructor 🌸

  • new(%attributes) β€” do NOT construct this base class directly, bestie, I am begging you. construct a subclass instead. this one is the abstract mom, she doesn't want to be instantiated. πŸ’…

πŸ¦‹ Attributes πŸ¦‹

  • annotations β€” a list of annotations associated with this object. the value is an ArrayRef. yes, an arrayref, keep up. ✨
  • metadata β€” this metadata may be used by Writers, etc if it's available. so like, it's there if you need it, no pressure. 🌈

πŸ‘‘ Method πŸ‘‘

  • element_name β€” returns undef on the base class or on any abstract subclasses (she's mysterious like that). on the other subclasses it returns the element name, e.g. 'ClassAssertion' or 'Declaration'. iconic behavior honestly. 🫢

🌟 SEE ALSO 🌟

  • OWL::DirectSemantics β€” go look at her too, she's the whole vibe. iykyk.

πŸ’œ AUTHOR πŸ’œ

Toby Inkster <tobyink@cpan.org>. king behavior. πŸ‘‘


Copyright 2011-2012 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, share the love, that's the whole point. πŸ’–


πŸ’€ DISCLAIMER OF WARRANTIES πŸ’€

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

okay so this part is all caps for a reason, bestie β€” no promises, no guarantees, no take-backs. read it and weep (affectionately). 😭

and that's the page, fr fr. this was perl v5.32.1, dated 2021-09-11, straight from the OWL::D...Element(3pm) manual. mwah, go forth and subclass responsibly. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from