oak_solidity/language/
mod.rs1use oak_core::{Language, LanguageCategory};
2
3#[derive(Debug, Clone, Default)]
4pub struct SolidityLanguage {}
5
6impl SolidityLanguage {
7 pub fn new() -> Self {
8 Self {}
9 }
10}
11
12impl Language for SolidityLanguage {
13 const NAME: &'static str = "solidity";
14 const CATEGORY: LanguageCategory = LanguageCategory::Programming;
15
16 type TokenType = crate::kind::SoliditySyntaxKind;
17 type ElementType = crate::kind::SoliditySyntaxKind;
18 type TypedRoot = ();
19}