refactor(frontend): Move parser to ast folder, use TokenValue::Eof to replace None
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
pub mod graph;
|
||||
pub mod parser;
|
||||
pub mod types;
|
||||
|
||||
+1152
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user