UNPKG

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