Class MDXValuesHighlight.JavaScanner

  • Enclosing class:
    MDXValuesHighlight

    public class MDXValuesHighlight.JavaScanner
    extends Object
    A simple fuzzy scanner for Java
    • Field Detail

      • fgFunctions

        protected Map<?,​?> fgFunctions
      • kfFunctions

        protected Map<?,​?> kfFunctions
      • fPos

        protected int fPos
      • fEnd

        protected int fEnd
      • fStartToken

        protected int fStartToken
      • fEofSeen

        protected boolean fEofSeen
    • Constructor Detail

      • JavaScanner

        public JavaScanner()
    • Method Detail

      • getLength

        public final int getLength()
        Returns the ending location of the current token in the document.
      • setSQLKeywords

        public void setSQLKeywords​(String[] kfKeywords)
      • 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

        public void setRange​(String text)
      • unread

        protected void unread​(int c)