|
NAMEExtUtils::XSpp::Node::Enum - Node representing an enum declarationDESCRIPTIONAn ExtUtils::XSpp::Node subclass representing an "enum" declaration. As an exampleenum 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. METHODSnewmy $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. ACCESSORSnameReturns the name of the enumeration, or "undef" for anonymous enumerations.elementsAn array reference containing mostly ExtUtils::XSpp::Node::EnumValue (it can contain other kinds of nodes).
Visit the GSP FreeBSD Man Page Interface. |