diff options
author | Andreas Widen <andreas@harmonicflow.org> | 2023-11-25 17:21:37 +0100 |
---|---|---|
committer | Andreas Widen <andreas@harmonicflow.org> | 2023-11-25 17:21:37 +0100 |
commit | 1b2b7c3eb939724696894f31ff27db97b0cac84c (patch) | |
tree | efb7b7746a628efb7bb99b2e44c9c2fbfd75b656 /static/base/highlight/es/languages/flix.min.js | |
download | hf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.tar.xz hf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.zip |
Initial commit.
Signed-off-by: Andreas Widen <andreas@harmonicflow.org>
Diffstat (limited to 'static/base/highlight/es/languages/flix.min.js')
-rw-r--r-- | static/base/highlight/es/languages/flix.min.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/static/base/highlight/es/languages/flix.min.js b/static/base/highlight/es/languages/flix.min.js new file mode 100644 index 0000000..6de270e --- /dev/null +++ b/static/base/highlight/es/languages/flix.min.js @@ -0,0 +1,10 @@ +/*! `flix` grammar compiled for Highlight.js 11.3.1 */ +var hljsGrammar=(()=>{"use strict";return e=>({name:"Flix",keywords:{ +keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"], +literal:["true","false"]}, +contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string", +begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"string",variants:[{begin:'"', +end:'"'}]},{className:"function",beginKeywords:"def",end:/[:={\[(\n;]/, +excludeEnd:!0,contains:[{className:"title",relevance:0, +begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/ +}]},e.C_NUMBER_MODE]})})();export default hljsGrammar;
\ No newline at end of file |