1ExtUtils::XSpp::Parser(U3s)er Contributed Perl DocumentatEixotnUtils::XSpp::Parser(3)
2
3
4
6 ExtUtils::XSpp::Parser - an XS++ parser
7
8 ExtUtils::XSpp::Parser::new( file => path )
9 Create a new XS++ parser.
10
11 ExtUtils::XSpp::Parser::parse
12 Parse the file data; returns true on success, false otherwise, on
13 failure "get_errors" will return the list of errors.
14
15 ExtUtils::XSpp::Parser::get_data
16 Returns a list containing the parsed data. Each item of the list is a
17 subclass of "ExtUtils::XSpp::Node"
18
19 ExtUtils::XSpp::Parser::get_errors
20 Returns the parsing errors as an array.
21
22 ExtUtils::XSpp::Parser::load_plugin
23 Loads the specified plugin and calls its "register_plugin" method.
24
25 ExtUtils::XSpp::Parser::add_post_process_plugin
26 Adds the specified plugin to be called after parsing is complete to
27 modify the parse tree before it is emitted.
28
29 ExtUtils::XSpp::Parser::add_class_tag_plugin
30 Adds the specified plugin to the list of plugins that can handle custom
31 %foo annotations for a class.
32
33 ExtUtils::XSpp::Parser::add_function_tag_plugin
34 Adds the specified plugin to the list of plugins that can handle custom
35 %foo annotations for a function.
36
37 ExtUtils::XSpp::Parser::add_method_tag_plugin
38 Adds the specified plugin to the list of plugins that can handle custom
39 %foo annotations for a function.
40
41 ExtUtils::XSpp::Parser::add_argument_tag_plugin
42 Adds the specified plugin to the list of plugins that can handle custom
43 %foo annotations for an arguments.
44
45 ExtUtils::XSpp::Parser::add_toplevel_tag_plugin
46 Adds the specified plugin to the list of plugins that can handle custom
47 %foo top level directives.
48
49
50
51perl v5.32.1 2021-01-27 ExtUtils::XSpp::Parser(3)