Searched refs:ZeroOrOneLiteral (Results 1 – 3 of 3) sorted by relevance
186 TEST_F(ScannerTest, ZeroOrOneLiteral) { in TEST_F() argument189 Scanner("abc").ZeroOrOneLiteral("abC").GetResult(&remaining, &match)); in TEST_F()194 Scanner("abcd").ZeroOrOneLiteral("ab").ZeroOrOneLiteral("c").GetResult( in TEST_F()200 Scanner("").ZeroOrOneLiteral("abc").GetResult(&remaining, &match)); in TEST_F()
80 Scanner& ZeroOrOneLiteral(StringPiece s) { in ZeroOrOneLiteral() function
86 Scanner(remaining).ZeroOrOneLiteral(",").GetResult(&remaining, &match); in ParseTransformParameters()128 Scanner(remaining).ZeroOrOneLiteral("\"").GetResult(&remaining, &match); in ParseTransformParameters()129 Scanner(remaining).ZeroOrOneLiteral("'").GetResult(&remaining, &match); in ParseTransformParameters()