|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Residency> scale.clef.decl.Residency
public enum Residency
This enum specifies the residency of a declaration - auto, register, etc.
$Id$
Copyright 2008 by the
Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
Enum Constant Summary | |
---|---|
AUTO
Marks a data value as being locally allocated (i.e., on the stack). |
|
MEMORY
Recommends that an entity be assigned to permanently allocated space. |
|
REGISTER
Recommends that a value be assigned to a register. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static Residency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Residency[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Residency AUTO
public static final Residency REGISTER
public static final Residency MEMORY
Method Detail |
---|
public static Residency[] values()
for (Residency c : Residency.values()) System.out.println(c);
public static Residency 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Residency>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |