SWT LPEX
v3.0.5

com.ibm.lpex.cobol
Class Cobol400Words

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

public final class Cobol400Words
extends Object

Keywords used by the COBOL/400 document parsers.


Field Summary
static int PROCESS
           
 
Constructor Summary
Cobol400Words()
           
 
Method Summary
static String[] directives()
          Return an array of the directives defined in here.
static CobolWords.Word findDirective(StringBuffer stringBuffer)
          Determine if the specified string is a directive.
static CobolWords.Word findReservedWord(StringBuffer stringBuffer)
          Determine if the specified string is a COBOL/400 reserved word.
static boolean isProcessOption(StringBuffer stringBuffer)
          Determine if the specified string is a valid option for the COBOL/400 PROCESS statement.
static String[] processOptions()
          Return an array of the COBOL/400 PROCESS statement options defined in here.
static String[] reservedWords()
          Return an array of the 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

Cobol400Words

public Cobol400Words()
Method Detail

findReservedWord

public static CobolWords.Word findReservedWord(StringBuffer stringBuffer)
Determine if the specified string is a COBOL/400 reserved word.


reservedWords

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


findDirective

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


directives

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


isProcessOption

public static boolean isProcessOption(StringBuffer stringBuffer)
Determine if the specified string is a valid option for the COBOL/400 PROCESS statement.


processOptions

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


SWT LPEX
v3.0.5

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