pip_services3_expressions.tokenizers.generic.CCommentState module
-
class
pip_services3_expressions.tokenizers.generic.CCommentState.
CCommentState
Bases:
pip_services3_expressions.tokenizers.generic.CppCommentState.CppCommentState
This state will either delegate to a comment-handling state, or return a token with just a slash in it.
-
next_token
(scanner: pip_services3_expressions.io.IScanner.IScanner, tokenizer: pip_services3_expressions.tokenizers.ITokenizer.ITokenizer) → pip_services3_expressions.tokenizers.Token.Token Either delegate to a comment-handling state, or return a token with just a slash in it.
- 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.
-