| 684 | } |
| 685 | |
| 686 | absl::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 |
nothing calls this directly
no test coverage detected