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
sourceas an expression, tagging any resulting parse error withfileandlineso the reported location matches the enclosing.bubstatement.