Skip to main content

StmtList

Type Alias StmtList 

Source
pub type StmtList = Arc<[Stmt]>;
Expand description

A shared, read-only slice of Stmts used for every body throughout the AST (node bodies, if branches, once bodies, option bodies, line groups).

Stored behind an Arc so the runner can push them onto the call stack without cloning the underlying statement list - frame pushes become a reference-count bump regardless of body size.

Aliased Typeยง

pub struct StmtList { /* private fields */ }