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

Function kind_case

common/constant.h:416–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 }
415
416 ConstantKindCase kind_case() const {
417 static_assert(absl::variant_size_v<ConstantKind> == 10);
418 if (kind_.index() <= 10) {
419 return static_cast<ConstantKindCase>(kind_.index());
420 }
421 return ConstantKindCase::kUnspecified;
422 }
423
424 private:
425 friend class Expr;

Callers

nothing calls this directly

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected