Split Engine into eval folder.

This commit is contained in:
Stephen Chung
2022-01-07 11:43:47 +08:00
parent ad0f7b7ce9
commit a267ac5e54
22 changed files with 3413 additions and 3299 deletions

View File

@@ -1,7 +1,7 @@
//! Module that defines the `call_fn` API of [`Engine`].
#![cfg(not(feature = "no_function"))]
use crate::engine::{EvalState, GlobalRuntimeState};
use crate::eval::{EvalState, GlobalRuntimeState};
use crate::types::dynamic::Variant;
use crate::{
Dynamic, Engine, FuncArgs, Position, RhaiResult, RhaiResultOf, Scope, StaticVec, AST, ERR,