Struct asciimath::Node
[−]
[src]
pub struct Node { pub token: Token, pub args: Option<VecDeque<Node>>, }
Fields
token: Token
args: Option<VecDeque<Node>>
Trait Implementations
impl Evaluate for Node
[src]
fn eval_with(self, scope: &Scope) -> Result<f64, String>
[src]
Evaluates the node/expression with a given variable scope.
fn eval(self) -> Result<f64, String>
[src]
Evaluates the node/expression without any variables. Read more