Searched refs:MatchChar (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/torque/ |
D | torque-parser.cc | 822 if (MatchChar(std::isspace, pos)) continue; in MatchWhitespace() 824 while (MatchChar([](char c) { return c != '\n'; }, pos)) { in MatchWhitespace() 833 if (!MatchChar(std::isalpha, pos)) return false; in MatchIdentifier() 834 while (MatchChar(std::isalnum, pos) || MatchString("_", pos)) { in MatchIdentifier() 844 MatchChar([](char c) { return c != '"' && c != '\n'; }, ¤t)) { in MatchStringLiteral() 855 MatchChar([](char c) { return c != '\'' && c != '\n'; }, ¤t)) { in MatchStringLiteral() 868 if (MatchString("0x", ¤t) && MatchChar(std::isxdigit, ¤t)) { in MatchHexLiteral() 869 while (MatchChar(std::isxdigit, ¤t)) { in MatchHexLiteral() 881 while (MatchChar(std::isdigit, ¤t)) found_digit = true; in MatchDecimalLiteral() 883 while (MatchChar(std::isdigit, ¤t)) found_digit = true; in MatchDecimalLiteral() [all …]
|
D | earley-parser.cc | 269 bool Grammar::MatchChar(int (*char_class)(int), InputPosition* pos) { in MatchChar() function in v8::internal::torque::Grammar 278 bool Grammar::MatchChar(bool (*char_class)(char), InputPosition* pos) { in MatchChar() function in v8::internal::torque::Grammar 298 return MatchChar([](char c) { return true; }, pos); in MatchAnyChar()
|
D | earley-parser.h | 368 V8_EXPORT_PRIVATE static bool MatchChar(int (*char_class)(int), 370 V8_EXPORT_PRIVATE static bool MatchChar(bool (*char_class)(char),
|