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

Method maxHeight

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

Source from the content-addressed store, hash-verified

650}
651
652func (hv heightVisitor) maxHeight(exprs ...Expr) int {
653 max := 0
654 for _, e := range exprs {
655 h := hv[e.ID()]
656 if h > max {
657 max = h
658 }
659 }
660 return max
661}
662
663func (hv heightVisitor) maxEntryHeight(entries ...EntryExpr) int {
664 max := 0

Callers 2

VisitExprMethod · 0.95
VisitEntryExprMethod · 0.95

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected