Mattia Barbon > ExtUtils-XSpp-0.01 > ExtUtils::XSpp::Node

Download:
ExtUtils-XSpp-0.01.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: ExtUtils-XSpp-0.05

NAME ^

ExtUtils::XSpp::Node - Base class for the parser output.

ExtUtils::XSpp::Node::print

Return a string to be output in the final XS file. Every class must override this method.

ExtUtils::XSpp::Node::Raw ^

Contains data that should be output "as is" in the destination file.

ExtUtils::XSpp::Node::Raw::rows

Returns an array reference holding the rows to be output in the final file.

ExtUtils::XSpp::Node::Package ^

Used to put global functions inside a Perl package.

ExtUtils::XSpp::Node::Package::cpp_name

Returns the C++ name for the package (will be used for namespaces).

ExtUtils::XSpp::Node::Package::perl_name

Returns the Perl name for the package.

ExtUtils::XSpp::Node::Class ^

A class (inherits from Package).

ExtUtils::XSpp::Node::Class::methods

ExtUtils::XSpp::Node::Access ^

Access specifier.

ExtUtils::XSpp::Node::Function ^

A function; this is also a base class for Method.

ExtUtils::XSpp::Node::Function::cpp_name

ExtUtils::XSpp::Node::Function::perl_name

ExtUtils::XSpp::Node::Function::arguments

ExtUtils::XSpp::Node::Function::ret_type

ExtUtils::XSpp::Node::Function::code

ExtUtils::XSpp::Node::Function::cleanup