public enum EScopeKind extends Enum<EScopeKind>
Enum Constant and Description |
---|
eClassType
For classes, structs or unions.
|
eEnumeration |
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.
|
Modifier and Type | Method and Description |
---|---|
static EScopeKind |
valueOf(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.
|
public static final EScopeKind eLocal
public static final EScopeKind eEnumeration
public static final EScopeKind eNamespace
public static final EScopeKind eClassType
public static final EScopeKind eGlobal
public static final EScopeKind eTemplateDeclaration
public static EScopeKind[] values()
for (EScopeKind c : EScopeKind.values()) System.out.println(c);
public static EScopeKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.