summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/vbnet.min.js
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 20:44:08 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-13 20:44:08 -0600
commitabc0de079b895af1b705894eb2b63596e3e37274 (patch)
treec51d24dce55da8d9b227cbac6c2ef64a59d8e9dc /pyssg.xyz/live/static/hl/languages/vbnet.min.js
parentdb4b3736d4f45137a733ce5eb1e50aec968ca1d2 (diff)
add pyssg.xyz configs and templates
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/vbnet.min.js')
-rw-r--r--pyssg.xyz/live/static/hl/languages/vbnet.min.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/vbnet.min.js b/pyssg.xyz/live/static/hl/languages/vbnet.min.js
new file mode 100644
index 0000000..ab047ae
--- /dev/null
+++ b/pyssg.xyz/live/static/hl/languages/vbnet.min.js
@@ -0,0 +1,12 @@
+hljs.registerLanguage("vbnet",(()=>{"use strict";return e=>({
+name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,keywords:{
+keyword:"addhandler addressof alias and andalso aggregate ansi as async assembly auto await binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue iterator join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass nameof namespace narrowing new next not notinheritable notoverridable of off on operator option optional or order orelse overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim rem removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly xor yield",
+built_in:"boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype date decimal directcast double gettype getxmlnamespace iif integer long object sbyte short single string trycast typeof uinteger ulong ushort",
+literal:"true false nothing"},
+illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",
+contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]
+}),e.COMMENT("'","$",{returnBegin:!0,contains:[{className:"doctag",
+begin:"'''|\x3c!--|--\x3e",contains:[e.PHRASAL_WORDS_MODE]},{className:"doctag",
+begin:"</?",end:">",contains:[e.PHRASAL_WORDS_MODE]}]}),e.C_NUMBER_MODE,{
+className:"meta",begin:"#",end:"$",keywords:{
+"meta-keyword":"if else elseif end region externalsource"}}]})})()); \ No newline at end of file