Interface IWhitespaceState
-
- All Superinterfaces:
ITokenizerState
- All Known Implementing Classes:
GenericWhitespaceState
public interface IWhitespaceState extends ITokenizerState
Defines an interface for tokenizer state that processes whitespaces (' ', '\t')
-
-
Method Summary
Modifier and Type Method Description voidclearWhitespaceChars()Clears 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 Detail
-
setWhitespaceChars
void setWhitespaceChars(int fromSymbol, int toSymbol, boolean enable) throws ExceptionEstablish 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.
-
-