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

Method has_const_expr

common/expr.h:921–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919 ABSL_MUST_USE_RESULT ExprKind release_kind();
920
921 ABSL_MUST_USE_RESULT bool has_const_expr() const {
922 return absl::holds_alternative<Constant>(kind());
923 }
924
925 ABSL_MUST_USE_RESULT const Constant& const_expr() const
926 ABSL_ATTRIBUTE_LIFETIME_BOUND {

Callers 15

VisitOptSelectMethod · 0.80
TESTFunction · 0.80
HandleOptSelectMethod · 0.80
AdornMethod · 0.80
GetConstantStringMethod · 0.80
OnPostVisitMethod · 0.80
CheckPatternFunction · 0.80
TESTFunction · 0.80
SelectQualifierFromListFunction · 0.80
PreVisitCallMethod · 0.80

Calls 1

kindFunction · 0.50

Tested by 3

TESTFunction · 0.64
AdornMethod · 0.64
TESTFunction · 0.64