]> luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/fix.js
Initial commit.
[flow-web.git] / static / highlight / languages / fix.js
1 /*! `fix` grammar compiled for Highlight.js 11.11.1 */
2 (function(){
3 var hljsGrammar = (function () {
4 'use strict';
5
6 /*
7 Language: FIX
8 Author: Brent Bradbury <brent@brentium.com>
9 */
10
11 /** @type LanguageFn */
12 function fix(hljs) {
13 return {
14 name: 'FIX',
15 contains: [
16 {
17 begin: /[^\u2401\u0001]+/,
18 end: /[\u2401\u0001]/,
19 excludeEnd: true,
20 returnBegin: true,
21 returnEnd: false,
22 contains: [
23 {
24 begin: /([^\u2401\u0001=]+)/,
25 end: /=([^\u2401\u0001=]+)/,
26 returnEnd: true,
27 returnBegin: false,
28 className: 'attr'
29 },
30 {
31 begin: /=/,
32 end: /([\u2401\u0001])/,
33 excludeEnd: true,
34 excludeBegin: true,
35 className: 'string'
36 }
37 ]
38 }
39 ],
40 case_insensitive: true
41 };
42 }
43
44 return fix;
45
46 })();
47
48 hljs.registerLanguage('fix', hljsGrammar);
49 })();