]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/languages/flix.min.js
1 /*! `flix` grammar compiled for Highlight.js 11.11.1 */
2 (()=>{var e
=(()=>{"use strict";return e
=>({name:"Flix",keywords:{
3 keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],
4 literal:["true","false"]},
5 contains:[e
.C_LINE_COMMENT_MODE
,e
.C_BLOCK_COMMENT_MODE
,{className:"string",
6 begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"',
7 end:'"'}]},{className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,
8 excludeEnd:!0,contains:[{className:"title",relevance:0,
9 begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/
10 }]},e.C_NUMBER_MODE]})})();hljs.registerLanguage("flix",e)})();