Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import type ICallGraphEntry from "./ICallGraphEntry";
/**
* One call as 1.3 Declare records it: a parameter of the calling function,
* passed to a callee (#1825).
*
* A call written with a bare name (`fill(buf)`) is recorded as written, not
* resolved. Inside a scope, ADR-057 makes it the scope's own `fill` when the
* scope declares one and the global `fill` otherwise -- and a scope can be
* reopened in another file (#1333), so one file's parse cannot say which. 1.4
* Resolve answers it, against every file's declarations. A qualified call
* (`Scope.fill(buf)`, `this.fill(buf)`, `global.fill(buf)`) states its answer
* in the syntax, so its callee is already the transpiled C name.
*/
interface IDeclaredCall extends ICallGraphEntry {
/** The source wrote a bare callee name, which 1.4 still has to resolve. */
readonly calleeIsBare: boolean;
}
export default IDeclaredCall;
|