Move predefined module into context module.
This commit is contained in:
parent
1532c65a3d
commit
f880482f06
@ -6,9 +6,13 @@
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use crate::{function::Function, value::value_type::ValueType, EvalexprError, EvalexprResult};
|
||||
use crate::{
|
||||
function::Function,
|
||||
value::{value_type::ValueType, Value},
|
||||
EvalexprError, EvalexprResult,
|
||||
};
|
||||
|
||||
use crate::value::Value;
|
||||
mod predefined;
|
||||
|
||||
/// An immutable context.
|
||||
pub trait Context {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/// Context with all f64::consts available by default.
|
||||
/// Context with all Rust's constants in `f64::consts` available by default.
|
||||
/// Alternatively, specifiy constants with `math_consts_context!(E, PI, TAU, ...)`
|
||||
/// Available constants can be found in the [`core::f64::consts module`](https://doc.rust-lang.org/nightly/core/f64/consts/index.html).
|
||||
#[macro_export]
|
@ -523,7 +523,6 @@ mod feature_serde;
|
||||
mod function;
|
||||
mod interface;
|
||||
mod operator;
|
||||
mod predefined;
|
||||
mod token;
|
||||
mod tree;
|
||||
mod value;
|
||||
|
Loading…
Reference in New Issue
Block a user