oak_smalltalk/language/
mod.rs1use oak_core::{Language, LanguageCategory};
2
3#[derive(Debug, Clone)]
5pub struct SmalltalkLanguage;
6
7impl SmalltalkLanguage {
8 pub fn new() -> Self {
9 Self
10 }
11}
12
13impl Default for SmalltalkLanguage {
14 fn default() -> Self {
15 Self::new()
16 }
17}
18
19impl Language for SmalltalkLanguage {
20 const NAME: &'static str = "smalltalk";
21 const CATEGORY: LanguageCategory = LanguageCategory::Programming;
22
23 type TokenType = crate::kind::SmalltalkSyntaxKind;
24 type ElementType = crate::kind::SmalltalkSyntaxKind;
25 type TypedRoot = ();
26}