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

Method maxEntryHeight

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

Source from the content-addressed store, hash-verified

653}
654
655func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
656 max := 0
657 for _, e := range entries {
658 h := hv[e.ID()]
659 if h > max {
660 max = h
661 }
662 }
663 return max
664}
665
666type idVisitor map[int64]bool
667

Callers 1

VisitExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected