format_chain_directive

Function format_chain_directive 

Source
pub fn format_chain_directive(layers: &[FormatId]) -> String
Expand description

Formats a canonical Document Character format chain directive @chain(f_a > f_b > ...) for layers ordered innermost → outermost.

Validates the emitted directive against the format expression grammar and AST validator.