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

Function IsCelNamespace

conformance/service.cc:109–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107namespace {
108
109bool IsCelNamespace(const cel::Expr& target) {
110 return target.has_ident_expr() && target.ident_expr().name() == "cel";
111}
112
113absl::optional<cel::Expr> CelBlockMacroExpander(cel::MacroExprFactory& factory,
114 cel::Expr& target,

Callers 4

CelBlockMacroExpanderFunction · 0.85
CelIndexMacroExpanderFunction · 0.85
CelIterVarMacroExpanderFunction · 0.85
CelAccuVarMacroExpanderFunction · 0.85

Calls 2

has_ident_exprMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected