- All Implemented Interfaces:
Serializable
,Comparable<KeyWord>
,Constable
The Simula Keywords and some additional symbols.
Link to GitHub: Source File.
- Author:
- Øystein Myhre Andersen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula SymbolSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula SymbolSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula SymbolSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula SymbolSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula KeywordSimula Keyword -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the corresponding Java code.Returns the lower case version.static KeyWord
Returns the enum constant of this class with the specified name.static KeyWord[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVATE
Simula Keyword -
AND
Simula Keyword -
AFTER
Simula Keyword -
ARRAY
Simula Keyword -
AT
Simula Keyword -
BEFORE
Simula Keyword -
BEGIN
Simula Keyword -
BOOLEAN
Simula Keyword -
CHARACTER
Simula Keyword -
CLASS
Simula Keyword -
COMMENT
Simula Keyword -
CONC
Simula Keyword -
DELAY
Simula Keyword -
DO
Simula Keyword -
ELSE
Simula Keyword -
END
Simula Keyword -
EQ
Simula Keyword -
EQV
Simula Keyword -
EXTERNAL
Simula Keyword -
FALSE
Simula Keyword -
FOR
Simula Keyword -
GE
Simula Keyword -
GO
Simula Keyword -
GOTO
Simula Keyword -
GT
Simula Keyword -
HIDDEN
Simula Keyword -
IF
Simula Keyword -
IMP
Simula Keyword -
IN
Simula Keyword -
INNER
Simula Keyword -
INSPECT
Simula Keyword -
INTEGER
Simula Keyword -
IS
Simula Keyword -
LABEL
Simula Keyword -
LE
Simula Keyword -
LONG
Simula Keyword -
LT
Simula Keyword -
NAME
Simula Keyword -
NE
Simula Keyword -
NEW
Simula Keyword -
NONE
Simula Keyword -
NOT
Simula Keyword -
NOTEXT
Simula Keyword -
OR
Simula Keyword -
OTHERWISE
Simula Keyword -
PRIOR
Simula Keyword -
PROCEDURE
Simula Keyword -
PROTECTED
Simula Keyword -
QUA
Simula Keyword -
REACTIVATE
Simula Keyword -
REAL
Simula Keyword -
REF
Simula Keyword -
SHORT
Simula Keyword -
STEP
Simula Keyword -
SWITCH
Simula Keyword -
TEXT
Simula Keyword -
THEN
Simula Keyword -
THIS
Simula Keyword -
TO
Simula Keyword -
TRUE
Simula Keyword -
UNTIL
Simula Keyword -
VALUE
Simula Keyword -
VIRTUAL
Simula Keyword -
WHEN
Simula Keyword -
WHILE
Simula Keyword -
ASSIGNVALUE
Simula Symbol -
ASSIGNREF
Simula Symbol -
COMMA
Simula Symbol -
COLON
Simula Symbol -
SEMICOLON
Simula Symbol -
BEGPAR
Simula Symbol -
ENDPAR
Simula Symbol -
BEGBRACKET
Simula Symbol -
ENDBRACKET
Simula Symbol -
EQR
Simula Symbol -
NER
Simula Symbol -
PLUS
Simula Symbol -
MINUS
Simula Symbol -
MUL
Simula Symbol -
DIV
Simula Symbol -
INTDIV
Simula Symbol -
EXP
Simula Symbol -
IDENTIFIER
Simula Symbol -
BOOLEANKONST
Simula Symbol -
INTEGERKONST
Simula Symbol -
CHARACTERKONST
Simula Symbol -
REALKONST
Simula Symbol -
TEXTKONST
Simula Symbol -
OR_ELSE
Simula Symbol -
AND_THEN
Simula Symbol -
DOT
Simula Symbol -
NEWLINE
Simula Symbol -
STRING
Simula Symbol
-
-
Constructor Details
-
KeyWord
private KeyWord()
-
-
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
-
toLowerCase
Returns the lower case version.- Returns:
- the lower case version
-
toJavaCode
Returns the corresponding Java code.- Returns:
- the corresponding Java code
-