Detects programming language from code snippets or HTML elements. Uses pattern matching with confidence scoring (min 0.15). Supports 20+ languages including Python, JavaScript, TypeScript, Go, Rust, Java, C#, GDScript.
| Visibility | Name | Type | Description |
|---|---|---|---|
| private | min_confidence | float |
| Visibility | Name | Description |
|---|---|---|
| public | detect_from_html() | |
| public | detect_from_code() | |
| public | extract_language_from_classes() |
| Name | Value |
|---|---|
| name | LanguageDetector |
| stereotype | null |
| visibility | public |
| isAbstract | false |
| isFinalSpecialization | false |
| isLeaf | false |
| isActive | false |