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

8 lines
342 B
JavaScript

// These kind of comments are used in languages that do not support block comments, such as Jade
module.exports = {
regionStartMatcher: /^\s*\/\/\s*#docregion\s*(.*)\s*$/,
regionEndMatcher: /^\s*\/\/\s*#enddocregion\s*(.*)\s*$/,
plasterMatcher: /^\s*\/\/\s*#docplaster\s*(.*)\s*$/,
createPlasterComment: plaster => `// ${plaster}`
};