///////////////////////////////////////////////////////////////////////////
| 1162 | |
| 1163 | //////////////////////////////////////////////////////////////////////////////// |
| 1164 | bool Lexer::isAllDigits(const std::string& text) { |
| 1165 | return text.length() && text.find_first_not_of("0123456789") == std::string::npos; |
| 1166 | } |
| 1167 | |
| 1168 | //////////////////////////////////////////////////////////////////////////////// |
| 1169 | // This is intentionally looking for a single token. |
nothing calls this directly
no outgoing calls
no test coverage detected