Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.parsers
Class ISeriesEditorRPGILETokenFinder

java.lang.Object
  extended by com.ibm.etools.iseries.parsers.ISeriesEditorRPGILETokenFinder

public class ISeriesEditorRPGILETokenFinder
extends Object

Class that locates the token where the cursor is.


Field Summary
static String Copyright
           
protected static char[] delims
           
protected  Hashtable table
           
 
Constructor Summary
ISeriesEditorRPGILETokenFinder()
          Constructor.
 
Method Summary
 int[] getTokenLocation(String strLine, int iLocation)
          Given line text, and the location in the line, returns the start and end location of a token.
 int[] identifierInSubString(char[] buffer, int index, int start, int end)
          Finds a token within a substring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

delims

protected static final char[] delims

table

protected Hashtable table
Constructor Detail

ISeriesEditorRPGILETokenFinder

public ISeriesEditorRPGILETokenFinder()
Constructor.

Method Detail

getTokenLocation

public int[] getTokenLocation(String strLine,
                              int iLocation)
Given line text, and the location in the line, returns the start and end location of a token.


identifierInSubString

public int[] identifierInSubString(char[] buffer,
                                   int index,
                                   int start,
                                   int end)
Finds a token within a substring.


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.