ExtUtils::XSpp::Node::Method - Node representing a method |
ExtUtils::XSpp::Node::Method - Node representing a method
An the ExtUtils::XSpp::Node::Function manpage sub-class representing a single method declaration in a class such as
class FooBar { int foo(double someArgument); // <-- this one }
Creates a new ExtUtils::XSpp::Node::Method
.
Most of the functionality of this class is inherited. This means that all named parameters of the ExtUtils::XSpp::Node::Function manpage are also valid for this class.
Additional named parameters accepted by the constructor:
class
, which can be an the ExtUtils::XSpp::Node::Class manpage
object, const
and virtual
that are true if the method has
been declared const
or virtual
.
Returns the name of the Perl function (method) that this
method represents. It is constructed from the method's
class's name and the perl_name
attribute.
Returns true, since all objects of this class are methods.
Returns the class (the ExtUtils::XSpp::Node::Class manpage) that the method belongs to.
Returns whether the method was declared virtual.
Set whether the method is to be considered virtual.
Returns whether the method was declared const.
Returns 'public'
, 'protected'
or 'private'
depending on
method access declaration. By default, only public methods are
generated.
ExtUtils::XSpp::Node::Method - Node representing a method |