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

Method maxEntryHeight

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

Source from the content-addressed store, hash-verified

668}
669
670func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
671 max := 0
672 for _, e := range entries {
673 h := hv[e.ID()]
674 if h > max {
675 max = h
676 }
677 }
678 return max
679}
680
681type idVisitor map[int64]bool
682

Callers 1

VisitExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected