logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ExtUtils::XSpp::Node::Constructor - Node representing a constructor method

Description

       An ExtUtils::XSpp::Node::Method subclass representing a constructor such as:

         class FooBar {
           FooBar(); // <-- this one
         };

Methods

new
       Creates a new "ExtUtils::XSpp::Node::Constructor".

       Most of the functionality of this class is inherited. This means that all named parameters of
       ExtUtils::XSpp::Node::Method and its base class are also valid for this class' constructor.

       Additionally, this class requires that no return type has been specified as constructors do not have
       return types.

   ret_type
       Unlike the "ret_type" method of the ExtUtils::XSpp::Node::Method class, "ret_type" will return the type
       "pointer to object of this class" as return type of the constructor.

perl v5.34.0                                       2022-06-13             ExtUtils::XSpp::Node::Constructor(3pm)

Name

       ExtUtils::XSpp::Node::Constructor - Node representing a constructor method

See Also