public abstract static class Value.Enum extends Value.Discrete
Type.Enum
.Modifier and Type | Class and Description |
---|---|
static class |
Value.Enum.GP
A basic "general purpose" (GP) implementation of an Enum Value
having a given
Type.Enum t. |
Value.Atomic, Value.Bool, Value.Char, Value.Chars, Value.Cts, Value.Defer, Value.Discrete, Value.Enum, Value.Inc_Or, Value.Int, Value.Lambda, Value.List, Value.Maybe, Value.Option, Value.Real, Value.Scannable, Value.Structured, Value.Triv, Value.Tuple
Constructor and Description |
---|
Enum(int n) |
Modifier and Type | Method and Description |
---|---|
int |
n()
Return the Enum Value's int "code".
|
java.lang.String |
toString()
Return the String representation of 'this' Enum Value.
|
abstract Type.Enum |
type()
Return the
Type of 'this' Value. |
bOp
public abstract Type.Enum type()
Value
Type
of 'this' Value.public int n()
n
in class Value.Discrete
public java.lang.String toString()
Type.Enum.ids
.