- All Implemented Interfaces:
Serializable,Comparable<Type.TypeKind>,Constable
- Enclosing interface:
Type
The different kinds of types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn array type; an instance ofArrayTypeAn atomic type; an instance ofAtomicTypeA "standard basic type"; an instance ofStandardBasicTypeThe CIVL-C domain type,$domainor$domain(n).An enumeration type; an instance ofEnumerationTypeA function type; an instance ofFunctionTypeThe CIVL-C heap type, represented by$heapThe CIVL-C $lambda type, represented by$lambda_tThe CIVL-C memory type, represented by$memoryAn integer type which is not a standard basic type.A pointer type; an instance ofPointerTypeThe CIVL-C process type, represented by$procA qualified object type; an instance ofQualifiedObjectTypeThe CIVL-C range type, denoted$rangeThe CIVL-C scope type, represented by$scopeThe CIVL-C set type.A structure or union type; an instance ofStructureOrUnionTypeThevoidtype, used to represent no type in places where a type is syntactically required. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type.TypeKindReturns the enum constant of this class with the specified name.static Type.TypeKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ARRAY
An array type; an instance ofArrayType -
ATOMIC
An atomic type; an instance ofAtomicType -
BASIC
A "standard basic type"; an instance ofStandardBasicType -
DOMAIN
The CIVL-C domain type,$domainor$domain(n). -
ENUMERATION
An enumeration type; an instance ofEnumerationType -
FUNCTION
A function type; an instance ofFunctionType -
HEAP
The CIVL-C heap type, represented by$heap -
LAMBDA
The CIVL-C $lambda type, represented by$lambda_t -
MEM
The CIVL-C memory type, represented by$memory -
OTHER_INTEGER
An integer type which is not a standard basic type. The C Standard allows a C implementation to provide additional integer types beyond those specified in the Standard. -
POINTER
A pointer type; an instance ofPointerType -
PROCESS
The CIVL-C process type, represented by$proc -
QUALIFIED
A qualified object type; an instance ofQualifiedObjectType -
RANGE
The CIVL-C range type, denoted$range -
SET
The CIVL-C set type. Expressions may have set type but one cannot declare a variable or a function has (or returns) a set type. -
SCOPE
The CIVL-C scope type, represented by$scope -
STRUCTURE_OR_UNION
A structure or union type; an instance ofStructureOrUnionType -
VOID
Thevoidtype, used to represent no type in places where a type is syntactically required.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-