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

Function IsTargetNamespace

extensions/bindings_ext.cc:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37static constexpr char kUnusedIterVar[] = "#unused";
38
39bool IsTargetNamespace(const Expr& target) {
40 return target.has_ident_expr() && target.ident_expr().name() == kCelNamespace;
41}
42
43inline absl::Status ConfigureParser(ParserBuilder& parser_builder) {
44 for (const Macro& macro : bindings_macros()) {

Callers 1

bindings_macrosFunction · 0.70

Calls 2

has_ident_exprMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected