1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 ZeroDDS Contributors
//! Crate `zerodds-lang-render`. Safety classification: **SAFE**.
//!
//! A language CST goes in, text comes out. Nothing is decided here.
//!
//! The renderer must not consult the common AST, must not branch on
//! anything but the CST node in hand, and must not insert a construct
//! that is not in the tree. A renderer that decided anything would put
//! that decision where no rule diff can see it.
//!
//! ## Spec
//!
//! - `docs/specs/zerodds-lang-cst-1.0.md` §5.
//!
//! ## Layer position
//!
//! Layer 1 of the backend arc — over `zerodds-lang-cst` and nothing else.
extern crate alloc;
extern crate std;
pub use Writer;