Interface IWordState

    • Method Summary

      Modifier and Type Method Description
      void clearWordChars()
      Clears definitions of word chars.
      void setWordChars​(int fromSymbol, int toSymbol, boolean enable)
      Establish characters in the given range as valid characters for part of a word after the first character.
    • Method Detail

      • setWordChars

        void setWordChars​(int fromSymbol,
                          int toSymbol,
                          boolean enable)
                   throws Exception
        Establish characters in the given range as valid characters for part of a word after the first character. Note that the tokenizer must determine which characters are valid as the beginning character of a word.
        Parameters:
        fromSymbol - First character index of the interval.
        toSymbol - Last character index of the interval.
        enable - true if this state should use characters in the given range.
        Throws:
        Exception
      • clearWordChars

        void clearWordChars()
        Clears definitions of word chars.