LPEX
3.6.8

com.ibm.lpex.cobol
Class ILECobolWords

java.lang.Object
  extended by com.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)
          Returns 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)
Returns 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.


LPEX
3.6.8

Copyright © 2013 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.