GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ExtUtils::XSpp::Node::Argument(3) User Contributed Perl Documentation ExtUtils::XSpp::Node::Argument(3)

ExtUtils::XSpp::Node::Argument - Node representing a method/function argument

An ExtUtils::XSpp::Node subclass representing a single function or method argument such as

  int foo = 0.

which would translate to an "ExtUtils::XSpp::Node::Argument" which has its "type" set to "int", its "name" set to "foo" and its "default" set to 0..

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

Named parameters: "type" indicating the C++ argument type, "name" indicating the variable name, and optionally "default" indicating the default value of the argument.

Returns true if the argument uses the XS length feature, false otherwise.

Returns the same as the "name" method unless the argument is of the "%length(something)" variant. In that case, "implementation_name" returns a munged version of the name that addresses the name mangling done by xsubpp: "XSauto_length_of_somthing".

Given a code string, replaces any occurrances of the name of this "Argument" with its implementation name. If the implementation name is the same as the name, which is the most likely case, the code remains completely untouched.

Returns the potentially modified code.

Returns the type of the argument.

Returns the variable name of the argument variable.

Returns the default for the function parameter if any.

Returns whether there is a default for the function parameter.

Returns a reference to the containing function/method.

Returns the 0-based index of the argument in the argument list.
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.