From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/highlight.js/lib/languages/vbnet.js | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 node_modules/highlight.js/lib/languages/vbnet.js (limited to 'node_modules/highlight.js/lib/languages/vbnet.js') diff --git a/node_modules/highlight.js/lib/languages/vbnet.js b/node_modules/highlight.js/lib/languages/vbnet.js new file mode 100644 index 000000000..a38a16d80 --- /dev/null +++ b/node_modules/highlight.js/lib/languages/vbnet.js @@ -0,0 +1,55 @@ +module.exports = function(hljs) { + return { + aliases: ['vb'], + case_insensitive: true, + keywords: { + keyword: + 'addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval ' + /* a-b */ + 'call case catch class compare const continue custom declare default delegate dim distinct do ' + /* c-d */ + 'each equals else elseif end enum erase error event exit explicit finally for friend from function ' + /* e-f */ + 'get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue ' + /* g-i */ + 'join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass ' + /* j-m */ + 'namespace narrowing new next not notinheritable notoverridable ' + /* n */ + 'of off on operator option optional or order orelse overloads overridable overrides ' + /* o */ + 'paramarray partial preserve private property protected public ' + /* p */ + 'raiseevent readonly redim rem removehandler resume return ' + /* r */ + 'select set shadows shared skip static step stop structure strict sub synclock ' + /* s */ + 'take text then throw to try unicode until using when where while widening with withevents writeonly xor', /* t-x */ + built_in: + 'boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype ' + /* b-c */ + 'date decimal directcast double gettype getxmlnamespace iif integer long object ' + /* d-o */ + 'sbyte short single string trycast typeof uinteger ulong ushort', /* s-u */ + literal: + 'true false nothing' + }, + illegal: '//|{|}|endif|gosub|variant|wend', /* reserved deprecated keywords */ + contains: [ + hljs.inherit(hljs.QUOTE_STRING_MODE, {contains: [{begin: '""'}]}), + hljs.COMMENT( + '\'', + '$', + { + returnBegin: true, + contains: [ + { + className: 'doctag', + begin: '\'\'\'|', + contains: [hljs.PHRASAL_WORDS_MODE] + }, + { + className: 'doctag', + begin: '', + contains: [hljs.PHRASAL_WORDS_MODE] + } + ] + } + ), + hljs.C_NUMBER_MODE, + { + className: 'meta', + begin: '#', end: '$', + keywords: {'meta-keyword': 'if else elseif end region externalsource'} + } + ] + }; +}; \ No newline at end of file -- cgit v1.2.3