public interface LinePreProcessor
| Modifier and Type | Field and Description |
|---|---|
static int |
ANSI_FIXED
Ansi Fixed source format
|
static int |
ANSI_FREE
Ansi Free source format
|
static int |
LONG_LINE
Long Line source format
|
static int |
TERMINAL_FIXED
Terminal Fixed source format
|
static int |
UNKNOWN_FORMAT
Unknown format
|
static int |
VARIABLE
Variable source format
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(String originalLine,
int format,
String fileName,
int lineNumber,
String[] compOpts,
ProcessResult result)
processes the cobol line and fills the
result object |
static final int UNKNOWN_FORMAT
static final int ANSI_FIXED
static final int TERMINAL_FIXED
static final int ANSI_FREE
static final int VARIABLE
static final int LONG_LINE
void process(String originalLine, int format, String fileName, int lineNumber, String[] compOpts, ProcessResult result) throws ProcessException
result objectoriginalLine - the original line of codeformat - the format of the cobol source, is passed UNKNOWN is it cannot be detectedfileName - the name of the cobol source filelineNumber - the number of the line of the cobol source filecompOpts - the list of the compiler options used to compile the cobol sourceresult - wrapper object that contains the result of the preprocessingProcessException - thrown is an error occurs during the preprocessing