Package com.sonarsource.cobol.api
Enum MicrofocusKeyword
- java.lang.Object
-
- java.lang.Enum<MicrofocusKeyword>
-
- com.sonarsource.cobol.api.MicrofocusKeyword
-
- All Implemented Interfaces:
AstNodeType
,TokenType
,Serializable
,Comparable<MicrofocusKeyword>
public enum MicrofocusKeyword extends Enum<MicrofocusKeyword> implements TokenType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AX_EVENT_LIST
B_AND
B_EXOR
B_NOT
B_OR
B_XOR
BACKGROUND_COLOR
BINARY_CHAR
BINARY_DOUBLE
BINARY_LONG
BINARY_SHORT
CCOL
CONSTRUCTOR
CONTROL
CSIZE
DESTROY
END_DISPLAY
EVENT_LIST
FOREGROUND_COLOR
HANDLE
HELP_ID
INQUIRE
MODIFY
NUMBER
OBJECT
SHARING
THREAD
THREAD_LOCAL_STORAGE
WAIT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getValue()
boolean
hasToBeSkippedFromAst(AstNode node)
static MicrofocusKeyword
valueOf(String name)
Returns the enum constant of this type with the specified name.static MicrofocusKeyword[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAIT
public static final MicrofocusKeyword WAIT
-
INQUIRE
public static final MicrofocusKeyword INQUIRE
-
MODIFY
public static final MicrofocusKeyword MODIFY
-
DESTROY
public static final MicrofocusKeyword DESTROY
-
THREAD
public static final MicrofocusKeyword THREAD
-
NUMBER
public static final MicrofocusKeyword NUMBER
-
CONTROL
public static final MicrofocusKeyword CONTROL
-
HANDLE
public static final MicrofocusKeyword HANDLE
-
CCOL
public static final MicrofocusKeyword CCOL
-
CSIZE
public static final MicrofocusKeyword CSIZE
-
BACKGROUND_COLOR
public static final MicrofocusKeyword BACKGROUND_COLOR
-
FOREGROUND_COLOR
public static final MicrofocusKeyword FOREGROUND_COLOR
-
HELP_ID
public static final MicrofocusKeyword HELP_ID
-
CONSTRUCTOR
public static final MicrofocusKeyword CONSTRUCTOR
-
OBJECT
public static final MicrofocusKeyword OBJECT
-
EVENT_LIST
public static final MicrofocusKeyword EVENT_LIST
-
AX_EVENT_LIST
public static final MicrofocusKeyword AX_EVENT_LIST
-
THREAD_LOCAL_STORAGE
public static final MicrofocusKeyword THREAD_LOCAL_STORAGE
-
BINARY_CHAR
public static final MicrofocusKeyword BINARY_CHAR
-
BINARY_SHORT
public static final MicrofocusKeyword BINARY_SHORT
-
BINARY_LONG
public static final MicrofocusKeyword BINARY_LONG
-
BINARY_DOUBLE
public static final MicrofocusKeyword BINARY_DOUBLE
-
SHARING
public static final MicrofocusKeyword SHARING
-
B_NOT
public static final MicrofocusKeyword B_NOT
-
B_AND
public static final MicrofocusKeyword B_AND
-
B_OR
public static final MicrofocusKeyword B_OR
-
B_XOR
public static final MicrofocusKeyword B_XOR
-
B_EXOR
public static final MicrofocusKeyword B_EXOR
-
END_DISPLAY
public static final MicrofocusKeyword END_DISPLAY
-
-
Method Detail
-
values
public static MicrofocusKeyword[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MicrofocusKeyword c : MicrofocusKeyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MicrofocusKeyword 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 nameNullPointerException
- if the argument is null
-
hasToBeSkippedFromAst
public boolean hasToBeSkippedFromAst(AstNode node)
- Specified by:
hasToBeSkippedFromAst
in interfaceTokenType
-
-