|
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.ISeriesEditorRPGOPMSyntaxChecker
public class ISeriesEditorRPGOPMSyntaxChecker
This class interfaces to the OPM 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 ISeriesEditorRPGOPMParser |
_parser
|
protected byte[] |
_specialCharByteArray
|
protected String |
_strFilename
|
protected String |
_strSpecialChars
|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker |
---|
_aEmpty, _bIsPrimaryLpexView, _disableSyntaxCheckAuto, _invokedAuto, _progressMonitor, _ptRange, _strAutoPreferenceName, _strEmpty, _vectorSyntaxErrors, _view, copyright |
Constructor Summary | |
---|---|
ISeriesEditorRPGOPMSyntaxChecker(LpexView lpexView,
ISeriesEditorRPGOPMParser parser)
Constructor. |
Method Summary | |
---|---|
ISeriesEditorSyntaxError[] |
checkSyntax(int iElementStart,
int iElementEnd)
Syntax checks the given Element number. |
ISeriesEditorSyntaxError[] |
checkSyntax(String strLine)
Invokes the syntax checker proxy if available. |
void |
checkSyntaxOfRange(int iElementStart,
int iElementEnd)
Syntax checks the specified line |
static byte[] |
getRPGSpecialCharBytes(String strSpecialChars)
This API is a workaround for RPG 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. |
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 ISeriesEditorRPGOPMParser _parser
protected String _strSpecialChars
protected String _strFilename
protected boolean _isAvailable
protected byte[] _specialCharByteArray
Constructor Detail |
---|
public ISeriesEditorRPGOPMSyntaxChecker(LpexView lpexView, ISeriesEditorRPGOPMParser parser)
Method Detail |
---|
public ISeriesEditorSyntaxError[] checkSyntax(int iElementStart, int iElementEnd)
checkSyntax
in interface IISeriesEditorSyntaxChecker
checkSyntax
in class ISeriesEditorSyntaxChecker
public ISeriesEditorSyntaxError[] checkSyntax(String strLine)
public void checkSyntaxOfRange(int iElementStart, int iElementEnd)
checkSyntaxOfRange
in interface IISeriesEditorSyntaxChecker
checkSyntaxOfRange
in class ISeriesEditorSyntaxChecker
com.ibm.etools.iseries.editor.ISeriesEditorSyntaxChecker#checkSyntaxOfRange(int, int)
public boolean isAvailable()
isAvailable
in interface IISeriesEditorSyntaxChecker
isAvailable
in class ISeriesEditorSyntaxChecker
public boolean isCancelable()
isCancelable
in class ISeriesEditorSyntaxChecker
public static 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 |