Skip to main content

parse_expr_at

Function parse_expr_at 

Source
pub fn parse_expr_at(source: &str, file: &str, line: usize) -> Result<Expr>
Expand description

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

ยงErrors

Returns DialogueError::Parse on a syntax error.