|
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.ISeriesEditorDDSSyntaxChecker
public class ISeriesEditorDDSSyntaxChecker
DDS Syntax checker.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.etools.iseries.parsers.ISeriesEditorSyntaxChecker |
---|
ISeriesEditorSyntaxChecker.RunnableSyntaxChecker |
Field Summary | |
---|---|
protected ISeriesEditorDDSParser |
_parser
|
static String |
copyright
|
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 |
Constructor Summary | |
---|---|
ISeriesEditorDDSSyntaxChecker(LpexView lpexView,
ISeriesEditorDDSParser parser)
Constructor. |
Method Summary | |
---|---|
protected void |
addSyntaxMessage(int iElement,
String strMessageId,
int iPosition,
int iLength)
Adds syntax checker messages to the list. |
protected String |
checkAndOrCommentFlag(String strToken,
int iDDSType)
Port of evfslxck.c checkAndOrCommentFlag, getValidCharsAOC. |
protected String |
checkDataType(char cDataType,
int iDDSType)
Port of evfslxck.c checkDataType. |
protected String |
checkDecimalPosition(String strNumber,
int iDDSType,
char cReference)
Port of evfslxck.c checkDecimalPos. |
protected int |
checkElementDspf(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementDspf. |
protected int |
checkElementGeneric(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementGeneric. |
protected int |
checkElementIcff(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementIcff. |
protected int |
checkElementLf(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementLf. |
protected int |
checkElementPf(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementPf. |
protected int |
checkElementPrtf(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkElementPrtf. |
protected String |
checkFieldLength(String strFieldLength,
int iDDSType,
char cFieldType,
char cReference,
boolean hasLocation)
Port of evfslxck.c checkFieldLength. |
protected String |
checkFunctions(String strElement,
int iDDSType)
Port of evfslxck.c checkFunctions. |
protected String |
checkIndicator(String strIndicator)
Port of evfslxck.c, checkIndicator. |
protected String |
checkIndicatorDspf(int iElement,
String strIndicator,
int iDDSType)
Port of evfslxck.c, checkDspfIndicator, checkDspInd. |
protected String |
checkIndicators(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, checkIndicators. |
protected String |
checkIndicators3(int iElement,
String strElement,
int iDDSType)
Port of evfslxck.c, check3Indicators. |
protected String |
checkLocationElement(String strLocation,
int iDDSType,
String strPositions)
Check the line number for validity |
protected String |
checkLocationPosition(String strPosition,
int iDDSType)
Port of evfslxck.c checkLocPos. |
protected String |
checkLocationPositionDspf(int iPosition)
Port of evfslxck.c checkLocPosDspf. |
protected String |
checkLocationPositionPrtf(int iPosition)
Port of evfslxck.c checkLocPosPrtf. |
protected String |
checkName(String strName,
int iDDSType)
Port of evfslxck.c checkName |
protected String |
checkNameAny(String strName)
Port of evfslxck.c checkNameAny |
protected String |
checkNameIcff(String strName)
Port of evfslxck.c checkNameIcff |
protected String |
checkNameType(char cNameType,
int iDDSType)
Port of evfslxck.c checkNameType, getValidCharsNameType. |
protected String |
checkReferenceField(String strField)
Port of evfslxck.c, checkRef. |
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 String |
checkUsage(char cUsage,
int iDDSType)
Port of evfslxck.c checkUse, getValidCharsUse. |
boolean |
isAvailable()
Returns whether syntax checking is available. |
boolean |
isCancelable()
Returns whether the syntax checker is cancelable before the operation is complete. |
protected char |
mapShiftToDataType(char shift,
boolean isDecimalPositionSpecified,
int iDDSType)
Return the datatype given the shift, and whether the decimal position is specified |
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 ISeriesEditorDDSParser _parser
Constructor Detail |
---|
public ISeriesEditorDDSSyntaxChecker(LpexView lpexView, ISeriesEditorDDSParser parser)
Method Detail |
---|
protected void addSyntaxMessage(int iElement, String strMessageId, int iPosition, int iLength)
protected String checkAndOrCommentFlag(String strToken, int iDDSType)
protected String checkDataType(char cDataType, int iDDSType)
protected String checkDecimalPosition(String strNumber, int iDDSType, char cReference)
protected String checkFieldLength(String strFieldLength, int iDDSType, char cFieldType, char cReference, boolean hasLocation)
protected String checkFunctions(String strElement, int iDDSType)
protected String checkIndicator(String strIndicator)
protected String checkIndicatorDspf(int iElement, String strIndicator, int iDDSType)
protected String checkIndicators(int iElement, String strElement, int iDDSType)
protected String checkIndicators3(int iElement, String strElement, int iDDSType)
protected int checkElementDspf(int iElement, String strElement, int iDDSType)
protected int checkElementGeneric(int iElement, String strElement, int iDDSType)
protected char mapShiftToDataType(char shift, boolean isDecimalPositionSpecified, int iDDSType)
shift
- isDecimalPositionSpecified
- iDDSType
- - the mapping only needs to be done if DSPF
protected int checkElementIcff(int iElement, String strElement, int iDDSType)
protected int checkElementLf(int iElement, String strElement, int iDDSType)
protected int checkElementPf(int iElement, String strElement, int iDDSType)
protected int checkElementPrtf(int iElement, String strElement, int iDDSType)
protected String checkLocationElement(String strLocation, int iDDSType, String strPositions)
strLocation
- - line number from [40-42]iDDSType
- strPositions
- - column number from [42-44]
protected String checkLocationPosition(String strPosition, int iDDSType)
position
- [40-43]DDS
- typeprotected String checkLocationPositionDspf(int iPosition)
protected String checkLocationPositionPrtf(int iPosition)
protected String checkName(String strName, int iDDSType)
protected String checkNameAny(String strName)
protected String checkNameIcff(String strName)
protected String checkNameType(char cNameType, int iDDSType)
protected String checkReferenceField(String strField)
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
protected String checkUsage(char cUsage, int iDDSType)
public boolean isAvailable()
isAvailable
in interface IISeriesEditorSyntaxChecker
isAvailable
in class ISeriesEditorSyntaxChecker
public boolean isCancelable()
isCancelable
in class ISeriesEditorSyntaxChecker
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |