NAME

ExtUtils::XSpp::Parser - an XS++ parser

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

Create a new XS++ parser.

ExtUtils::XSpp::Parser::parse

Parse the file data; returns true on success, false otherwise, on failure get_errors will return the list of errors.

ExtUtils::XSpp::Parser::get_data

Returns a list containing the parsed data. Each item of the list is a subclass of ExtUtils::XSpp::Node

ExtUtils::XSpp::Parser::get_errors

Returns the parsing errors as an array.

ExtUtils::XSpp::Parser::load_plugin

Loads the specified plugin and calls its register_plugin method.

ExtUtils::XSpp::Parser::add_post_process_plugin

Adds the specified plugin to be called after parsing is complete to modify the parse tree before it is emitted.

ExtUtils::XSpp::Parser::add_class_tag_plugin

Adds the specified plugin to the list of plugins that can handle custom %foo annotations for a class.

ExtUtils::XSpp::Parser::add_function_tag_plugin

Adds the specified plugin to the list of plugins that can handle custom %foo annotations for a function.

ExtUtils::XSpp::Parser::add_method_tag_plugin

Adds the specified plugin to the list of plugins that can handle custom %foo annotations for a function.

ExtUtils::XSpp::Parser::add_toplevel_tag_plugin

Adds the specified plugin to the list of plugins that can handle custom %foo top level directives.