countingActivation sits at the root of an activation chain and records how many times function resolution reaches it. It never supplies a binding, so every lookup traverses the full chain.
| 6670 | // countingActivation sits at the root of an activation chain and records how many times function |
| 6671 | // resolution reaches it. It never supplies a binding, so every lookup traverses the full chain. |
| 6672 | type countingActivation struct { |
| 6673 | Activation |
| 6674 | calls int |
| 6675 | } |
| 6676 | |
| 6677 | func (a *countingActivation) ResolveFunction(name string) (LateBoundFunction, bool) { |
| 6678 | a.calls++ |
nothing calls this directly
no outgoing calls
no test coverage detected