extutils::xspp::node::enum(3pm) debian man page | unix.com

Man Page: extutils::xspp::node::enum

Operating Environment: debian

Section: 3pm

ExtUtils::XSpp::Node::Enum(3pm) 			User Contributed Perl Documentation			   ExtUtils::XSpp::Node::Enum(3pm)

NAME
ExtUtils::XSpp::Node::Enum - Node representing an enum declaration
DESCRIPTION
An ExtUtils::XSpp::Node subclass representing an "enum" declaration. As an example enum Bool { FALSE = 0, TRUE }; will create an "ExtUtils::XSpp::Node::Enum" object with "name" "Bool" and two ExtUtils::XSpp::Node::EnumValue values in the "arguments" array. Enumerations do not affect the generated code.
METHODS
new my $e = ExtUtils::XSpp::Node::Enum->new( name => 'Bool', elements => [ ... ], ); Creates a new "ExtUtils::XSpp::Node::Enum". "name" gives the name of the enumeration, "undef" for anonymous enumerations. "elements" should only contain ExtUtils::XSpp::Node::EnumValue or ExtUtils::XSpp::Node::Raw objects.
ACCESSORS
name Returns the name of the enumeration, or "undef" for anonymous enumerations. elements An array reference containing mostly ExtUtils::XSpp::Node::EnumValue (it can contain other kinds of nodes). perl v5.14.2 2011-12-20 ExtUtils::XSpp::Node::Enum(3pm)
Related Man Pages
extutils::typemaps::cmd5.18(3pm) - mojave
extutils::typemaps::cmd(3pm) - debian
extutils::xspp::exception(3pm) - debian
extutils::xspp::node::method(3pm) - debian
extutils::xspp::parser(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Find columns in a file based on header and print to new file
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections