repomix
Version:
A tool to pack repository contents to single file for AI consumption
17 lines (16 loc) • 630 B
TypeScript
import type { Node } from 'web-tree-sitter';
import type { ParseContext } from './BaseParseStrategy.js';
import { BaseParseStrategy } from './BaseParseStrategy.js';
export declare class PythonParseStrategy extends BaseParseStrategy {
parseCapture(capture: {
node: Node;
name: string;
}, lines: string[], processedChunks: Set<string>, _context: ParseContext): string | null;
private getDecorators;
private getClassInheritance;
private getFunctionSignature;
private parseClassDefinition;
private parseFunctionDefinition;
private parseDocstringOrComment;
private parseTypeAlias;
}