UNPKG

ultimate-mcp-server

Version:

The definitive all-in-one Model Context Protocol server for AI-assisted coding across 30+ platforms

28 lines 862 B
/** * Code Analysis for Cognitive Memory * Analyzes code to extract symbols, dependencies, and patterns */ import { CodeAnalysisResult } from './types.js'; export declare class CodeAnalyzer { /** * Analyze JavaScript/TypeScript code */ analyzeJavaScript(code: string, filePath: string): Promise<CodeAnalysisResult>; /** * Analyze Python code */ analyzePython(code: string, filePath: string): Promise<CodeAnalysisResult>; /** * Calculate cyclomatic complexity for JavaScript/TypeScript */ private calculateComplexity; /** * Calculate cyclomatic complexity for Python */ private calculatePythonComplexity; /** * Analyze code based on file extension */ analyzeCode(code: string, filePath: string): Promise<CodeAnalysisResult>; } //# sourceMappingURL=code-analyzer.d.ts.map