| exports.ids = ["react-syntax-highlighter_languages_highlight_taggerscript"]; |
| exports.modules = { |
| |
| /***/ "./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/taggerscript.js": |
| /*!*******************************************************************************************************!*\ |
| !*** ./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/taggerscript.js ***! |
| \*******************************************************************************************************/ |
| /*! no static exports found */ |
| /***/ (function(module, exports) { |
| |
| /* |
| Language: Tagger Script |
| Author: Philipp Wolfer <ph.wolfer@gmail.com> |
| Description: Syntax Highlighting for the Tagger Script as used by MusicBrainz Picard. |
| Website: https://picard.musicbrainz.org |
| */ |
| function taggerscript(hljs) { |
| |
| var COMMENT = { |
| className: 'comment', |
| begin: /\$noop\(/, |
| end: /\)/, |
| contains: [{ |
| begin: /\(/, |
| end: /\)/, |
| contains: ['self', { |
| begin: /\\./ |
| }] |
| }], |
| relevance: 10 |
| }; |
| |
| var FUNCTION = { |
| className: 'keyword', |
| begin: /\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/, |
| end: /\(/, |
| excludeEnd: true |
| }; |
| |
| var VARIABLE = { |
| className: 'variable', |
| begin: /%[_a-zA-Z0-9:]*/, |
| end: '%' |
| }; |
| |
| var ESCAPE_SEQUENCE = { |
| className: 'symbol', |
| begin: /\\./ |
| }; |
| |
| return { |
| name: 'Tagger Script', |
| contains: [ |
| COMMENT, |
| FUNCTION, |
| VARIABLE, |
| ESCAPE_SEQUENCE |
| ] |
| }; |
| } |
| |
| module.exports = taggerscript; |
| |
| |
| /***/ }) |
| |
| };; |
| //# sourceMappingURL=react-syntax-highlighter_languages_highlight_taggerscript.render-page.js.map |