Package org.eclipse.cdt.core.parser
Enum KeywordSetKey
- java.lang.Object
-
- java.lang.Enum<KeywordSetKey>
-
- org.eclipse.cdt.core.parser.KeywordSetKey
-
- All Implemented Interfaces:
Serializable
,Comparable<KeywordSetKey>
public enum KeywordSetKey extends Enum<KeywordSetKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
BASE_SPECIFIER
DECL_SPECIFIER_SEQUENCE
DECLARATION
EMPTY
EXPRESSION
FUNCTION_MODIFIER
KEYWORDS
MACRO
MEMBER
NAMESPACE_ONLY
POST_USING
PP_DIRECTIVE
STATEMENT
TYPES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeywordSetKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static KeywordSetKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPTY
public static final KeywordSetKey EMPTY
-
DECL_SPECIFIER_SEQUENCE
public static final KeywordSetKey DECL_SPECIFIER_SEQUENCE
-
DECLARATION
public static final KeywordSetKey DECLARATION
-
STATEMENT
public static final KeywordSetKey STATEMENT
-
BASE_SPECIFIER
public static final KeywordSetKey BASE_SPECIFIER
-
POST_USING
public static final KeywordSetKey POST_USING
-
FUNCTION_MODIFIER
public static final KeywordSetKey FUNCTION_MODIFIER
-
NAMESPACE_ONLY
public static final KeywordSetKey NAMESPACE_ONLY
-
MACRO
public static final KeywordSetKey MACRO
-
PP_DIRECTIVE
public static final KeywordSetKey PP_DIRECTIVE
-
EXPRESSION
public static final KeywordSetKey EXPRESSION
-
MEMBER
public static final KeywordSetKey MEMBER
-
ALL
public static final KeywordSetKey ALL
-
KEYWORDS
public static final KeywordSetKey KEYWORDS
-
TYPES
public static final KeywordSetKey TYPES
-
-
Method Detail
-
values
public static KeywordSetKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeywordSetKey c : KeywordSetKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeywordSetKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-