oak_zig/language/
mod.rs

1use oak_core::{Language, LanguageCategory};
2
3pub struct ZigLanguage {}
4
5impl Language for ZigLanguage {
6    const NAME: &'static str = "zig";
7    const CATEGORY: LanguageCategory = LanguageCategory::Programming;
8
9    type TokenType = crate::kind::ZigSyntaxKind;
10    type ElementType = crate::kind::ZigSyntaxKind;
11    type TypedRoot = ();
12}