Rename mod object->obj

Also, object.rs got moved to a new directory in preparation for
splitting members out into their own files

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-01-24 18:10:21 -08:00
parent 9d5e5f14ca
commit 95fc8a85df
7 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
use crate::object::*;
use crate::obj::*;
use crate::scope::*;
use crate::syn::ast::*;
use crate::vm::inst::*;

View File

@@ -1,5 +1,5 @@
mod compile;
mod object;
mod obj;
mod scope;
mod syn;
mod vm;

View File

@@ -1,4 +1,4 @@
use crate::object::{Float, Int, Str};
use crate::obj::{Float, Int, Str};
use crate::syn::span::*;
/// A single statement, which may be a meta-expression or a normal expression.

View File

@@ -1,4 +1,4 @@
use crate::object::{BuiltinExit, Obj, StrObj};
use crate::obj::{BuiltinExit, Obj, StrObj};
use crate::vm::{error::RuntimeError, machine::MachineBuilder};
impl MachineBuilder {

View File

@@ -1,4 +1,4 @@
use crate::object::ObjPtr;
use crate::obj::ObjPtr;
use crate::scope::Word;
use crate::syn::span::Spanned;

View File

@@ -1,5 +1,5 @@
use crate::compile::Compile;
use crate::object::*;
use crate::obj::*;
use crate::scope::*;
use crate::syn::{ast::SpStmt, span::Span};
use crate::vm::{error::*, inst::*};