public enum CobolTokenType extends Enum<CobolTokenType> implements TokenType
Enum Constant and Description |
---|
BOOLEAN |
CBL_INTEGER |
COMMENT |
DEBUG_LINE |
HEXADECIMAL |
PREPROCESSING_LINE |
QUOTEDSTRING |
REPLACE_PSEUDO_TEXT |
WORD |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValue() |
boolean |
hasToBeSkippedFromAst(AstNode node) |
static CobolTokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CobolTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CobolTokenType CBL_INTEGER
public static final CobolTokenType HEXADECIMAL
public static final CobolTokenType BOOLEAN
public static final CobolTokenType COMMENT
public static final CobolTokenType WORD
public static final CobolTokenType QUOTEDSTRING
public static final CobolTokenType DEBUG_LINE
public static final CobolTokenType PREPROCESSING_LINE
public static final CobolTokenType REPLACE_PSEUDO_TEXT
public static CobolTokenType[] values()
for (CobolTokenType c : CobolTokenType.values()) System.out.println(c);
public static CobolTokenType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean hasToBeSkippedFromAst(AstNode node)
hasToBeSkippedFromAst
in interface TokenType
Copyright © 2009–2017 SonarSource. All rights reserved.