pub fn plan(params: &[Param], body: &[Stmt], top_level: bool) -> PlanExpand description
Plan the slots for a chunk: params are bound into the environment by the
caller before the chunk runs (the compiler emits a prologue that copies each
into its slot), body is the statement list about to be compiled, and
top_level marks a script/module body, where var stays a global.