From ffe56c86aee752438fdb0b13dc99c1665b8d5619 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Sun, 26 May 2024 11:15:39 +0530 Subject: [PATCH] renamed files --- src/evaluator/{tree_walker/mod.rs => tree_walker.rs} | 0 src/{lexer/mod.rs => lexer.rs} | 1 + src/parser/{ast/mod.rs => ast.rs} | 0 3 files changed, 1 insertion(+) rename src/evaluator/{tree_walker/mod.rs => tree_walker.rs} (100%) rename src/{lexer/mod.rs => lexer.rs} (99%) rename src/parser/{ast/mod.rs => ast.rs} (100%) diff --git a/src/evaluator/tree_walker/mod.rs b/src/evaluator/tree_walker.rs similarity index 100% rename from src/evaluator/tree_walker/mod.rs rename to src/evaluator/tree_walker.rs diff --git a/src/lexer/mod.rs b/src/lexer.rs similarity index 99% rename from src/lexer/mod.rs rename to src/lexer.rs index 9640ec4..d5b81db 100644 --- a/src/lexer/mod.rs +++ b/src/lexer.rs @@ -22,6 +22,7 @@ lazy_static! { #[derive(Debug, PartialEq, Eq, Copy, Clone, Hash)] pub enum TokenType { Illegal, + #[allow(clippy::upper_case_acronyms)] EOF, // Identifiers and Literals diff --git a/src/parser/ast/mod.rs b/src/parser/ast.rs similarity index 100% rename from src/parser/ast/mod.rs rename to src/parser/ast.rs