CodeBuilder.put

Inserts data into the code string.

Notes: T can be anything supported by Appender!(dchar[])

CodeBuilder.enable and CodeBuilder.disable are used to enable/disable the functionality of doTabs and doLines regardless of their values.

For ranges of dchar[] (such as dchar[][]) the functionality of doTabs and doLines will be applied to each dchar[] given.

class CodeBuilder
void
put
(
T
)
(,
UseTabs doTabs = Yes.tabs
,
UseNewLines doLines = Yes.newLines
)

Parameters

data T

The data to insert.

doTabs UseTabs

If Yes.tabs then a certain amount of tabs (see CodeBuilder.entab) will be inserted before data is inserted.

doLines UseNewLines

If Yes.newLines then a new line will be inserted after data.

Meta