LPEX
3.6.7

com.ibm.lpex.cobol
Class Cobol400Words

java.lang.Object
  extended by com.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()
          Returns an array of the directives defined in here.
static CobolWords.Word findDirective(StringBuffer stringBuffer)
          Returns whether the specified string is a directive.
static CobolWords.Word findReservedWord(StringBuffer stringBuffer)
          Returns whether the specified string is a COBOL/400 reserved word.
static boolean isProcessOption(StringBuffer stringBuffer)
          Returns whether the specified string is a valid option for the COBOL/400 PROCESS statement.
static String[] processOptions()
          Returns an array of the COBOL/400 PROCESS statement options defined in here.
static String[] reservedWords()
          Returns 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)
Returns whether the specified string is a COBOL/400 reserved word.


reservedWords

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


findDirective

public static CobolWords.Word findDirective(StringBuffer stringBuffer)
Returns 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 COBOL/400 PROCESS statement.


processOptions

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


LPEX
3.6.7

Copyright © 2012 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.