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

Method NewIdent

cel/optimizer.go:389–391  ·  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

387// - simple_var_name
388// - qualified.subpackage.var_name
389func (opt *optimizerExprFactory) NewIdent(name string) ast.Expr {
390 return opt.fac.NewIdent(opt.nextID(), name)
391}
392
393// NewLiteral creates a new literal expression value.
394//

Callers

nothing calls this directly

Calls 2

NewIdentMethod · 0.65
nextIDMethod · 0.45

Tested by

no test coverage detected