|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Visibility> scale.clef.decl.Visibility
public enum Visibility
This enum specifies the visibility of a declaration - local, global, 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 | |
---|---|
EXTERN
Indicates that an entity is defined external to this file scope. |
|
FILE
Indicates that the entity is visible only within its file scope. |
|
GLOBAL
Indicates that an entity is defined in, and has global visibility outside, this file scope. |
|
LOCAL
Indicates that an entity is visible only within its current scope. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Visibility[] |
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 Visibility LOCAL
public static final Visibility FILE
public static final Visibility GLOBAL
public static final Visibility EXTERN
Method Detail |
---|
public static Visibility[] values()
for (Visibility c : Visibility.values()) System.out.println(c);
public static Visibility 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<Visibility>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |