org.netbeans.modules.cnd.api.model
Enum CsmDeclaration.Kind
java.lang.Object
java.lang.Enum<CsmDeclaration.Kind>
org.netbeans.modules.cnd.api.model.CsmDeclaration.Kind
- All Implemented Interfaces:
- Serializable, Comparable<CsmDeclaration.Kind>
- Enclosing interface:
- CsmDeclaration<T>
public static enum CsmDeclaration.Kind
- extends Enum<CsmDeclaration.Kind>
BUILT_IN
public static final CsmDeclaration.Kind BUILT_IN
CLASS
public static final CsmDeclaration.Kind CLASS
UNION
public static final CsmDeclaration.Kind UNION
STRUCT
public static final CsmDeclaration.Kind STRUCT
ENUM
public static final CsmDeclaration.Kind ENUM
ENUMERATOR
public static final CsmDeclaration.Kind ENUMERATOR
MACRO
public static final CsmDeclaration.Kind MACRO
VARIABLE
public static final CsmDeclaration.Kind VARIABLE
VARIABLE_DEFINITION
public static final CsmDeclaration.Kind VARIABLE_DEFINITION
FUNCTION
public static final CsmDeclaration.Kind FUNCTION
FUNCTION_DEFINITION
public static final CsmDeclaration.Kind FUNCTION_DEFINITION
TEMPLATE_SPECIALIZATION
public static final CsmDeclaration.Kind TEMPLATE_SPECIALIZATION
TYPEDEF
public static final CsmDeclaration.Kind TYPEDEF
ASM
public static final CsmDeclaration.Kind ASM
TEMPLATE_DECLARATION
public static final CsmDeclaration.Kind TEMPLATE_DECLARATION
NAMESPACE_DEFINITION
public static final CsmDeclaration.Kind NAMESPACE_DEFINITION
NAMESPACE_ALIAS
public static final CsmDeclaration.Kind NAMESPACE_ALIAS
USING_DIRECTIVE
public static final CsmDeclaration.Kind USING_DIRECTIVE
USING_DECLARATION
public static final CsmDeclaration.Kind USING_DECLARATION
CLASS_FORWARD_DECLARATION
public static final CsmDeclaration.Kind CLASS_FORWARD_DECLARATION
CLASS_FRIEND_DECLARATION
public static final CsmDeclaration.Kind CLASS_FRIEND_DECLARATION
values
public static final CsmDeclaration.Kind[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(CsmDeclaration.Kind c : CsmDeclaration.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static CsmDeclaration.Kind 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 name