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

Method AddExtension

cel/optimizer.go:322–324  ·  view source on GitHub ↗

AddExtension adds an extension record into the tracked source info metadata.

(ext ast.Extension)

Source from the content-addressed store, hash-verified

320
321// AddExtension adds an extension record into the tracked source info metadata.
322func (opt *optimizerExprFactory) AddExtension(ext ast.Extension) {
323 opt.sourceInfo.AddExtension(ext)
324}
325
326// NewBindMacro creates an AST expression representing the expanded bind() macro, and a macro expression
327// representing the unexpanded call signature to be inserted into the source info macro call metadata.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected