Interface IWordState
- All Superinterfaces:
ITokenizerState
- All Known Implementing Classes:
CsvWordState,ExpressionWordState,GenericWordState
Defines an interface for tokenizer state that processes words, identificators or keywords
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears definitions of word chars.voidsetWordChars(int fromSymbol, int toSymbol, boolean enable) Establish characters in the given range as valid characters for part of a word after the first character.Methods inherited from interface org.pipservices3.expressions.tokenizers.ITokenizerState
nextToken
-
Method Details
-
setWordChars
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-trueif this state should use characters in the given range.- Throws:
Exception
-
clearWordChars
void clearWordChars()Clears definitions of word chars.
-