Function kilac::calc::parser::parse_fn
[−]
[src]
pub fn parse_fn<F, C: KilaCtx + Clone>(
input: Vec<Token>,
app: F,
ctx: C
) -> Result<Ast, String> where
F: Fn(Vec<Ast>, Fun, C) -> Ast,
We will use Shunting-Yard algorithm.