oak_julia/language/
mod.rs

1use crate::JuliaSyntaxKind;
2use oak_core::Language;
3
4/// Julia 语言实现
5#[derive(Debug)]
6pub struct JuliaLanguage {
7    pub allow_comment: bool,
8}
9
10impl Language for JuliaLanguage {
11    type SyntaxKind = JuliaSyntaxKind;
12    type TypedRoot = ();
13}
14
15impl Default for JuliaLanguage {
16    fn default() -> Self {
17        Self { allow_comment: true }
18    }
19}