Trait LanguageFrameworkDetector

Source
pub trait LanguageFrameworkDetector {
    // Required methods
    fn detect_frameworks(
        &self,
        language: &DetectedLanguage,
    ) -> Result<Vec<DetectedTechnology>>;
    fn supported_languages(&self) -> Vec<&'static str>;
}
Expand description

Common interface for language-specific framework detection

Required Methods§

Source

fn detect_frameworks( &self, language: &DetectedLanguage, ) -> Result<Vec<DetectedTechnology>>

Detect frameworks for a specific language

Source

fn supported_languages(&self) -> Vec<&'static str>

Get the supported language name(s) for this detector

Implementors§