Skip to main content

Module expr

Module expr 

Source
Expand description

Recursive-descent expression parser - turns a source string into an Expr tree.

Re-exports§

pub use crate::compiler::ast::BinOp;
pub use crate::compiler::ast::Expr;
pub use crate::compiler::ast::UnOp;

Functions§

parse_expr_at
Parses source as an expression, tagging any resulting parse error with file and line so the reported location matches the enclosing .bub statement.