SWT LPEX
v3.0.5

com.ibm.lpex.cobol
Class ILECobolWords

java.lang.Object
  extended bycom.ibm.lpex.cobol.ILECobolWords

public final class ILECobolWords
extends Object

Keywords used by the ILE COBOL/400 document parsers.


Field Summary
static int PROCESS
           
 
Constructor Summary
ILECobolWords()
           
 
Method Summary
static String[] directives()
          Returns an array of the directives defined in here.
static CobolWords.Word findDirective(StringBuffer stringBuffer)
          Determines whether the specified string is a directive.
static CobolWords.Word findReservedWord(StringBuffer stringBuffer)
          Determines whether the specified string is an ILE COBOL/400 reserved word.
static String[] functionNames()
          Returns an array of the ILE COBOL/400 function names defined in here.
static boolean isFunctionName(StringBuffer stringBuffer)
          Returns whether the specified string is an ILE COBOL/400 function name.
static boolean isProcessOption(StringBuffer stringBuffer)
          Returns whether the specified string is a valid option for the ILE COBOL/400 PROCESS directive.
static String[] processOptions()
          Returns an array of the ILE COBOL/400 PROCESS directive options defined in here.
static String[] reservedWords()
          Returns an array of the ILE COBOL/400 reserved words defined in here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROCESS

public static final int PROCESS
See Also:
Constant Field Values
Constructor Detail

ILECobolWords

public ILECobolWords()
Method Detail

findReservedWord

public static CobolWords.Word findReservedWord(StringBuffer stringBuffer)
Determines whether the specified string is an ILE COBOL/400 reserved word.


reservedWords

public static String[] reservedWords()
Returns an array of the ILE COBOL/400 reserved words defined in here.


isFunctionName

public static boolean isFunctionName(StringBuffer stringBuffer)
Returns whether the specified string is an ILE COBOL/400 function name.


functionNames

public static String[] functionNames()
Returns an array of the ILE COBOL/400 function names defined in here.


findDirective

public static CobolWords.Word findDirective(StringBuffer stringBuffer)
Determines whether the specified string is a directive.


directives

public static String[] directives()
Returns an array of the directives defined in here.


isProcessOption

public static boolean isProcessOption(StringBuffer stringBuffer)
Returns whether the specified string is a valid option for the ILE COBOL/400 PROCESS directive.


processOptions

public static String[] processOptions()
Returns an array of the ILE COBOL/400 PROCESS directive options defined in here.


SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.