oak_powershell/language/
mod.rs1use oak_core::{Language, LanguageCategory};
3
4pub type TypedRoot = crate::ast::PowerShellRoot;
5
6#[derive(Debug, Default)]
7pub struct PowerShellLanguage;
8
9impl Language for PowerShellLanguage {
10 const NAME: &'static str = "powershell";
11 const CATEGORY: LanguageCategory = LanguageCategory::Programming;
12
13 type TokenType = crate::kind::PowerShellSyntaxKind;
14 type ElementType = crate::kind::PowerShellSyntaxKind;
15 type TypedRoot = crate::ast::PowerShellRoot;
16}