fsm
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
escad::json::tokenizer< TokenType, Regex > Class Template Reference
Inheritance diagram for escad::json::tokenizer< TokenType, Regex >:
Inheritance graph
[legend]
Collaboration diagram for escad::json::tokenizer< TokenType, Regex >:
Collaboration graph
[legend]

Public Types

using Token = TokenType
 

Public Member Functions

 tokenizer (view &input)
 
 tokenizer (view &&input)
 
std::optional< TokenType > next ()
 
bool isToken (TokenType type)
 
std::string_view consume ()
 
std::optional< std::string_view > consume (TokenType type)
 
const viewgetView () const
 

Public Attributes

viewview_
 

Static Public Attributes

static constexpr auto TokenTypeSize = magic_enum::enum_count<TokenType>()
 

The documentation for this class was generated from the following file: