Interface IWhitespaceState
- All Superinterfaces:
ITokenizerState
- All Known Implementing Classes:
GenericWhitespaceState
Defines an interface for tokenizer state that processes whitespaces (' ', '\t')
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears definitions of whitespace characters.voidsetWhitespaceChars(int fromSymbol, int toSymbol, boolean enable) Establish the given characters as whitespace to ignore.Methods inherited from interface org.pipservices3.expressions.tokenizers.ITokenizerState
nextToken
-
Method Details
-
setWhitespaceChars
Establish the given characters as whitespace to ignore.- Parameters:
fromSymbol- First character index of the interval.toSymbol- Last character index of the interval.enable-trueif this state should ignore characters in the given range.- Throws:
Exception
-
clearWhitespaceChars
void clearWhitespaceChars()Clears definitions of whitespace characters.
-