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


Manual Reference Pages  -  EXTUTILS::XSPP::NODE::ENUM (3)

.ds Aq ’

NAME

ExtUtils::XSpp::Node::Enum - Node representing an enum declaration

CONTENTS

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).
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 EXTUTILS::XSPP::NODE::ENUM (3) 2016-03-17

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