com.ibm.lpex.cobol
Class ILECobolWords
java.lang.Object
|
+--com.ibm.lpex.cobol.ILECobolWords
- public final class ILECobolWords
- extends java.lang.Object
Keywords used by the ILE COBOL/400 document parser.
Method Summary |
static CobolWords.Word |
findDirective(java.lang.StringBuffer stringBuffer)
Determine if the specified string is a directive. |
static CobolWords.Word |
findReservedWord(java.lang.StringBuffer stringBuffer)
Determine if the specified string is an ILE COBOL/400 reserved word. |
static boolean |
isFunctionName(java.lang.StringBuffer stringBuffer)
Determine if the specified string is an ILE COBOL/400 function name. |
static boolean |
isProcessOption(java.lang.StringBuffer stringBuffer)
Determine if the specified string is a valid option for
the ILE COBOL/400 PROCESS directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROCESS
public static final int PROCESS
ILECobolWords
public ILECobolWords()
findReservedWord
public static CobolWords.Word findReservedWord(java.lang.StringBuffer stringBuffer)
- Determine if the specified string is an ILE COBOL/400 reserved word.
isFunctionName
public static boolean isFunctionName(java.lang.StringBuffer stringBuffer)
- Determine if the specified string is an ILE COBOL/400 function name.
findDirective
public static CobolWords.Word findDirective(java.lang.StringBuffer stringBuffer)
- Determine if the specified string is a directive.
isProcessOption
public static boolean isProcessOption(java.lang.StringBuffer stringBuffer)
- Determine if the specified string is a valid option for
the ILE COBOL/400 PROCESS directive.