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

Method VisitEntryExpr

cel/folding_test.go:896–901  ·  view source on GitHub ↗

VisitEntryExpr updates the max identifier if the incoming entry id is greater than previously observed.

(e ast.EntryExpr)

Source from the content-addressed store, hash-verified

894
895// VisitEntryExpr updates the max identifier if the incoming entry id is greater than previously observed.
896func (c *idCollector) VisitEntryExpr(e ast.EntryExpr) {
897 if e.ID() == 0 {
898 return
899 }
900 c.ids = append(c.ids, e.ID())
901}
902
903func (c *idCollector) IDs() []int64 {
904 sort.Sort(c.ids)

Callers

nothing calls this directly

Calls 1

IDMethod · 0.65

Tested by

no test coverage detected