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