Rechercher une page de manuel
ExtUtils::XSpp::Node::Argument.3pm
Langue: en
Version: 2010-05-11 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
ExtUtils::XSpp::Node::Argument - Node representing a method/function argumentDESCRIPTION
An ExtUtils::XSpp::Node subclass representing a single function or method argument such asint 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..
METHODS
new
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.
ACCESSORS
type
Returns the type of the argument.name
Returns the variable name of the argument variable.default
Returns the default for the function parameter if any.has_default
Returns whether there is a default for the function parameter.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre