comment-to-json
Version:
A code source comment to json converter.
13 lines (12 loc) • 330 B
JavaScript
/**
* Constants.
* @type {Readonly<{COMMENT_START_TAG: string, COMMENT_END_TAG: string, ANNOTATION_BLOCK_TAG: string, ANNOTATION_BLOCK_ESCAPE_TAG: string}>}
*/
module.exports = Object.freeze(
{
COMMENT_START_TAG: '/*',
COMMENT_END_TAG: '*/',
ANNOTATION_BLOCK_TAG: '@',
ANNOTATION_BLOCK_ESCAPE_TAG: '@'
}
);