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.
| 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. |
| 50 | type CallEstimate struct { |
| 51 | CostEstimate |
| 52 | |
| 53 | ResultSize *SizeEstimate |
| 54 | } |
| 55 | |
| 56 | // AstNode represents an AST node for the purpose of cost estimations. |
| 57 | type AstNode interface { |
nothing calls this directly
no outgoing calls
no test coverage detected