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

@@ -70,7 +70,6 @@ use std::prelude::v1::*;
mod api;
mod ast;
mod custom_syntax;
mod engine;
mod func;
mod module;
@@ -140,8 +139,8 @@ pub type FLOAT = f32;
pub type ExclusiveRange = std::ops::Range<INT>;
pub type InclusiveRange = std::ops::RangeInclusive<INT>;
pub use api::custom_syntax::Expression;
pub use ast::{FnAccess, AST};
pub use custom_syntax::Expression;
pub use engine::{
Engine, EvalContext, OP_CONTAINS, OP_EQUALS, OP_EXCLUSIVE_RANGE, OP_INCLUSIVE_RANGE,
};