| 60 | } |
| 61 | |
| 62 | bool ConsumeQuotedString(char quote_ch, StringPiece* sp, StringPiece* out) { |
| 63 | const string quote_str(1, quote_ch); |
| 64 | return Scanner(*sp) |
| 65 | .OneLiteral(quote_str.c_str()) |
| 66 | .RestartCapture() |
| 67 | .ScanEscapedUntil(quote_ch) |
| 68 | .StopCapture() |
| 69 | .OneLiteral(quote_str.c_str()) |
| 70 | .AnySpace() |
| 71 | .GetResult(sp, out); |
| 72 | } |
| 73 | |
| 74 | bool ConsumeAttrType(StringPiece* sp, StringPiece* out) { |
| 75 | return Scanner(*sp) |
no test coverage detected