cos.min.js 1.4 KB

123456789101112131415
  1. /*! `cos` grammar compiled for Highlight.js 11.7.0 */
  2. var hljsGrammar=(()=>{"use strict";return e=>({name:"Cach\xe9 Object Script",
  3. case_insensitive:!0,aliases:["cls"],
  4. keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",
  5. contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{
  6. className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',
  7. relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{
  8. className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",
  9. begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",
  10. begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{
  11. className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",
  12. begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,
  13. excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,
  14. excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,
  15. end:/>\s*>/,subLanguage:"xml"}]})})();export default hljsGrammar;