diff options
author | piernov <piernov@piernov.org> | 2016-05-10 22:24:50 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-10 22:24:50 +0200 |
commit | 9ad61ab6a23bd6fd51e67b85d743b4a7664ec637 (patch) | |
tree | 04c4ef3158c9848db91e56f9318162431a6040b4 /doc/phpdoc/js/prettify/lang-scala.js | |
parent | 204e838a7794bbce0d44fc35efb367abb052d02f (diff) | |
parent | 1e52affe15fb13e920f8942de998073238be6d01 (diff) | |
download | candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.gz candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.bz2 candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.xz candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.zip |
Merge branch 'phpdoc' into piernov
Diffstat (limited to 'doc/phpdoc/js/prettify/lang-scala.js')
-rw-r--r-- | doc/phpdoc/js/prettify/lang-scala.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/phpdoc/js/prettify/lang-scala.js b/doc/phpdoc/js/prettify/lang-scala.js new file mode 100644 index 0000000..60d034d --- /dev/null +++ b/doc/phpdoc/js/prettify/lang-scala.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["str",/^"(?:""(?:""?(?!")|[^"\\]|\\.)*"{0,3}|(?:[^\n\r"\\]|\\.)*"?)/,null,'"'],["lit",/^`(?:[^\n\r\\`]|\\.)*`?/,null,"`"],["pun",/^[!#%&(--:-@[-^{-~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[["str",/^'(?:[^\n\r'\\]|\\(?:'|[^\n\r']+))'/],["lit",/^'[$A-Z_a-z][\w$]*(?![\w$'])/],["kwd",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/], +["lit",/^(?:true|false|null|this)\b/],["lit",/^(?:0(?:[0-7]+|x[\da-f]+)l?|(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:e[+-]?\d+)?f?|l?)|\\.\d+(?:e[+-]?\d+)?f?)/i],["typ",/^[$_]*[A-Z][\d$A-Z_]*[a-z][\w$]*/],["pln",/^[$A-Z_a-z][\w$]*/],["com",/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],["pun",/^(?:\.+|\/)/]]),["scala"]); |