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

Method maxHeight

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

Source from the content-addressed store, hash-verified

657}
658
659func (hv heightVisitor) maxHeight(exprs ...Expr) int {
660 max := 0
661 for _, e := range exprs {
662 h := hv[e.ID()]
663 if h > max {
664 max = h
665 }
666 }
667 return max
668}
669
670func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
671 max := 0

Callers 2

VisitExprMethod · 0.95
VisitEntryExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected