Class MustacheSpecialState
java.lang.Object
org.pipservices3.expressions.mustache.tokenizers.MustacheSpecialState
- All Implemented Interfaces:
ITokenizerState
Implements a quote string state object for Mustache templates.
-
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.
-
Constructor Details
-
MustacheSpecialState
public MustacheSpecialState()
-
-
Method Details
-
nextToken
Gets the next token from the stream started from the character linked to this state.- Specified by:
nextToken
in interfaceITokenizerState
- 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
-