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 anArrayRef. 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β returnsundefon 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 π
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
- debian bookworm: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms