CfParser.collectComments

CfComment[] collectComments() @safe pure

Collects pending comment tokens into an array.

This method returns all comments that have been accumulated since the last call and clears the pending comments buffer.

Returns

Array of collected comments.