ExtUtils::XSpp::Node(3)

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

  ExtUtils::XSpp::Node::Function::argument_style
Returns either "ansi" or "kr". "kr" is the default. "ansi" is returned if any one of the arguments uses the XS "length" feature.