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

Function exprIdent

common/ast/conversion.go:210–212  ·  view source on GitHub ↗
(factory ExprFactory, id int64, i *exprpb.Expr_Ident)

Source from the content-addressed store, hash-verified

208}
209
210func exprIdent(factory ExprFactory, id int64, i *exprpb.Expr_Ident) (Expr, error) {
211 return factory.NewIdent(id, i.GetName()), nil
212}
213
214func exprList(factory ExprFactory, id int64, l *exprpb.Expr_CreateList) (Expr, error) {
215 elems := make([]Expr, len(l.GetElements()))

Callers 1

exprInternalFunction · 0.85

Calls 2

NewIdentMethod · 0.65
GetNameMethod · 0.45

Tested by

no test coverage detected