Writes one value to the supplied stream, selecting JSON/CSON and multiline/compact formatting through the template arguments. It does not append a document separator; use an external newline when writing a sequence of documents.
Writes an opening map brace to the stream selected by generate() and returns the indentation for its members. This is a formatting helper, not initialization of the generator.
void emit(const cvar& n, cstr idt, int precedence = 100, bool associate = false);
Writes a value using the already selected output stream. The indentation and precedence arguments support nested formatting; use generate() as the normal entry point.
Formats a binary function node as an infix operator, adding parentheses according to precedence and associativity. Requires a two-argument node and an initialized output stream.