CdmBuilder.addLeadingComment

void addLeadingComment(CdmComment comment) pure @safe

Adds a leading comment to the current node.

Parameters

commentThe comment to add.
void addLeadingComment(CdmComment[] comments) pure @safe

Appends multiple leading comments to the current node.

Parameters

commentsThe comments to add.