(name)
| 13985 | this._cu.define(prefix, /*properties=*/[], /*propResolvers=*/[], definitions, resolvers, self); |
| 13986 | } |
| 13987 | findFunction(name) { |
| 13988 | this.parseSourceIfNeeded(name.prefix()); |
| 13989 | const key = name.qualifiedName(); |
| 13990 | const it = this._to_be_defined.get(key); |
| 13991 | if (it && it instanceof ast.FunctionDef) { |
| 13992 | this._to_be_defined.delete(key); |
| 13993 | this.importFunction(name.prefix(), it); |
| 13994 | } |
| 13995 | return this._cu.find_function(name); |
| 13996 | } |
| 13997 | }); |
| 13998 | this.registerType('torch._C.FunctionResolver', class extends torch._C.Resolver { |
| 13999 | constructor(otherResolver, functionTable) { |
no test coverage detected