/////////////////////////////////////////////////////////////////////////// Lexer::Type::string '|" [ U+XXXX | \uXXXX | \" | \' | \\ | \/ | \b | \f | \n | \r | \t | . ] '|"
| 388 | // [ U+XXXX | \uXXXX | \" | \' | \\ | \/ | \b | \f | \n | \r | \t | . ] |
| 389 | // '|" |
| 390 | bool Lexer::isString(std::string& token, Lexer::Type& type, const std::string& quotes) { |
| 391 | std::size_t marker = _cursor; |
| 392 | if (readWord(_text, quotes, marker, token)) { |
| 393 | type = Lexer::Type::string; |
| 394 | _cursor = marker; |
| 395 | return true; |
| 396 | } |
| 397 | |
| 398 | return false; |
| 399 | } |
| 400 | |
| 401 | //////////////////////////////////////////////////////////////////////////////// |
| 402 | // Lexer::Type::date |
nothing calls this directly
no outgoing calls
no test coverage detected