License
BSD-3-Clause
CDM comment preservation.
This module provides the CdmComment struct for preserving comments from source files during parsing, enabling roundtrip fidelity.
A preserved comment from source.
CdmComment stores both the parsed comment text and the original formatting, allowing faithful reproduction when writing back.
auto cmt = CdmComment("Configuration", CdmComment.Style.DOUBLE_SLASH);
assert(cmt.text == "Configuration");
assert(cmt.style == CdmComment.Style.DOUBLE_SLASH);StyleComment syntax style.