diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:10:37 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:11:17 +0200 |
commit | 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch) | |
tree | 70bfaea8884c374876f607774850a3a51c0cb381 /node_modules/highlight.js/lib/languages/vbscript.js | |
parent | aca1143cb9eed16cf37f04e475e4257418dd18ac (diff) | |
download | wallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.tar.xz |
fix build issues and add typedoc
Diffstat (limited to 'node_modules/highlight.js/lib/languages/vbscript.js')
-rw-r--r-- | node_modules/highlight.js/lib/languages/vbscript.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/node_modules/highlight.js/lib/languages/vbscript.js b/node_modules/highlight.js/lib/languages/vbscript.js new file mode 100644 index 000000000..b842978bb --- /dev/null +++ b/node_modules/highlight.js/lib/languages/vbscript.js @@ -0,0 +1,38 @@ +module.exports = function(hljs) { + return { + aliases: ['vbs'], + case_insensitive: true, + 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: + '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 scriptenginebuildversion ' + + 'scriptengine split scriptengineminorversion cint sin datepart ltrim sqr ' + + 'scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw ' + + 'chrw regexp server response request cstr err', + literal: + 'true false null nothing empty' + }, + illegal: '//', + contains: [ + hljs.inherit(hljs.QUOTE_STRING_MODE, {contains: [{begin: '""'}]}), + hljs.COMMENT( + /'/, + /$/, + { + relevance: 0 + } + ), + hljs.C_NUMBER_MODE + ] + }; +};
\ No newline at end of file |