refactor(frontend): Move parser to ast folder, use TokenValue::Eof to replace None

This commit is contained in:
2026-06-07 21:31:35 +08:00
parent 52f9b67018
commit 55636e07af
12 changed files with 228 additions and 252 deletions
+1
View File
@@ -1,2 +1,3 @@
pub mod graph;
pub mod parser;
pub mod types;
+1152
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,4 +1,4 @@
use crate::{diagnostic::span::Span, frontend::types::{Token, TokenValue, TypeIdent}};
use crate::{diagnostic::span::Span, lexer::types::{TokenValue, TypeIdent}};
use std::fmt;
pub struct CompileUnit {