oak_wat/language/mod.rs
1use oak_core::{Language, LanguageCategory};
2
3#[derive(Default)]
4pub struct WatLanguage {}
5
6impl WatLanguage {
7 pub fn new() -> Self {
8 Self {}
9 }
10}
11
12impl Language for WatLanguage {
13 const NAME: &'static str = "wat";
14 const CATEGORY: LanguageCategory = LanguageCategory::Dsl;
15
16 type TokenType = crate::kind::WatSyntaxKind;
17 type ElementType = crate::kind::WatSyntaxKind;
18 type TypedRoot = ();
19}