aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/vbnet.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-24 15:10:37 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-24 15:11:17 +0200
commit7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch)
tree70bfaea8884c374876f607774850a3a51c0cb381 /node_modules/highlight.js/lib/languages/vbnet.js
parentaca1143cb9eed16cf37f04e475e4257418dd18ac (diff)
fix build issues and add typedoc
Diffstat (limited to 'node_modules/highlight.js/lib/languages/vbnet.js')
-rw-r--r--node_modules/highlight.js/lib/languages/vbnet.js55
1 files changed, 55 insertions, 0 deletions
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: '</?', end: '>',
+ 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