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

Method maxEntryHeight

common/ast/ast.go:663–672  ·  view source on GitHub ↗
(entries ...EntryExpr)

Source from the content-addressed store, hash-verified

661}
662
663func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
664 max := 0
665 for _, e := range entries {
666 h := hv[e.ID()]
667 if h > max {
668 max = h
669 }
670 }
671 return max
672}
673
674type idVisitor map[int64]bool
675

Callers 1

VisitExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected