|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Type.Tag>
xtc.type.Type.Tag
public static enum Type.Tag
A type's tag. Only leaves of the type hierarchy have their own
tags. A type's tag is accessed through Type.tag() and Type.wtag().
| Enum Constant Summary | |
|---|---|
ALIAS
An alias. |
|
ANNOTATED
An annotated type. |
|
ARRAY
An array. |
|
BOOLEAN
A boolean. |
|
CLASS
A class. |
|
ENUM
An enum. |
|
ENUMERATOR
An enumerator. |
|
ERROR
An error. |
|
FLOAT
A float. |
|
FUNCTION
A function. |
|
INSTANTIATED
An instantiated type. |
|
INTEGER
An integer. |
|
INTERFACE
An interface. |
|
INTERNAL
An internal type. |
|
INTERNAL_PARAMETER
An internal parameter. |
|
LABEL
A label. |
|
METHOD
A method. |
|
NAMED_PARAMETER
A named parameter. |
|
PACKAGE
A package. |
|
PARAMETERIZED
A parameterized type. |
|
POINTER
A pointer. |
|
STRUCT
A struct. |
|
TUPLE
A tuple. |
|
UNION
A union. |
|
UNIT
A unit type. |
|
VARIABLE
A variable. |
|
VARIANT
A variant. |
|
VOID
A void type. |
|
WILDCARD
A wildcard. |
|
| Method Summary | |
|---|---|
static Type.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Type.Tag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Type.Tag BOOLEAN
public static final Type.Tag ARRAY
public static final Type.Tag CLASS
public static final Type.Tag INTERFACE
public static final Type.Tag FUNCTION
public static final Type.Tag METHOD
public static final Type.Tag NAMED_PARAMETER
public static final Type.Tag INTERNAL_PARAMETER
public static final Type.Tag WILDCARD
public static final Type.Tag POINTER
public static final Type.Tag STRUCT
public static final Type.Tag TUPLE
public static final Type.Tag UNION
public static final Type.Tag VARIANT
public static final Type.Tag ERROR
public static final Type.Tag INTERNAL
public static final Type.Tag LABEL
public static final Type.Tag FLOAT
public static final Type.Tag INTEGER
public static final Type.Tag PACKAGE
public static final Type.Tag UNIT
public static final Type.Tag VOID
public static final Type.Tag ALIAS
public static final Type.Tag ANNOTATED
public static final Type.Tag ENUMERATOR
public static final Type.Tag ENUM
public static final Type.Tag INSTANTIATED
public static final Type.Tag PARAMETERIZED
public static final Type.Tag VARIABLE
| Method Detail |
|---|
public static Type.Tag[] values()
for (Type.Tag c : Type.Tag.values()) System.out.println(c);
public static Type.Tag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||