CModule

Represent a semantic item in C source.

@safe
class CModule : BaseModule {}

Members

Mixins

__anonymous
mixin CModuleX!(CModule)
Undocumented in source.

Inherited Members

From BaseModule

suppressIndent
void suppressIndent(int levels)

Set indent suppression from this point and all children.

suppressThisIndent
void suppressThisIndent(int levels)

Suppress indentation by also affecting the level propagated from the parent.

setIndentation
void setIndentation(int ind)

Sets the width of the indentation

reset
BaseModule reset()

Clear the node of childrens.

sep
void sep(int count)

Separate with at most count empty lines.

prepend
void prepend(BaseElement e)

Insert element at the front.

append
void append(BaseElement e)

Insert element at the back.

clearChildren
void clearChildren()

Remove all children and clear line separation.

indent
string indent(string s, int parent_level, int level)

Render content with an indentation that takes the parent in consideration.

renderIndent
string renderIndent(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderRecursive
string renderRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderPostRecursive
string renderPostRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
render
string render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta