Merge branch 'master' into wip/lexer-info

This commit is contained in:
xQuantx
2024-04-03 16:06:59 +02:00
committed by GitHub
3 changed files with 42 additions and 12 deletions
+1 -2
View File
@@ -29,13 +29,12 @@ pub struct Token {
pub line: usize,
pub column: usize
}
/*
impl<'a> fmt::Debug for Token {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "(TokenType: {:?}, TokenValue: {})", self.token_type, self.token_values.join(", "))
}
}
*/
pub struct Node {
token_type: TokenType,