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

Function ParseIdentifier

internal/strings.cc:686–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684}
685
686absl::StatusOr<std::string> ParseIdentifier(absl::string_view str) {
687 if (!LexisIsIdentifier(str)) {
688 return absl::InvalidArgumentError("Invalid identifier");
689 }
690 return std::string(str);
691}
692
693} // namespace cel::internal

Callers

nothing calls this directly

Calls 1

LexisIsIdentifierFunction · 0.85

Tested by

no test coverage detected