| 2 | |
| 3 | // 代码符号接口 |
| 4 | export interface CodeSymbol { |
| 5 | name: string; |
| 6 | type: "function" | "class" | "method"; |
| 7 | line: number; |
| 8 | } |
| 9 | |
| 10 | // 解析代码文件,提取符号 |
| 11 | export function parseCodeSymbols(file: TFile, content: string): CodeSymbol[] { |
nothing calls this directly
no outgoing calls
no test coverage detected