MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / LexisIsReserved

Function LexisIsReserved

internal/lexis.cc:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56} // namespace
57
58bool LexisIsReserved(absl::string_view text) {
59 absl::call_once(reserved_keywords_once_flag, InitializeReservedKeywords);
60 return reserved_keywords->find(text) != reserved_keywords->end();
61}
62
63bool LexisIsIdentifier(absl::string_view text) {
64 if (text.empty()) {

Callers 4

visitIdentMethod · 0.85
visitGlobalCallMethod · 0.85
TEST_PFunction · 0.85
LexisIsIdentifierFunction · 0.85

Calls 1

endMethod · 0.45

Tested by 1

TEST_PFunction · 0.68