apidoc-core
Version:
Core parser library to generate apidoc result following the apidoc-spec
10 lines (9 loc) • 311 B
JavaScript
/**
* C#, Go, Dart, Java, JavaScript, PHP (all DocStyle capable languages)
*/
module.exports = {
// find document blocks between '#**' and '#*'
docBlocksRegExp: /\/\*\*\uffff?(.+?)\uffff?(?:\s*)?\*\//g,
// remove not needed ' * ' and tabs at the beginning
inlineRegExp: /^(\s*)?(\*)[ ]?/gm
};