Skip to main content

Module c

Module c 

Source
Expand description

Rendering the C CST. Spec §5.

One style, the one the emitters this replaces wrote: four spaces, the opening brace on the same line, #includes grouped as the tree holds them.

Functions§

decl
Render one declaration, for a caller that has only one.
expr
One expression, as it would stand inside a statement.
file
Render a whole file.
ident
The identifier a name renders as, for a caller assembling one.
integer_text
An integer as the source text of a C constant expression.
type_
Render one type, for a caller that has only one.