overBudget property
Returns true when the parse has run out of time. Checked as work is done (expansions and the tokens they produce), never more than a few thousand tokens apart, so no single expansion can outrun it.
Implementation
final bool Function()? overBudget;