angular-cn/aio/tools/transforms/examples-package/services/region-matchers/inline-c.js

8 lines
323 B
JavaScript
Raw Normal View History

// This comment type is used in C like languages such as JS, TS, Dart, etc
module.exports = {
regionStartMatcher: /^\s*\/\/\s*#docregion\s*(.*)\s*$/,
regionEndMatcher: /^\s*\/\/\s*#enddocregion\s*(.*)\s*$/,
plasterMatcher: /^\s*\/\/\s*#docplaster\s*(.*)\s*$/,
createPlasterComment: plaster => `/* ${plaster} */`
};