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
- ubuntu stonking: libextutils-xspp-perl 0.1900-1 Β· 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