oak_vbnet/language/
mod.rs1#![doc = include_str!("readme.md")]
2
3use oak_core::{Language, LanguageCategory};
4
5#[derive(Debug, Clone, PartialEq, Eq, Hash)]
7pub struct VbNetLanguage;
8
9impl VbNetLanguage {
10 pub fn new() -> Self {
12 Self
13 }
14}
15
16impl Language for VbNetLanguage {
17 const NAME: &'static str = "VB.NET";
18 const CATEGORY: LanguageCategory = LanguageCategory::Programming;
19
20 type TokenType = crate::lexer::token_type::VbNetTokenType;
21 type ElementType = crate::parser::element_type::VbNetElementType;
22 type TypedRoot = crate::ast::VbNetRoot;
23}