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

Method visitMaybeMacroCall

parser/unparser.go:488–494  ·  view source on GitHub ↗
(expr ast.Expr)

Source from the content-addressed store, hash-verified

486}
487
488func (un *unparser) visitMaybeMacroCall(expr ast.Expr) (bool, error) {
489 call, found := un.info.GetMacroCall(expr.ID())
490 if !found {
491 return false, nil
492 }
493 return true, un.visit(call)
494}
495
496func (un *unparser) visitMaybeNested(expr ast.Expr, nested bool) error {
497 if nested {

Callers 1

visitMethod · 0.95

Calls 3

visitMethod · 0.95
GetMacroCallMethod · 0.80
IDMethod · 0.65

Tested by

no test coverage detected