Package org.pentaho.libformula.ui.editor
Class LibFormulaValuesHighlight.LibFormulaScanner
java.lang.Object
org.pentaho.libformula.ui.editor.LibFormulaValuesHighlight.LibFormulaScanner
- Enclosing class:
- LibFormulaValuesHighlight
A simple fuzzy scanner for LibFormula
-
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
setValueNames
(String[] valueNames) 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
-
LibFormulaScanner
public LibFormulaScanner()
-
-
Method Details
-
getLength
public final int getLength()Returns the ending location of the current token in the document. -
setValueNames
-
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)
-