Interpreter - Renamed class submodule to classes
This commit is contained in:
parent
5062e6c348
commit
728c7a3857
4 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ use crate::{
|
|||
tokens::{Token, TokenType},
|
||||
};
|
||||
|
||||
use super::{class::Class, functions::Function, Environment, EnvironmentRef, Value};
|
||||
use super::{classes::Class, functions::Function, Environment, EnvironmentRef, Value};
|
||||
|
||||
/// Evaluate an interpretable, returning its value.
|
||||
pub fn evaluate(ast: &ProgramNode, vars: ResolvedVariables) -> SloxResult<Value> {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
mod callable;
|
||||
mod class;
|
||||
mod classes;
|
||||
mod environment;
|
||||
mod functions;
|
||||
mod interpretable;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use std::{cell::RefCell, fmt::Display, rc::Rc};
|
||||
|
||||
use super::{
|
||||
class::{Class, ClassRef, Instance},
|
||||
classes::{Class, ClassRef, Instance},
|
||||
functions::Function,
|
||||
native_fn::NativeFunction,
|
||||
Callable,
|
||||
|
|
Loading…
Reference in a new issue