costTrackerFactory holds a factory for producing new CostTracker instances on each Eval call.
| 64 | |
| 65 | // costTrackerFactory holds a factory for producing new CostTracker instances on each Eval call. |
| 66 | type costTrackerFactory struct { |
| 67 | factory func() (*CostTracker, error) |
| 68 | } |
| 69 | |
| 70 | // InitState produces a CostTracker and bundles it into an Activation in a way which is not visible |
| 71 | // to expression evaluation. |
nothing calls this directly
no outgoing calls
no test coverage detected