Skip to main content

parse_algol_expr_with_table_and_budget

Function parse_algol_expr_with_table_and_budget 

Source
pub fn parse_algol_expr_with_table_and_budget(
    cx: &mut Cx,
    table: PrattTable,
    source: &str,
    budget: &mut DecodeBudget,
) -> Result<Expr>
Expand description

Parses Algol source into a bare Expr under an explicit decode budget, using a caller-supplied operator table.

Identical to parse_algol_expr_with_table but honors caller limits rather than hardcoding DecodeLimits::default, so a Shape grammar driven from a limited runtime context bounds the same way the runtime decode path does.