Package com.sonarsource.cobol.api
Class CobolConstants
- java.lang.Object
-
- com.sonarsource.cobol.api.CobolConstants
-
public final class CobolConstants extends Object
Constants linked to the COBOL language.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CODE_AREA_LENGTH
The number of characters that can be used between the Indicator Area and the beginning of the comment area.static int
COMMENT_AREA_LENGTH
The number of characters of the comment area.static int
INDICATOR_AREA_DEFAULT_POSITION_INDEX
Position of the Indicator Area, used to set debug ('D'), comment ('*'), preprocessing ('$') or continuation ('-') operators.static String
LANGUAGE_KEY
static String
SOURCE_FORMAT_FIXED
static String
SOURCE_FORMAT_FREE
static String
SOURCE_FORMAT_KEY
static String
SOURCE_FORMAT_VARIABLE
static List<String>
SOURCE_FORMATS
-
-
-
Field Detail
-
INDICATOR_AREA_DEFAULT_POSITION_INDEX
public static final int INDICATOR_AREA_DEFAULT_POSITION_INDEX
Position of the Indicator Area, used to set debug ('D'), comment ('*'), preprocessing ('$') or continuation ('-') operators.
By default, this indicator area is the character #7, so its index is 6- See Also:
- Constant Field Values
-
CODE_AREA_LENGTH
public static final int CODE_AREA_LENGTH
The number of characters that can be used between the Indicator Area and the beginning of the comment area.- See Also:
- Constant Field Values
-
COMMENT_AREA_LENGTH
public static final int COMMENT_AREA_LENGTH
The number of characters of the comment area.- See Also:
- Constant Field Values
-
SOURCE_FORMAT_KEY
public static final String SOURCE_FORMAT_KEY
- See Also:
- Constant Field Values
-
SOURCE_FORMAT_FIXED
public static final String SOURCE_FORMAT_FIXED
- See Also:
- Constant Field Values
-
SOURCE_FORMAT_VARIABLE
public static final String SOURCE_FORMAT_VARIABLE
- See Also:
- Constant Field Values
-
SOURCE_FORMAT_FREE
public static final String SOURCE_FORMAT_FREE
- See Also:
- Constant Field Values
-
LANGUAGE_KEY
public static final String LANGUAGE_KEY
- See Also:
- Constant Field Values
-
-