Struct rustyard::shunting_yard::ShuntingYard [] [src]

pub struct ShuntingYard<'a> { /* fields omitted */ }

The ShuntingYard struct transforms an expression to a 64-bit floating point value

Methods

impl<'a> ShuntingYard<'a>
[src]

calculate returns a 64-bit floating value after parsing the Reverse Polish Notation represented by the output_queue.

to_string_ast returns the string representation of the Lexer tokens.

Trait Implementations

impl<'a> ToString for ShuntingYard<'a>
[src]

to_string returns the string representation of the Shunting Yard algorithm in Reverse Polish Notation.