| 
Rational Developer for Power Systems Software V7.6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.parsers.ISeriesEditorCobolILESectionsParser
public class ISeriesEditorCobolILESectionsParser
This class parses a COBOL files into sections based on the structure provided by the language, and generates an array of MarkElement to be used by outline view. Creation date: (9/4/2001 10:16:59 AM)
| Field Summary | |
|---|---|
static String | 
Copyright
 | 
| Constructor Summary | |
|---|---|
ISeriesEditorCobolILESectionsParser(LpexView view)
Constructor.  | 
|
| Method Summary | |
|---|---|
 void | 
commonDivisionMethod(IFile file)
This method handles a common part of the code for ENVIRONMENT, DATA, and PROCEDURE DIVISIONs.  | 
 void | 
commonSectionMethod(String divisionName)
Handles common code for sections (Working-Storage section, Configuration section, etc.) and routines in PROCEDURE DIVISION.  | 
protected  IAdaptable | 
getParent(Hashtable toc,
          String number)
Returns the mark element that is the logical parent of the given mark number.  | 
protected  String | 
getText(IFile file)
Returns a string containing a line from the given file.  | 
 ISeriesEditorCobolILEMarkElement[] | 
parseCOBOL(IFile file)
 | 
 ISeriesEditorCobolILEMarkElement[] | 
parseDefault(IFile file)
Parse miscellaneous file types other than those selected by parse() method.  | 
protected  String | 
parseNumber(String heading)
Returns the number for this heading.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String Copyright
| Constructor Detail | 
|---|
public ISeriesEditorCobolILESectionsParser(LpexView view)
| Method Detail | 
|---|
public void commonDivisionMethod(IFile file)
Ifile - file input file for the outline viewpublic void commonSectionMethod(String divisionName)
divisionName - java.lang.String contains the division name
 to which this section belongs to.
protected IAdaptable getParent(Hashtable toc,
                               String number)
toc - java.util.Hashtablenumber - java.lang.String
protected String getText(IFile file)
file - input COBOL file
public ISeriesEditorCobolILEMarkElement[] parseCOBOL(IFile file)
public ISeriesEditorCobolILEMarkElement[] parseDefault(IFile file)
file - org.eclipse.core.resources.IFile
protected String parseNumber(String heading)
heading - java.lang.String
  | 
Rational Developer for Power Systems Software V7.6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||