1ExtUtils::XSpp::Node::MUestehrodC(o3n)tributed Perl DocuEmxetnUttaitliso:n:XSpp::Node::Method(3)
2
3
4

NAME

6       ExtUtils::XSpp::Node::Method - Node representing a method
7

DESCRIPTION

9       An ExtUtils::XSpp::Node::Function sub-class representing a single
10       method declaration in a class such as
11
12         class FooBar {
13           int foo(double someArgument); // <-- this one
14         }
15

METHODS

17   new
18       Creates a new "ExtUtils::XSpp::Node::Method".
19
20       Most of the functionality of this class is inherited. This means that
21       all named parameters of ExtUtils::XSpp::Node::Function are also valid
22       for this class.
23
24       Additional named parameters accepted by the constructor: "class", which
25       can be an ExtUtils::XSpp::Node::Class object, "const" and "virtual"
26       that are true if the method has been declared "const" or "virtual".
27
28   perl_function_name
29       Returns the name of the Perl function (method) that this method
30       represents. It is constructed from the method's class's name and the
31       "perl_name" attribute.
32
33   is_method
34       Returns true, since all objects of this class are methods.
35
36   ACCESSORS
37   class
38       Returns the class (ExtUtils::XSpp::Node::Class) that the method belongs
39       to.
40
41   virtual
42       Returns whether the method was declared virtual.
43
44   set_virtual
45       Set whether the method is to be considered virtual.
46
47   const
48       Returns whether the method was declared const.
49
50   access
51       Returns 'public', 'protected' or 'private' depending on method access
52       declaration.  By default, only public methods are generated.
53
54
55
56perl v5.32.0                      2020-07-28   ExtUtils::XSpp::Node::Method(3)
Impressum