PPI::St...:Unknown(3)

✨ NAME ✨

okay bestie, welcome to PPI::St...:Unknown(3) β€” it's an unknown or unresolved brace structure and honestly? it's giving "mystery era" πŸ’…


πŸ¦‹ INHERITANCE πŸ¦‹

the family tree, no cap 🌳

PPI::Structure::Unknown
is a PPI::Structure
    isa PPI::Node
        isa PPI::Element

🌸 DESCRIPTION 🌸

so PPI::Structure::Unknown is the class for braces whose type is unknown, or like... temporarily unknown. it's the "we'll figure out who we are later" of brace classes πŸŽ€

it mainly exists temporarily inside the lexer. and like, some brace types can be clocked immediately at the opening brace, sure, but there are a whole bunch of different brace types that can only be correctly identified after the braces are closed. so it just hangs out being mysterious in the meantime 🧚

a structure is typed as unknown during this period when it is indeterminate. it's in its figuring things out arc, periodt.

πŸ’€ listen up bestie, this part matters: a PPI::Structure::Unknown object should not ever make it out of the lexer without being converted to its final type. so if you ever encounter this class in a PDOM tree, that's a bug and it should be considered a bug and reported accordingly. not a vibe. report it. fr fr 😭

πŸ’… METHODS πŸ’…

okay so here's the tea: PPI::Structure::Unknown has no methods beyond those provided by the standard PPI::Structure, PPI::Node and PPI::Element methods. that's it. that's the whole menu. it's lowkey just vibing off its ancestors πŸ‘‘


🫢 SUPPORT 🫢

see the support section in the main module. (iykyk, it's all over there ✨)


πŸ‘‘ AUTHOR πŸ‘‘

Adam Kennedy <adamk@cpan.org>


Copyright 2001 - 2011 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.


and that's the whole page bestie!! πŸŽ€ this was perl v5.42.0, dated 2026-01-17, from the PPI::St...:Unknown(3) era of User Contributed Perl Documentation. slay, ate, no crumbs left. bye pookie πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from