]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/dos.js
1 /*! `dos` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
6 Language: Batch file (DOS)
7 Author: Alexander Makarov <sam@rmcreative.ru>
8 Contributors: Anton Kochkov <anton.kochkov@gmail.com>
9 Website: https://en.wikipedia.org/wiki/Batch_file
13 /** @type LanguageFn */
15 const COMMENT
= hljs
.COMMENT(
21 begin: '^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)',
136 name: 'Batch file (DOS)',
141 case_insensitive: true,
149 className: 'variable',
150 begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/
153 className: 'function',
157 hljs
.inherit(hljs
.TITLE_MODE
, { begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' }),
175 export default hljsGrammar
;