|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EScopeKind>
org.eclipse.cdt.core.dom.ast.EScopeKind
public enum EScopeKind
Enumerates various kinds of scopes
Enum Constant Summary | |
---|---|
eClassType
For classes, structs or unions. |
|
eGlobal
|
|
eLocal
Used for local scope, but also for function-scope (labels) and function-prototype scope (parameters in function prototypes). |
|
eNamespace
|
|
eTemplateDeclaration
For each template declaration a scope is created in which the template parameters can be looked up. |
Method Summary | |
---|---|
static EScopeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EScopeKind[] |
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 EScopeKind eLocal
public static final EScopeKind eNamespace
public static final EScopeKind eClassType
public static final EScopeKind eGlobal
public static final EScopeKind eTemplateDeclaration
Method Detail |
---|
public static EScopeKind[] values()
for (EScopeKind c : EScopeKind.values()) System.out.println(c);
public static EScopeKind 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
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |