extutils::xspp::node::class(3pm) [debian man page]
ExtUtils::XSpp::Node::Class(3pm) User Contributed Perl Documentation ExtUtils::XSpp::Node::Class(3pm)NAME
ExtUtils::XSpp::Node::Class - A class (inherits from Package).
DESCRIPTION
An ExtUtils::XSpp::Node::Package sub-class representing a class declaration such as
%name{PerlClassName} class MyClass : public BaseClass
{
...
}
The Perl-level class name and the C++ class name attributes are inherited from the ExtUtils::XSpp::Node::Package class.
METHODS
new
Creates a new "ExtUtils::XSpp::Node::Class" object.
Optional named parameters: "methods" can be a reference to an array of methods (ExtUtils::XSpp::Node::Method) of the class, and
"base_classes", a reference to an array of base classes ("ExtUtils::XSpp::Node::Class" objects). "catch" may be a list of exception names
that all methods in the class handle.
add_methods
Adds new methods to the class. By default, their scope is "public". Takes arbitrary number of arguments which are processed in order.
If an argument is an ExtUtils::XSpp::Node::Access, the current method scope is changed accordingly for all following methods.
If an argument is an ExtUtils::XSpp::Node::Method it is added to the list of methods of the class. The method's class name is set to the
current class and its scope is set to the current method scope.
ACCESSORS
methods
Returns the internal reference to the array of methods in this class. Each of the methods is an "ExtUtils::XSpp::Node::Method"
base_classes
Returns the internal reference to the array of base classes of this class.
If the base classes have been defined in the same file, these are the complete class objects including method definitions, otherwise only
the C++ and Perl name of the class are available as attributes.
perl v5.14.2 2011-12-20 ExtUtils::XSpp::Node::Class(3pm)
Check Out this Related Man Page
ExtUtils::XSpp::Parser(3pm) User Contributed Perl Documentation ExtUtils::XSpp::Parser(3pm)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.
perl v5.14.2 2011-12-20 ExtUtils::XSpp::Parser(3pm)
Is anyone know how to write a class in separate file? While method does it needs to be contained in a printwriter class? Can I have the format of the printwriter class as a reference? Thanks a lot. (1 Reply)
Hi, I need help to Link array from one class to another class
Firstly CSVParser Class what it did is load csv file and store into array
Secondly WarehouseItem where each record is store
How can I get a list of array that I load to CSVParser Class and store them to WarehouseItem and... (0 Replies)
Hi,
Time for me to take a formal class/course on Perl. I was wondering if someone here can recommend an on-line class. My institution will cover the expenses, and therefore, I am not worry about the cost. I am lookin for a beginner course with possibilities to take intermediate and advance... (2 Replies)