Class MDXValuesHighlight.JavaScanner
java.lang.Object
org.pentaho.di.ui.trans.steps.olapinput.MDXValuesHighlight.JavaScanner
- Enclosing class:
- MDXValuesHighlight
A simple fuzzy scanner for Java
-
Field Summary
Modifier and TypeFieldDescriptionprotected StringBuilder
protected String
protected int
protected boolean
protected Map<?,
?> protected int
protected int
protected Map<?,
?> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the ending location of the current token in the document.final int
Returns the starting location of the current token in the document.int
Returns the next lexical token in the document.protected int
read()
Returns next character.void
void
setSQLKeywords
(String[] kfKeywords) protected void
unread
(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
-
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)
-