lang: current state idk try to parallelize

This commit is contained in:
Schrottkatze 2024-06-10 09:47:48 +02:00
parent 3e2c5946c8
commit 37651a83bc
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
11 changed files with 522 additions and 15 deletions

View file

@ -2,6 +2,10 @@
use crate::lst_parser::syntax_kind::SyntaxKind;
pub mod ast;
pub mod lst_parser;
pub mod world;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum Lang {}
impl rowan::Language for Lang {
@ -19,6 +23,3 @@ impl rowan::Language for Lang {
pub type SyntaxNode = rowan::SyntaxNode<Lang>;
pub type SyntaxToken = rowan::SyntaxNode<Lang>;
pub type SyntaxElement = rowan::NodeOrToken<SyntaxNode, SyntaxToken>;
pub mod ast;
pub mod lst_parser;