springroll.EnumValue Class

Module: Core

An enumeration value. This class is private, and is only used by Enum.

Constructor

springroll.EnumValue

(
  • name
  • value
  • toString
)
private

Parameters:

  • name String

    The name of the enum value.

  • value Int

    The integer value of the enum.

  • toString String

    A string for toString() to return, instead of the name.

Properties

_toString

String private

Defined in _toString:37

A string for toString() to return, instead of the name.

_value

Int private

Defined in _value:30

The integer value of this enum entry.

asInt

Int

Defined in asInt:45

The integer value of this enum entry.

name

String

Defined in name:24

The name of the value, for reflection or logging purposes.