Comment

A plantuml comment using ''' as is.

Compared to Text a comment is affected by indentation.

@safe
class Comment : BaseModule {}

Constructors

this
this(string contents)

Construct a one-liner comment from contents.

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
auto reset()

Clear the node of childrens.

sep
void sep(int count = 1)

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.

Meta