Move custom syntax to api.

This commit is contained in:
Stephen Chung
2021-12-27 22:02:34 +08:00
parent 4d226542fa
commit 9c7ced2b80
5 changed files with 17 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
//! Main module defining the script evaluation [`Engine`].
use crate::api::custom_syntax::CustomSyntax;
use crate::ast::{Expr, FnCallExpr, Ident, OpAssignment, Stmt, AST_OPTION_FLAGS::*};
use crate::custom_syntax::CustomSyntax;
use crate::func::native::{OnDebugCallback, OnParseTokenCallback, OnPrintCallback, OnVarCallback};
use crate::func::{get_hasher, CallableFunction, IteratorFn};
use crate::module::Namespace;