Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ExtUtils::XSpp::Node::UseroContributed Perl DocExtUtils::XSpp::Node::Method(3)

NAME
       ExtUtils::XSpp::Node::Method - Node representing	a method

DESCRIPTION
       An ExtUtils::XSpp::Node::Function sub-class representing	a single
       method declaration in a class such as

	 class FooBar {
	   int foo(double someArgument); // <--	this one
	 }

METHODS
   new
       Creates a new "ExtUtils::XSpp::Node::Method".

       Most of the functionality of this class is inherited. This means	that
       all named parameters of ExtUtils::XSpp::Node::Function are also valid
       for this	class.

       Additional named	parameters accepted by the constructor:	"class", which
       can be an ExtUtils::XSpp::Node::Class object, "const" and "virtual"
       that are	true if	the method has been declared "const" or	"virtual".

   perl_function_name
       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.

   is_method
       Returns true, since all objects of this class are methods.

   ACCESSORS
   class
       Returns the class (ExtUtils::XSpp::Node::Class) that the	method belongs
       to.

   virtual
       Returns whether the method was declared virtual.

   set_virtual
       Set whether the method is to be considered virtual.

   const
       Returns whether the method was declared const.

   access
       Returns 'public', 'protected' or	'private' depending on method access
       declaration.  By	default, only public methods are generated.

perl v5.24.1			  2017-07-02   ExtUtils::XSpp::Node::Method(3)

NAME | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ExtUtils::XSpp::Node::Method&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help