|
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.Object com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker com.ibm.etools.iseries.parsers.ISeriesEditorRPGILESyntaxChecker
public class ISeriesEditorRPGILESyntaxChecker
This class interfaces to the ILE syntax checker proxy which is written in 'C'.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker |
---|
ISeriesEditorSyntaxChecker.RunnableSyntaxChecker |
Field Summary | |
---|---|
protected boolean |
_isAvailable
|
protected boolean |
_offline
|
protected ISeriesEditorParser |
_parser
|
protected byte[] |
_specialCharByteArray
|
protected String |
_strFilename
|
protected String |
_strHostname
|
protected String |
_strSourceType
|
protected String |
_strSpecialChars
|
protected boolean |
_syntaxCheckSQL
|
static String |
copyright
|
protected int |
iHostCommunicationsPort
|
Fields inherited from class com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker |
---|
_aEmpty, _bIsPrimaryLpexView, _disableSyntaxCheckAuto, _invokedAuto, _progressMonitor, _ptRange, _strAutoPreferenceName, _strEmpty, _vectorSyntaxErrors, _view |
Fields inherited from interface com.ibm.etools.iseries.parsers.IISeriesEditorSyntaxChecker |
---|
Copyright |
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPG |
---|
_straSQLWords, _straSQLWordsWithComment, 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 |
Constructor Summary | |
---|---|
ISeriesEditorRPGILESyntaxChecker(LpexView lpexView,
ISeriesEditorParser parser)
Constructor. |
Method Summary | |
---|---|
ISeriesEditorSyntaxError[] |
checkSyntax(int iElementStart,
int iElementEnd)
Invokes the syntax checker proxy if available. |
void |
checkSyntaxOfRange(int iElementStart,
int iElementEnd)
Syntax checks the specified range of elements. |
protected byte[] |
getRPGSpecialCharBytes(String strSpecialChars)
This API is a workaround for NL variant chars problem in syntax checker and verifier. |
boolean |
isAvailable()
Returns whether syntax checking is available. |
boolean |
isCancelable()
Returns whether the syntax checker is cancelable before the operation is complete. |
void |
setEnable(boolean value)
Use to enable & disable the syntax checker |
Methods inherited from class com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker |
---|
callbackAddSyntaxError, callbackGetLineText, callbackGetNextLine, callbackGetPreviousLine, callbackIsCanceled, callbackIsShowLine, checkSyntaxAuto, checkSyntaxAuto, checkSyntaxOfCurrentLine, checkSyntaxOfDocument, checkSyntaxOfRangeWithProgress, checkSyntaxOfSelection, displaySyntaxErrors, getHostCommunicationsPort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.iseries.parsers.IISeriesEditorSyntaxChecker |
---|
checkSyntaxOfCurrentLine, checkSyntaxOfDocument, checkSyntaxOfSelection |
Field Detail |
---|
public static final String copyright
protected String _strFilename
protected String _strSpecialChars
protected ISeriesEditorParser _parser
protected boolean _isAvailable
protected String _strHostname
protected String _strSourceType
protected int iHostCommunicationsPort
protected boolean _syntaxCheckSQL
protected boolean _offline
protected byte[] _specialCharByteArray
Constructor Detail |
---|
public ISeriesEditorRPGILESyntaxChecker(LpexView lpexView, ISeriesEditorParser parser)
Method Detail |
---|
public ISeriesEditorSyntaxError[] checkSyntax(int iElementStart, int iElementEnd)
checkSyntax
in interface IISeriesEditorSyntaxChecker
checkSyntax
in class ISeriesEditorSyntaxChecker
public void checkSyntaxOfRange(int iElementStart, int iElementEnd)
checkSyntaxOfRange
in interface IISeriesEditorSyntaxChecker
checkSyntaxOfRange
in class ISeriesEditorSyntaxChecker
public boolean isAvailable()
isAvailable
in interface IISeriesEditorSyntaxChecker
isAvailable
in class ISeriesEditorSyntaxChecker
public boolean isCancelable()
isCancelable
in class ISeriesEditorSyntaxChecker
public void setEnable(boolean value)
value
- true to enable the syntax checker, false to disable itprotected byte[] getRPGSpecialCharBytes(String strSpecialChars)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |