Skip to main content

Module content_builders

Module content_builders 

Source
Expand description

Content namespace builder functions.

Phase 1.B (ADR-006 §2.7.4 audit-accuracy ruling): the pre-bulldozer builders decoded &[ValueWord] arguments via tag-bit dispatch (as_str(), as_any_array(), to_generic()) and constructed results via ValueWord::from_content / from_string. The kind- threaded rebuild lands in Phase 2c alongside the broader content- tree marshalling migration; until then, every builder returns a deferred error rather than emit a partial / wrong-typed ContentNode payload.

shape-vm consumers (vm_impl/builtins.rs:556 etc.) call these handlers directly and break in the next-session shape-vm cleanup workstream per ADR-006 §2.7.5.

Functions§

align_named
border_named
chart_type_named
color_named
color_rgb
content_chart
content_code
content_fragment
content_kv
content_table
content_text