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

Method IsComplexOperator

tools/cel_unparser.cc:535–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535bool Unparser::IsComplexOperator(const Expr& expr) {
536 // If the arg is a call with more than one arg, return true
537 return expr.has_call_expr() && expr.call_expr().args_size() >= 2;
538}
539
540// Returns true the given expression is
541// - a call expression AND ONE of the following holds:

Callers

nothing calls this directly

Calls 1

has_call_exprMethod · 0.80

Tested by

no test coverage detected