Class ExpressionWordState
java.lang.Object
org.pipservices3.expressions.tokenizers.generic.GenericWordState
org.pipservices3.expressions.calculator.tokenizers.ExpressionWordState
- All Implemented Interfaces:
ITokenizerState
,IWordState
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextToken
(IScanner scanner, ITokenizer tokenizer) Gets the next token from the stream started from the character linked to this state.Methods inherited from class org.pipservices3.expressions.tokenizers.generic.GenericWordState
clearWordChars, setWordChars
-
Field Details
-
keywords
Supported expression keywords.
-
-
Constructor Details
-
ExpressionWordState
Constructs an instance of this class.- Throws:
Exception
-
-
Method Details
-
nextToken
Gets the next token from the stream started from the character linked to this state.- Specified by:
nextToken
in interfaceITokenizerState
- Overrides:
nextToken
in classGenericWordState
- Parameters:
scanner
- A textual string to be tokenized.tokenizer
- A tokenizer class that controls the process.- Returns:
- The next token from the top of the stream.
- Throws:
Exception
-