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

Method maxHeight

common/ast/ast.go:644–653  ·  view source on GitHub ↗
(exprs ...Expr)

Source from the content-addressed store, hash-verified

642}
643
644func (hv heightVisitor) maxHeight(exprs ...Expr) int {
645 max := 0
646 for _, e := range exprs {
647 h := hv[e.ID()]
648 if h > max {
649 max = h
650 }
651 }
652 return max
653}
654
655func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
656 max := 0

Callers 2

VisitExprMethod · 0.95
VisitEntryExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected