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

Method visitMaybeMacroCall

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

Source from the content-addressed store, hash-verified

448}
449
450func (un *unparser) visitMaybeMacroCall(expr ast.Expr) (bool, error) {
451 call, found := un.info.GetMacroCall(expr.ID())
452 if !found {
453 return false, nil
454 }
455 return true, un.visit(call)
456}
457
458func (un *unparser) visitMaybeNested(expr ast.Expr, nested bool) error {
459 if nested {

Callers 1

visitMethod · 0.95

Calls 3

visitMethod · 0.95
GetMacroCallMethod · 0.80
IDMethod · 0.65

Tested by

no test coverage detected