Class SQLValuesHighlight.JavaScanner
java.lang.Object
org.pentaho.di.ui.trans.steps.tableinput.SQLValuesHighlight.JavaScanner
- Enclosing class:
- SQLValuesHighlight
A simple fuzzy scanner for Java
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringBuilderprotected Stringprotected intprotected booleanprotected Map<?,?> protected intprotected intprotected Map<?,?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intReturns the ending location of the current token in the document.String[]final intReturns the starting location of the current token in the document.voidintReturns the next lexical token in the document.protected intread()Returns next character.voidvoidsetSQLKeywords(String[] kfKeywords) protected voidunread(int c)
-
Field Details
-
fgKeys
-
fgFunctions
-
kfKeys
-
kfFunctions
-
fBuffer
-
fDoc
-
fPos
protected int fPos -
fEnd
protected int fEnd -
fStartToken
protected int fStartToken -
fEofSeen
protected boolean fEofSeen
-
-
Constructor Details
-
JavaScanner
public JavaScanner()
-
-
Method Details
-
getLength
public final int getLength()Returns the ending location of the current token in the document. -
setSQLKeywords
-
getSQLKeywords
-
initializeSQLFunctions
public void initializeSQLFunctions() -
getStartOffset
public final int getStartOffset()Returns the starting location of the current token in the document. -
nextToken
public int nextToken()Returns the next lexical token in the document. -
read
protected int read()Returns next character. -
setRange
-
unread
protected void unread(int c)
-