CostTracker returns the active CostTracker for this evaluation pass, or nil.
()
| 371 | |
| 372 | // CostTracker returns the active CostTracker for this evaluation pass, or nil. |
| 373 | func (f *ExecutionFrame) CostTracker() *CostTracker { |
| 374 | if f == nil { |
| 375 | return nil |
| 376 | } |
| 377 | return f.costTracker |
| 378 | } |
| 379 | |
| 380 | // SetCostTracker sets the active CostTracker for this evaluation pass. |
| 381 | func (f *ExecutionFrame) SetCostTracker(tracker *CostTracker) { |