(definition)
| 247 | return memberTypesForFile(file.abs, file.language, definition.startLine); |
| 248 | }, |
| 249 | async returns(definition) { |
| 250 | // Not counted: one read per handler, on a tree the walk has parsed anyway. |
| 251 | if (!definition.startLine || !supportsBranchGuards(definition.language)) return []; |
| 252 | const file = resolve(definition); |
| 253 | if (!file) return []; |
| 254 | return returnsForFile(file.abs, file.language, definition.startLine); |
| 255 | }, |
| 256 | async directive(definition) { |
| 257 | // Not counted: a text read, cached per file, no tree. |
| 258 | const none = { file: null, own: false } as const; |
nothing calls this directly
no test coverage detected