- All Implemented Interfaces:
Serializable,Comparable<Statement.StatementKind>,Constable
- Enclosing interface:
Statement
Different kinds of statements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAssignment, including atomic lock assignmentsFunction call or process spawn$contractVerify statementCIVL for loop ($for) enter statementMemory allocationNo operationmultiple assignments at a timeReturn statement$update statement -
Method Summary
Modifier and TypeMethodDescriptionstatic Statement.StatementKindReturns the enum constant of this class with the specified name.static Statement.StatementKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASSIGN
Assignment, including atomic lock assignments -
CALL_OR_SPAWN
Function call or process spawn -
DOMAIN_ITERATOR
CIVL for loop ($for) enter statement -
CIVL_PAR_FOR_ENTER
$contractVerify statement -
MALLOC
Memory allocation -
NOOP
No operation -
RETURN
Return statement -
UPDATE
$update statement -
PARALLEL_ASSIGN
multiple assignments at a time
-
-
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
-