diff options
author | piernov <piernov@piernov.org> | 2016-05-08 20:45:40 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-08 20:45:40 +0200 |
commit | 9f28616dfd1cc425c5013937bab729217b7be2e6 (patch) | |
tree | c08a53708a6f59374d56b872c4047cbf80c81e27 /doc/phpdoc/js/prettify/lang-hs.js | |
parent | 07f9658d2fecc5f88cc27fba8502246a30d8fdc0 (diff) | |
download | candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.gz candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.bz2 candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.xz candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.zip |
Add build_doc.sh script + generated phpdoc
Diffstat (limited to 'doc/phpdoc/js/prettify/lang-hs.js')
-rw-r--r-- | doc/phpdoc/js/prettify/lang-hs.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/phpdoc/js/prettify/lang-hs.js b/doc/phpdoc/js/prettify/lang-hs.js new file mode 100644 index 0000000..9d77b08 --- /dev/null +++ b/doc/phpdoc/js/prettify/lang-hs.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n\r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/, +null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]); |