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

Method NewIdent

cel/optimizer.go:383–385  ·  view source on GitHub ↗

NewIdent creates a new identifier expression. Examples: - simple_var_name - qualified.subpackage.var_name

(name string)

Source from the content-addressed store, hash-verified

381// - simple_var_name
382// - qualified.subpackage.var_name
383func (opt *optimizerExprFactory) NewIdent(name string) ast.Expr {
384 return opt.fac.NewIdent(opt.nextID(), name)
385}
386
387// NewLiteral creates a new literal expression value.
388//

Callers

nothing calls this directly

Calls 2

NewIdentMethod · 0.65
nextIDMethod · 0.45

Tested by

no test coverage detected