MCPcopy Create free account
hub / github.com/cel-expr/cel-go / Select

Method Select

cel/macro.go:517–520  ·  view source on GitHub ↗

Select create a field traversal Expr value.

(operand *exprpb.Expr, field string)

Source from the content-addressed store, hash-verified

515
516// Select create a field traversal Expr value.
517func (ah *adaptingHelper) Select(operand *exprpb.Expr, field string) *exprpb.Expr {
518 op := mustAdaptToExpr(operand)
519 return mustAdaptToProto(ah.modernHelper.NewSelect(op, field))
520}
521
522// OffsetLocation returns the Location of the expression identifier.
523func (ah *adaptingHelper) OffsetLocation(exprID int64) common.Location {

Callers

nothing calls this directly

Calls 3

mustAdaptToExprFunction · 0.85
mustAdaptToProtoFunction · 0.85
NewSelectMethod · 0.65

Tested by

no test coverage detected