pip_services3_expressions.mustache.tokenizers.MustacheSpecialState module
-
class
pip_services3_expressions.mustache.tokenizers.MustacheSpecialState.
MustacheSpecialState
Bases:
pip_services3_expressions.tokenizers.ITokenizerState.ITokenizerState
Implements a quote string state object for Mustache templates.
-
next_token
(scanner: pip_services3_expressions.io.IScanner.IScanner, tokenizer: pip_services3_expressions.tokenizers.ITokenizer.ITokenizer) → pip_services3_expressions.tokenizers.Token.Token Gets the next token from the stream started from the character linked to this state.
- 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.
-