pub fn action_width(
program: &Program,
catalog: &Catalog,
locale: &Locale,
actions: &[Action],
) -> Result<ActionLayout, ActionLayoutError>Expand description
Query the native Workshop action width of a validated public action sequence.
The sequence is expanded using the same recursive action implementation as
crate::emitter::emit. Every action in the sequence is treated as
non-rule-final, which is the canonical stream contract needed for relative
action offsets. The returned width counts native Workshop action lines,
including structural headers and terminators.