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

Function ExprIdent

test/expr.go:256–259  ·  view source on GitHub ↗

ExprIdent creates an ident (variable) Expr.

(id int64, name string)

Source from the content-addressed store, hash-verified

254
255// ExprIdent creates an ident (variable) Expr.
256func ExprIdent(id int64, name string) *exprpb.Expr {
257 return &exprpb.Expr{Id: id, ExprKind: &exprpb.Expr_IdentExpr{
258 IdentExpr: &exprpb.Expr_Ident{Name: name}}}
259}
260
261// ExprSelect creates a select Expr.
262func ExprSelect(id int64, operand *exprpb.Expr, field string) *exprpb.Expr {

Callers 1

expr.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected