diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 20:44:08 -0600 |
commit | abc0de079b895af1b705894eb2b63596e3e37274 (patch) | |
tree | c51d24dce55da8d9b227cbac6c2ef64a59d8e9dc /pyssg.xyz/live/static/hl/languages/vbscript.min.js | |
parent | db4b3736d4f45137a733ce5eb1e50aec968ca1d2 (diff) |
add pyssg.xyz configs and templates
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/vbscript.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/vbscript.min.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/vbscript.min.js b/pyssg.xyz/live/static/hl/languages/vbscript.min.js new file mode 100644 index 0000000..9c198be --- /dev/null +++ b/pyssg.xyz/live/static/hl/languages/vbscript.min.js @@ -0,0 +1,12 @@ +hljs.registerLanguage("vbscript",(()=>{"use strict";function e(e){ +return e?"string"==typeof e?e:e.source:null}function t(...t){ +return t.map((t=>e(t))).join("")}function r(...t){ +return"("+t.map((t=>e(t))).join("|")+")"}return e=>{ +const i="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" ") +;return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{ +keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto", +built_in:"server response request scriptengine scriptenginebuildversion scriptengineminorversion scriptenginemajorversion", +literal:"true false null nothing empty"},illegal:"//",contains:[{ +begin:t(r(...i),"\\s*\\("),relevance:0,keywords:{built_in:i.join(" ")} +},e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{ +relevance:0}),e.C_NUMBER_MODE]}}})());
\ No newline at end of file |