extutils::xspp::node::method(3pm) [debian man page]
ExtUtils::XSpp::Node::Method(3pm) User Contributed Perl Documentation ExtUtils::XSpp::Node::Method(3pm)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.14.2 2011-12-20 ExtUtils::XSpp::Node::Method(3pm)
Check Out this Related Man Page
RDF::Query::Node(3pm) User Contributed Perl Documentation RDF::Query::Node(3pm)NAME
RDF::Query::Node - Base class for RDF Nodes
VERSION
This document describes RDF::Query::Node version 2.908.
METHODS
"is_variable"
Returns true if this RDF node is a variable, false otherwise.
"compare ( $a, $b )"
Returns -1, 0, or 1 if $a is less than, equal to, or greater than $b, respectively, according to the SPARQL sorting rules.
"from_trine ( $node )"
Returns a new RDF::Query::Node object with the same value as $node, a RDF::Trine::Node object. This essentially promotes $node to a
node object with extra functionality provided by the RDF::Query package (like SPARQL-defined ordering).
"explain"
Returns a string serialization of the node appropriate for display on the command line. This method is primarily used by the "explain"
method of the subclasses of RDF::Query::Plan.
FUNCTIONS
"compare ( $node_a, $node_b )"
Returns -1, 0, or 1 if $node_a sorts less than, equal to, or greater than $node_b in the defined SPARQL ordering, respectively. This
function may be used as the function argument to "<sort">.
"iri ( $iri )"
Returns a RDF::Query::Node::Resource object with the given IRI value.
"blank ( $id )"
Returns a RDF::Query::Node::Blank object with the given identifier.
"literal ( $value, $lang, $dt )"
Returns a RDF::Query::Node::Literal object with the given value and optional language/datatype.
"variable ( $name )"
Returns a RDF::Query::Node::Variable object with the given variable name.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Node(3pm)
Hello all
i have some function what looks like this
class.method("servantName").servantMethod(arg1,arg2,arg3)
now i need to convert it to :
class.method("servantName","servantMethod",arg1,arg2,arg3);
is there any wasy way to do that consider that the arg1+2+3 can be also... (1 Reply)
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
there are about 300 objectivec .m files and I need to print each file name and its method and number of lines inside the method
there is a sample perl files that do perl brace matching... (0 Replies)