|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.editor.ISeriesEditorRPGILEFreeFormConverter
This class contains the ILE RPG Conversion tool to convert fixed format to free format
Nested Class Summary | |
---|---|
class |
ISeriesEditorRPGILEFreeFormConverter.OpcodeInfo
This class describes how to handle each opcode |
protected class |
ISeriesEditorRPGILEFreeFormConverter.RunnableFreeFormConverter
Inner class to run the converter in a different thread |
class |
ISeriesEditorRPGILEFreeFormConverter.SourceRecord
Information about the Source record |
Field Summary | |
---|---|
protected boolean |
_bContCharLit
|
protected boolean |
_bContNumLit
|
protected boolean |
_bEllipses
|
protected boolean |
_bInCTData
|
protected boolean |
_bInExecSQL
|
protected boolean |
_bInFreeBlock
|
protected boolean |
_bLineDeleted
|
protected boolean |
_bRequireEvalCallp
|
protected boolean |
_bSrcIsFree
|
protected boolean |
_bStartOrExitSQL
|
protected int |
_iAddedRecords
|
protected int[] |
_iaNestedOpcode
|
protected int |
_iCurrentElement
|
protected int |
_iIndentAmount
|
protected int |
_iNestChars
|
protected int |
_iNestLevel
|
protected int |
_iNewNestChars
|
protected int |
_iNewNestLevel
|
protected int |
_iPrevOpcode
|
protected ISeriesEditorRPGILEParser |
_parser
|
protected LinkedList |
_savedRecordList
|
protected String |
_strFilename
|
protected String |
_strSpecialChars
|
protected com.ibm.lpex.core.LpexView |
_view
|
static String |
copyright
|
protected static ISeriesEditorRPGILEFreeFormConverter.OpcodeInfo[] |
OpcodeInfoTable
|
protected static String |
strAltSeq
|
protected static String |
strCopy
|
protected static String |
strCTData
|
protected static String |
strElse
|
protected static String |
strElseIf
|
protected static String |
strEndExec
|
protected static String |
strEndFreeDir
|
protected static String |
strEndIf
|
protected static String |
strEndOfFile
|
protected static String |
strEOF
|
protected static String |
strEqual
|
protected static String |
strError
|
protected static String |
strExecSQL
|
protected static String |
strFree
|
protected static String |
strFreeDir
|
protected static String |
strFTrans
|
protected static String |
strIf
|
protected static String |
strIn
|
protected static String |
strInclude
|
protected static String |
strNotFound
|
protected static String |
strOff
|
protected static String |
strOn
|
protected static String |
strSlashSlash
|
protected static String |
strStarStar
|
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPG |
---|
_straSQLWords, CMD_SETFORMATLINETEXT, CMD_SETTABS, COLUMN_C_FREE, COLUMN_C_OPCODE, COLUMN_COMMENT, COLUMN_FACTOR1, COLUMN_FACTOR2, COLUMN_KEYWORDS, COLUMN_PROC_NAME_BEGIN, COLUMN_PROC_NAME_END, COLUMN_PROC_SPEC, COLUMN_SPEC, FIELD_FACTOR1, FIELD_FACTOR2, FIELD_FROM, FIELD_OPCODE, FIELD_TOLENGTH, OPM_COLUMN_FACTOR1 |
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsColors |
---|
COLOR_BLACK_WHITE, COLOR_BLUE_WHITE, COLOR_BRIGHTBLUE_WHITE, COLOR_BRIGHTGREEN_WHITE, COLOR_BRIGHTGREY_WHITE, COLOR_BRIGHTPINK_WHITE, COLOR_BRIGHTRED_WHITE, COLOR_BROWN_WHITE, COLOR_CYAN_WHITE, COLOR_ERROR_HIGHLIGHT, COLOR_GREEN_WHITE, COLOR_GREY_WHITE, COLOR_HIGHLIGHT, COLOR_MAGENTA_WHITE, COLOR_PINK_WHITE, COLOR_RED_WHITE, COLOR_WHITE_BRIGHTRED |
Constructor Summary | |
---|---|
ISeriesEditorRPGILEFreeFormConverter(com.ibm.lpex.core.LpexView lpexView,
ISeriesEditorRPGILEParser parser)
Constructor for ISeriesEditorRPGILEFreeFormConverter |
Method Summary | |
---|---|
void |
convertCurrentLine(int iIndent)
Convert current line to free form |
void |
convertDocumentToFreeForm()
Convert the whole document to free form |
void |
convertRangeToFreeForm(int iElementStart,
int iElementEnd,
int iIndent,
IProgressMonitor monitor)
Converts the specified range of elements to free form |
void |
convertSelectionToFreeForm()
Convert the selected source to free form |
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
protected static final String strFreeDir
protected static final String strEndFreeDir
protected static final String strStarStar
protected static final String strCTData
protected static final String strFTrans
protected static final String strAltSeq
protected static final String strCopy
protected static final String strInclude
protected static final String strIf
protected static final String strElseIf
protected static final String strElse
protected static final String strEndIf
protected static final String strEndOfFile
protected static final String strExecSQL
protected static final String strEndExec
protected static final String strFree
protected static final String strSlashSlash
protected static final String strError
protected static final String strNotFound
protected static final String strEOF
protected static final String strEqual
protected static final String strOn
protected static final String strOff
protected static final String strIn
protected static ISeriesEditorRPGILEFreeFormConverter.OpcodeInfo[] OpcodeInfoTable
protected ISeriesEditorRPGILEParser _parser
protected String _strFilename
protected String _strSpecialChars
protected com.ibm.lpex.core.LpexView _view
protected LinkedList _savedRecordList
protected boolean _bSrcIsFree
protected boolean _bInFreeBlock
protected boolean _bInCTData
protected boolean _bStartOrExitSQL
protected boolean _bInExecSQL
protected boolean _bLineDeleted
protected boolean _bRequireEvalCallp
protected boolean _bContCharLit
protected boolean _bContNumLit
protected boolean _bEllipses
protected int _iIndentAmount
protected int _iNestLevel
protected int _iNestChars
protected int _iNewNestLevel
protected int _iNewNestChars
protected int _iAddedRecords
protected int[] _iaNestedOpcode
protected int _iPrevOpcode
protected int _iCurrentElement
Constructor Detail |
public ISeriesEditorRPGILEFreeFormConverter(com.ibm.lpex.core.LpexView lpexView, ISeriesEditorRPGILEParser parser)
Method Detail |
public void convertDocumentToFreeForm()
public void convertSelectionToFreeForm()
public void convertRangeToFreeForm(int iElementStart, int iElementEnd, int iIndent, IProgressMonitor monitor)
iElementStart
- first line to convertiElementEnd
- last line to convertiIndent
- amount to indent each level
public void convertCurrentLine(int iIndent)
iIndent
- amount to indent
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |