| 24 | namespace { |
| 25 | |
| 26 | bool IsDotOrIdentifierChar(char c) { |
| 27 | if (c == '.') return true; |
| 28 | if (c == '-') return true; |
| 29 | if (c >= 'A' && c <= 'Z') return true; |
| 30 | if (c >= 'a' && c <= 'z') return true; |
| 31 | if (c >= '0' && c <= '9') return true; |
| 32 | return false; |
| 33 | } |
| 34 | |
| 35 | bool ConsumeDotSeparatedIdentifiers(StringPiece* s, const string& prefix, |
| 36 | StringPiece* val) { |
no outgoing calls
no test coverage detected