oak_wit/language/
mod.rs

1// use crate::kind::WitSyntaxKind;
2use oak_core::{Language, LanguageCategory};
3
4#[derive(Default)]
5pub struct WitLanguage {}
6
7impl Language for WitLanguage {
8    const NAME: &'static str = "wit-component";
9    const CATEGORY: LanguageCategory = LanguageCategory::Dsl;
10
11    type TokenType = crate::kind::WitSyntaxKind;
12    type ElementType = crate::kind::WitSyntaxKind;
13    type TypedRoot = ();
14}