Module semantic

Module semantic 

Source
Expand description

Semantic Analysis Engine

This module provides semantic analysis capabilities for multiple programming languages. It includes language detection, symbol extraction, and semantic information gathering.

Re-exports§

pub use adapters::FallbackAnalyzerAdapter;
pub use adapters::PythonAnalyzerAdapter;
pub use adapters::RustAnalyzerAdapter;
pub use adapters::TypeScriptAnalyzerAdapter;
pub use fallback_analyzer::FallbackAnalyzer;
pub use generic_analyzer::GenericSemanticAnalyzer;
pub use python_analyzer::PythonAnalyzer;
pub use rust_analyzer::RustAnalyzer;
pub use typescript_analyzer::TypeScriptAnalyzer;

Modules§

adapters
Adapter implementations for existing analyzers to implement SemanticAnalyzerProvider trait
fallback_analyzer
Fallback semantic analyzer for unsupported languages
generic_analyzer
Generic semantic analyzer that works with pluggable providers
python_analyzer
Python semantic analyzer
rust_analyzer
Rust semantic analyzer
typescript_analyzer
TypeScript semantic analyzer

Structs§

LanguageDetector
Language detection utilities
SemanticAnalyzerFactory
Factory for creating appropriate semantic analyzer

Enums§

SemanticError
Error type for semantic analysis

Traits§

SemanticAnalyzer
Trait for semantic analysis of code

Type Aliases§

SemanticResult
Result type for semantic analysis