- All Implemented Interfaces:
Serializable
,Comparable<Declaration.Kind>
,Constable
- Enclosing class:
Declaration
The declarationKind
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArray Declaration.Class.Compound Statement.Connection Block.Procedure treated as a Java Static Method.External Declaration.Label DeclarationProcedure coded as a Java Member Method.Parameter.Prefixed Block.Normal Simula Procedure implemented as a Java ClassSimple Variable Declaration.Simula Program.Standard Class.Subblock.Virtual Match.Virtual Specification. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Declaration.Kind
Returns the enum constant of this class with the specified name.static Declaration.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
StandardClass
Standard Class. -
ConnectionBlock
Connection Block. -
CompoundStatement
Compound Statement. -
SubBlock
Subblock. -
Procedure
Normal Simula Procedure implemented as a Java Class -
MemberMethod
Procedure coded as a Java Member Method. -
ContextFreeMethod
Procedure treated as a Java Static Method. -
Class
Class. -
PrefixedBlock
Prefixed Block. -
SimulaProgram
Simula Program. -
ArrayDeclaration
Array Declaration. -
VirtualSpecification
Virtual Specification. -
VirtualMatch
Virtual Match. -
Parameter
Parameter. -
LabelDeclaration
Label Declaration -
SimpleVariableDeclaration
Simple Variable Declaration. -
ExternalDeclaration
External Declaration.
-
-
Constructor Details
-
Kind
private Kind()
-
-
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
-