/** * Go code extractor */ import type Parser from 'tree-sitter'; import { BaseExtractor } from './base.js'; import type { ExtractionResult } from '../types.js'; /** * Extractor for Go code */ export declare class GoExtractor extends BaseExtractor { readonly language = "go"; getTargetNodeTypes(): string[]; protected extractNode(node: Parser.SyntaxNode, _filePath: string, _content: string): ExtractionResult | null; /** * Extract function declaration */ private extractFunction; /** * Extract method declaration */ private extractMethod; /** * Extract type declaration (struct, interface, type alias) */ private extractTypeDeclaration; /** * Extract const declaration */ private extractConstDeclaration; /** * Extract var declaration */ private extractVarDeclaration; /** * Extract Go function/method parameters */ private extractGoParameters; /** * Check if identifier is exported (starts with uppercase letter) */ private isExported; /** * Override complexity calculation for Go */ protected calculateComplexity(node: Parser.SyntaxNode): number; } //# sourceMappingURL=go.d.ts.map