Added basic Plugin trait and test

This commit is contained in:
jhwgh1968
2020-04-25 18:50:10 -05:00
parent 3cb3dc8e4f
commit e59f6939f7
3 changed files with 62 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ pub use engine::{calc_fn_spec as calc_fn_hash, Engine};
pub use error::{ParseError, ParseErrorType};
pub use fn_call::FuncArgs;
pub use fn_register::{RegisterDynamicFn, RegisterFn, RegisterResultFn};
#[cfg(feature = "plugins")]
pub use fn_register::{Plugin, RegisterPlugin};
pub use parser::{AST, INT};
pub use result::EvalAltResult;
pub use scope::Scope;