oak_matlab/language/
mod.rs1use oak_core::{Language, LanguageCategory};
2
3pub struct MatlabLanguage {}
4
5impl MatlabLanguage {
6 pub fn new() -> Self {
7 Self::default()
8 }
9}
10
11impl Default for MatlabLanguage {
12 fn default() -> Self {
13 MatlabLanguage {}
14 }
15}
16
17impl Language for MatlabLanguage {
18 const NAME: &'static str = "matlab";
19 const CATEGORY: LanguageCategory = LanguageCategory::Programming;
20
21 type TokenType = crate::kind::MatlabSyntaxKind;
22 type ElementType = crate::kind::MatlabSyntaxKind;
23 type TypedRoot = crate::ast::MatlabRoot;
24}