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

Struct CallEstimate

checker/cost.go:50–54  ·  view source on GitHub ↗

CallEstimate includes a CostEstimate for the call, and an optional estimate of the result object size. The ResultSize should only be provided if the call results in a map, list, string or bytes.

Source from the content-addressed store, hash-verified

48// CallEstimate includes a CostEstimate for the call, and an optional estimate of the result object size.
49// The ResultSize should only be provided if the call results in a map, list, string or bytes.
50type CallEstimate struct {
51 CostEstimate
52
53 ResultSize *SizeEstimate
54}
55
56// AstNode represents an AST node for the purpose of cost estimations.
57type AstNode interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected