From 3b0c74010e47e82786a83572edc71325427e0f1e Mon Sep 17 00:00:00 2001 From: Jeff Date: Sun, 11 Aug 2024 17:24:05 -0400 Subject: [PATCH] Rename modules --- dust-lang/src/{lex.rs => lexer.rs} | 0 dust-lang/src/lib.rs | 8 ++++---- dust-lang/src/{parse.rs => parser.rs} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename dust-lang/src/{lex.rs => lexer.rs} (100%) rename dust-lang/src/{parse.rs => parser.rs} (100%) diff --git a/dust-lang/src/lex.rs b/dust-lang/src/lexer.rs similarity index 100% rename from dust-lang/src/lex.rs rename to dust-lang/src/lexer.rs diff --git a/dust-lang/src/lib.rs b/dust-lang/src/lib.rs index 66b4468..3d8a084 100644 --- a/dust-lang/src/lib.rs +++ b/dust-lang/src/lib.rs @@ -7,8 +7,8 @@ pub mod built_in_function; pub mod context; pub mod dust_error; pub mod identifier; -pub mod lex; -pub mod parse; +pub mod lexer; +pub mod parser; pub mod token; pub mod r#type; pub mod value; @@ -20,8 +20,8 @@ pub use built_in_function::{BuiltInFunction, BuiltInFunctionError}; pub use context::{Context, UsageData, VariableData}; pub use dust_error::DustError; pub use identifier::Identifier; -pub use lex::{lex, LexError, Lexer}; -pub use parse::{parse, ParseError, Parser}; +pub use lexer::{lex, LexError, Lexer}; +pub use parser::{parse, ParseError, Parser}; pub use r#type::Type; pub use token::{Token, TokenOwned}; pub use value::{Value, ValueError}; diff --git a/dust-lang/src/parse.rs b/dust-lang/src/parser.rs similarity index 100% rename from dust-lang/src/parse.rs rename to dust-lang/src/parser.rs