Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.sql
Interface ISQLParser

All Known Implementing Classes:
ISeriesEditorRPGILESQLParser

public interface ISQLParser

This interface is used by the parser to correctly indentify elements that make up part of an SQL statement


Method Summary
 boolean isSQLElement(int iElement)
          Indicates whether or not the element is part of an SQL statement
 void parseElements(int iElementFirst, int iElementLast, int iElementCurrent)
          Parses the element range to ensure correctness
 

Method Detail

isSQLElement

boolean isSQLElement(int iElement)
Indicates whether or not the element is part of an SQL statement

Parameters:
iElement - the element to check
Returns:
true if the element is part of an SQL statement, false otherwise

parseElements

void parseElements(int iElementFirst,
                   int iElementLast,
                   int iElementCurrent)
Parses the element range to ensure correctness

Parameters:
iElementFirst - the first element to parse
iElementLast - the last element to parse
iElementCurrent - the current element in the view

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.