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

Method MacroCalls

cel/optimizer.go:317–319  ·  view source on GitHub ↗

MacroCalls returns the map of macro calls currently in the context.

()

Source from the content-addressed store, hash-verified

315
316// MacroCalls returns the map of macro calls currently in the context.
317func (opt *optimizerExprFactory) MacroCalls() map[int64]ast.Expr {
318 return opt.sourceInfo.MacroCalls()
319}
320
321// AddExtension adds an extension record into the tracked source info metadata.
322func (opt *optimizerExprFactory) AddExtension(ext ast.Extension) {

Callers 7

ResidualAstMethod · 0.45
OptimizeMethod · 0.45
normalizeIDsFunction · 0.45
cleanupMacroRefsFunction · 0.45
CopyASTAndMetadataMethod · 0.45
UpdateExprMethod · 0.45

Calls

no outgoing calls

Tested by 2

OptimizeMethod · 0.36