ExtUti...Parser(3pm)

🌸 NAME 🌸

ExtUtils::XSpp::Parser β€” an XS++ parser, bestie. it parses XS++ for you, no cap πŸ’–


✨ DESCRIPTION ✨

okay so this whole page is just the methods, one after another, and honestly? each one is a lil baddie with a job. here's the whole roster, no skips, no summarising, we're going full main character 🫢

🌈 ExtUtils::XSpp::Parser::new( file => path )

makes u a brand new XS++ parser. yes, you pass it file => path, and that's ur parser. iconic behaviour πŸ’…

🌈 ExtUtils::XSpp::Parser::parse

it parses the file data, periodt. returns true on success, false otherwise. and if it fails? get_errors will hand u the list of errors, so u can go read exactly what went wrong 😭

🌈 ExtUtils::XSpp::Parser::get_data

returns a list with the parsed data in it. every single item in that list is a subclass of ExtUtils::XSpp::Node β€” so like, a whole lil family of node objects ✨

🌈 ExtUtils::XSpp::Parser::get_errors

hands u the parsing errors as an array. that's it. that's the method πŸŽ€

🌈 ExtUtils::XSpp::Parser::load_plugin

loads the plugin u specified and calls its register_plugin method. yes it does both. slay πŸ”₯

🌈 ExtUtils::XSpp::Parser::add_post_process_plugin

adds the plugin u specified so it gets called after parsing is complete, to modify the parse tree before it is emitted. so like, post-parse glow-up phase πŸ’œ

🌈 ExtUtils::XSpp::Parser::add_class_tag_plugin

adds the plugin u specified to the list of plugins that can handle custom %foo annotations for a class πŸ‘‘

🌈 ExtUtils::XSpp::Parser::add_function_tag_plugin

adds the plugin u specified to the list of plugins that can handle custom %foo annotations for a function ⭐

🌈 ExtUtils::XSpp::Parser::add_method_tag_plugin

adds the plugin u specified to the list of plugins that can handle custom %foo annotations for a function. (yeah, "function" β€” that's literally what the page says, i'm not editing the source, i'm just the messenger bestie πŸ™ˆ)

🌈 ExtUtils::XSpp::Parser::add_argument_tag_plugin

adds the plugin u specified to the list of plugins that can handle custom %foo annotations for an arguments. πŸ“

🌈 ExtUtils::XSpp::Parser::add_toplevel_tag_plugin

adds the plugin u specified to the list of plugins that can handle custom %foo top level directives. toplevel? we love a top level moment 🧚


not me reading through every single one of these instead of skipping to the end πŸ’€ u should too tho, they all do different things and i'm obsessed.

okay bestie that's the whole page, and for the cute lil sign-off: this is ExtUti...Parser(3pm) from the perl v5.40.1 era, dated 2026-07-03, and it's under User Contributed Perl Documentation πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from