momemta::strings::Scanner Class Reference
Detailed Description
Public Member Functions | |
Scanner (StringPiece source) | |
Scanner & | One (CharClass clz) |
Scanner & | ZeroOrOneLiteral (StringPiece s) |
Scanner & | OneLiteral (StringPiece s) |
Scanner & | Any (CharClass clz) |
Scanner & | Many (CharClass clz) |
Scanner & | RestartCapture () |
Scanner & | StopCapture () |
Scanner & | Eos () |
Scanner & | AnySpace () |
Scanner & | ScanUntil (char end_ch) |
Scanner & | ScanEscapedUntil (char end_ch) |
char | Peek (char default_value='\0') const |
int | empty () const |
bool | GetResult (StringPiece *remaining=nullptr, StringPiece *capture=nullptr) |
Static Public Member Functions | |
static bool | Matches (CharClass clz, char ch) |
The documentation for this class was generated from the following files:
- core/include/strings/Scanner.h
- core/src/strings/Scanner.cc