Skip to main content

Module cpp

Module cpp 

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, access labels at the class’s own indentation, and a namespace body not indented — which is what the fixture output shows.

Functions§

decl
Render one declaration, for a caller that has only one.
expr
Render one expression, for a caller that has only one.
file
Render a whole file.
integer_text
An integer as the source text of a C++ constant expression.
type_
Render one type, for a caller that has only one.