Home
last modified time | relevance | path

Searched refs:MatchChar (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/torque/
Dtorque-parser.cc822 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'; }, &current)) { in MatchStringLiteral()
855 MatchChar([](char c) { return c != '\'' && c != '\n'; }, &current)) { in MatchStringLiteral()
868 if (MatchString("0x", &current) && MatchChar(std::isxdigit, &current)) { in MatchHexLiteral()
869 while (MatchChar(std::isxdigit, &current)) { in MatchHexLiteral()
881 while (MatchChar(std::isdigit, &current)) found_digit = true; in MatchDecimalLiteral()
883 while (MatchChar(std::isdigit, &current)) found_digit = true; in MatchDecimalLiteral()
[all …]
Dearley-parser.cc269 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()
Dearley-parser.h368 V8_EXPORT_PRIVATE static bool MatchChar(int (*char_class)(int),
370 V8_EXPORT_PRIVATE static bool MatchChar(bool (*char_class)(char),