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

Function ExcludeMacrosByNamePredicate

parser/parser_subset_factory.cc:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41cel::ParserLibrarySubset::MacroPredicate ExcludeMacrosByNamePredicate(
42 absl::flat_hash_set<std::string> macro_names) {
43 return [macro_names_set = std::move(macro_names)](const Macro& macro) {
44 return !macro_names_set.contains(macro.function());
45 };
46}
47
48cel::ParserLibrarySubset::MacroPredicate ExcludeMacrosByNamePredicate(
49 absl::Span<const absl::string_view> macro_names) {

Callers 1

MakeStdlibSubsetFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected