ExtUtils::XSpp::Parser.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-11 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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.