@threadlabs/looma 0.18.6 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +34 -3
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +55 -0
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +7 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +29 -0
- package/components/ui-tree-item/ui-tree-item.html +5 -5
- package/components/ui-tree-item/ui-tree-item.js +20 -3
- package/dist/index.js +1 -1
- package/editor/chunks/extensions.js +24 -3
- package/editor/extensions/preset.d.ts +2 -0
- package/editor/extensions/table-commands.d.ts +1 -1
- package/editor/table-overlay.d.ts +8 -3
- package/package.json +2 -1
- package/styles/ui-editor-table-overlay.css +30 -0
- package/styles/ui-editor-table-toolbar.css +7 -2
- package/styles/ui-tree-item.css +5 -5
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +9 -3
- package/vue/UiEditorTableOverlay.d.ts +8 -0
- package/vue/UiEditorTableOverlay.vue +45 -2
- package/vue/UiEditorTableToolbar.vue +7 -2
- package/vue/UiTreeItem.vue +5 -5
- package/vue/chunks/1c.js +106 -0
- package/vue/chunks/UiEditorTableOverlay.js +14 -4
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/chunks/abnf.js +61 -0
- package/vue/chunks/accesslog.js +72 -0
- package/vue/chunks/actionscript.js +139 -0
- package/vue/chunks/ada.js +183 -0
- package/vue/chunks/angelscript.js +141 -0
- package/vue/chunks/apache.js +88 -0
- package/vue/chunks/applescript.js +99 -0
- package/vue/chunks/arcade.js +405 -0
- package/vue/chunks/arduino.js +871 -0
- package/vue/chunks/armasm.js +65 -0
- package/vue/chunks/asciidoc.js +181 -0
- package/vue/chunks/aspectj.js +202 -0
- package/vue/chunks/autohotkey.js +54 -0
- package/vue/chunks/autoit.js +132 -0
- package/vue/chunks/avrasm.js +46 -0
- package/vue/chunks/awk.js +58 -0
- package/vue/chunks/axapta.js +167 -0
- package/vue/chunks/bash.js +358 -0
- package/vue/chunks/basic.js +221 -0
- package/vue/chunks/bnf.js +27 -0
- package/vue/chunks/brainfuck.js +40 -0
- package/vue/chunks/c.js +265 -0
- package/vue/chunks/cal.js +136 -0
- package/vue/chunks/capnproto.js +86 -0
- package/vue/chunks/ceylon.js +125 -0
- package/vue/chunks/clean.js +54 -0
- package/vue/chunks/clojure-repl.js +17 -0
- package/vue/chunks/clojure.js +133 -0
- package/vue/chunks/cmake.js +23 -0
- package/vue/chunks/coffeescript.js +291 -0
- package/vue/chunks/coq.js +436 -0
- package/vue/chunks/cos.js +77 -0
- package/vue/chunks/cpp.js +492 -0
- package/vue/chunks/crmsh.js +80 -0
- package/vue/chunks/crystal.js +260 -0
- package/vue/chunks/csharp.js +376 -0
- package/vue/chunks/csp.js +52 -0
- package/vue/chunks/css.js +890 -0
- package/vue/chunks/d.js +184 -0
- package/vue/chunks/dart.js +226 -0
- package/vue/chunks/delphi.js +227 -0
- package/vue/chunks/diff.js +40 -0
- package/vue/chunks/django.js +43 -0
- package/vue/chunks/dns.js +66 -0
- package/vue/chunks/dockerfile.js +35 -0
- package/vue/chunks/dos.js +147 -0
- package/vue/chunks/dsconfig.js +55 -0
- package/vue/chunks/dts.js +119 -0
- package/vue/chunks/dust.js +33 -0
- package/vue/chunks/ebnf.js +40 -0
- package/vue/chunks/elixir.js +241 -0
- package/vue/chunks/elm.js +103 -0
- package/vue/chunks/erb.js +17 -0
- package/vue/chunks/erlang-repl.js +41 -0
- package/vue/chunks/erlang.js +236 -0
- package/vue/chunks/excel.js +562 -0
- package/vue/chunks/fix.js +30 -0
- package/vue/chunks/flix.js +60 -0
- package/vue/chunks/fortran.js +543 -0
- package/vue/chunks/fsharp.js +440 -0
- package/vue/chunks/gams.js +134 -0
- package/vue/chunks/gauss.js +167 -0
- package/vue/chunks/gcode.js +131 -0
- package/vue/chunks/gherkin.js +41 -0
- package/vue/chunks/glsl.js +25 -0
- package/vue/chunks/gml.js +3119 -0
- package/vue/chunks/go.js +140 -0
- package/vue/chunks/golo.js +72 -0
- package/vue/chunks/gradle.js +181 -0
- package/vue/chunks/graphql.js +68 -0
- package/vue/chunks/groovy.js +159 -0
- package/vue/chunks/haml.js +96 -0
- package/vue/chunks/handlebars.js +191 -0
- package/vue/chunks/haskell.js +149 -0
- package/vue/chunks/haxe.js +142 -0
- package/vue/chunks/hsp.js +45 -0
- package/vue/chunks/http.js +77 -0
- package/vue/chunks/hy.js +92 -0
- package/vue/chunks/inform7.js +45 -0
- package/vue/chunks/ini.js +94 -0
- package/vue/chunks/irpf90.js +52 -0
- package/vue/chunks/isbl.js +112 -0
- package/vue/chunks/java.js +237 -0
- package/vue/chunks/javascript.js +570 -0
- package/vue/chunks/jboss-cli.js +46 -0
- package/vue/chunks/json.js +45 -0
- package/vue/chunks/julia-repl.js +18 -0
- package/vue/chunks/julia.js +353 -0
- package/vue/chunks/kotlin.js +216 -0
- package/vue/chunks/lasso.js +127 -0
- package/vue/chunks/latex.js +206 -0
- package/vue/chunks/ldif.js +25 -0
- package/vue/chunks/leaf.js +72 -0
- package/vue/chunks/less.js +953 -0
- package/vue/chunks/lisp.js +119 -0
- package/vue/chunks/livecodeserver.js +86 -0
- package/vue/chunks/livescript.js +309 -0
- package/vue/chunks/llvm.js +77 -0
- package/vue/chunks/lsl.js +55 -0
- package/vue/chunks/lua.js +49 -0
- package/vue/chunks/makefile.js +62 -0
- package/vue/chunks/markdown.js +194 -0
- package/vue/chunks/mathematica.js +7317 -0
- package/vue/chunks/matlab.js +70 -0
- package/vue/chunks/maxima.js +38 -0
- package/vue/chunks/mel.js +24 -0
- package/vue/chunks/mercury.js +62 -0
- package/vue/chunks/mipsasm.js +53 -0
- package/vue/chunks/mizar.js +10 -0
- package/vue/chunks/mojolicious.js +27 -0
- package/vue/chunks/monkey.js +158 -0
- package/vue/chunks/moonscript.js +102 -0
- package/vue/chunks/n1ql.js +346 -0
- package/vue/chunks/nestedtext.js +66 -0
- package/vue/chunks/nginx.js +127 -0
- package/vue/chunks/nim.js +174 -0
- package/vue/chunks/nix.js +334 -0
- package/vue/chunks/node-repl.js +20 -0
- package/vue/chunks/nsis.js +515 -0
- package/vue/chunks/objectivec.js +235 -0
- package/vue/chunks/ocaml.js +52 -0
- package/vue/chunks/openscad.js +66 -0
- package/vue/chunks/oxygene.js +58 -0
- package/vue/chunks/parser3.js +40 -0
- package/vue/chunks/perl.js +454 -0
- package/vue/chunks/pf.js +30 -0
- package/vue/chunks/pgsql.js +196 -0
- package/vue/chunks/php-template.js +43 -0
- package/vue/chunks/php.js +527 -0
- package/vue/chunks/plaintext.js +10 -0
- package/vue/chunks/pony.js +60 -0
- package/vue/chunks/powershell.js +208 -0
- package/vue/chunks/processing.js +407 -0
- package/vue/chunks/profile.js +38 -0
- package/vue/chunks/prolog.js +62 -0
- package/vue/chunks/properties.js +45 -0
- package/vue/chunks/protobuf.js +63 -0
- package/vue/chunks/puppet.js +87 -0
- package/vue/chunks/purebasic.js +42 -0
- package/vue/chunks/python-repl.js +19 -0
- package/vue/chunks/python.js +357 -0
- package/vue/chunks/q.js +21 -0
- package/vue/chunks/qml.js +134 -0
- package/vue/chunks/r.js +145 -0
- package/vue/chunks/reasonml.js +134 -0
- package/vue/chunks/rib.js +16 -0
- package/vue/chunks/roboconf.js +54 -0
- package/vue/chunks/routeros.js +109 -0
- package/vue/chunks/rsl.js +138 -0
- package/vue/chunks/ruby.js +322 -0
- package/vue/chunks/ruleslanguage.js +26 -0
- package/vue/chunks/rust.js +296 -0
- package/vue/chunks/sas.js +533 -0
- package/vue/chunks/scala.js +173 -0
- package/vue/chunks/scheme.js +118 -0
- package/vue/chunks/scilab.js +45 -0
- package/vue/chunks/scss.js +900 -0
- package/vue/chunks/shell.js +18 -0
- package/vue/chunks/smali.js +113 -0
- package/vue/chunks/smalltalk.js +59 -0
- package/vue/chunks/sml.js +49 -0
- package/vue/chunks/sqf.js +2599 -0
- package/vue/chunks/sql.js +624 -0
- package/vue/chunks/stan.js +471 -0
- package/vue/chunks/stata.js +33 -0
- package/vue/chunks/step21.js +53 -0
- package/vue/chunks/stylus.js +925 -0
- package/vue/chunks/subunit.js +34 -0
- package/vue/chunks/swift.js +699 -0
- package/vue/chunks/taggerscript.js +37 -0
- package/vue/chunks/tap.js +30 -0
- package/vue/chunks/tcl.js +165 -0
- package/vue/chunks/thrift.js +65 -0
- package/vue/chunks/tp.js +155 -0
- package/vue/chunks/twig.js +232 -0
- package/vue/chunks/typescript.js +672 -0
- package/vue/chunks/vala.js +39 -0
- package/vue/chunks/vbnet.js +86 -0
- package/vue/chunks/vbscript-html.js +14 -0
- package/vue/chunks/vbscript.js +200 -0
- package/vue/chunks/verilog.js +534 -0
- package/vue/chunks/vhdl.js +190 -0
- package/vue/chunks/vim.js +54 -0
- package/vue/chunks/wasm.js +111 -0
- package/vue/chunks/wren.js +229 -0
- package/vue/chunks/x86asm.js +64 -0
- package/vue/chunks/xl.js +192 -0
- package/vue/chunks/xml.js +175 -0
- package/vue/chunks/xquery.js +303 -0
- package/vue/chunks/yaml.js +159 -0
- package/vue/chunks/zephir.js +74 -0
- package/vue/components.css +204 -170
- package/vue/editor/LoomaEditor.d.ts +7 -7
- package/vue/editor/code-language-catalog.d.ts +196 -0
- package/vue/editor/index.js +290 -20
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/vbnet.js
|
|
2
|
+
/** @type LanguageFn */
|
|
3
|
+
function vbnet(hljs) {
|
|
4
|
+
const regex = hljs.regex;
|
|
5
|
+
/**
|
|
6
|
+
* Character Literal
|
|
7
|
+
* Either a single character ("a"C) or an escaped double quote (""""C).
|
|
8
|
+
*/
|
|
9
|
+
const CHARACTER = {
|
|
10
|
+
className: "string",
|
|
11
|
+
begin: /"(""|[^/n])"C\b/
|
|
12
|
+
};
|
|
13
|
+
const STRING = {
|
|
14
|
+
className: "string",
|
|
15
|
+
begin: /"/,
|
|
16
|
+
end: /"/,
|
|
17
|
+
illegal: /\n/,
|
|
18
|
+
contains: [{ begin: /""/ }]
|
|
19
|
+
};
|
|
20
|
+
/** Date Literals consist of a date, a time, or both separated by whitespace, surrounded by # */
|
|
21
|
+
const MM_DD_YYYY = /\d{1,2}\/\d{1,2}\/\d{4}/;
|
|
22
|
+
const YYYY_MM_DD = /\d{4}-\d{1,2}-\d{1,2}/;
|
|
23
|
+
const TIME_12H = /(\d|1[012])(:\d+){0,2} *(AM|PM)/;
|
|
24
|
+
const TIME_24H = /\d{1,2}(:\d{1,2}){1,2}/;
|
|
25
|
+
const DATE = {
|
|
26
|
+
className: "literal",
|
|
27
|
+
variants: [
|
|
28
|
+
{ begin: regex.concat(/# */, regex.either(YYYY_MM_DD, MM_DD_YYYY), / *#/) },
|
|
29
|
+
{ begin: regex.concat(/# */, TIME_24H, / *#/) },
|
|
30
|
+
{ begin: regex.concat(/# */, TIME_12H, / *#/) },
|
|
31
|
+
{ begin: regex.concat(/# */, regex.either(YYYY_MM_DD, MM_DD_YYYY), / +/, regex.either(TIME_12H, TIME_24H), / *#/) }
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
const NUMBER = {
|
|
35
|
+
className: "number",
|
|
36
|
+
relevance: 0,
|
|
37
|
+
variants: [
|
|
38
|
+
{ begin: /\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/ },
|
|
39
|
+
{ begin: /\b\d[\d_]*((U?[SIL])|[%&])?/ },
|
|
40
|
+
{ begin: /&H[\dA-F_]+((U?[SIL])|[%&])?/ },
|
|
41
|
+
{ begin: /&O[0-7_]+((U?[SIL])|[%&])?/ },
|
|
42
|
+
{ begin: /&B[01_]+((U?[SIL])|[%&])?/ }
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
const LABEL = {
|
|
46
|
+
className: "label",
|
|
47
|
+
begin: /^\w+:/
|
|
48
|
+
};
|
|
49
|
+
const DOC_COMMENT = hljs.COMMENT(/'''/, /$/, { contains: [{
|
|
50
|
+
className: "doctag",
|
|
51
|
+
begin: /<\/?/,
|
|
52
|
+
end: />/
|
|
53
|
+
}] });
|
|
54
|
+
const COMMENT = hljs.COMMENT(null, /$/, { variants: [{ begin: /'/ }, { begin: /([\t ]|^)REM(?=\s)/ }] });
|
|
55
|
+
return {
|
|
56
|
+
name: "Visual Basic .NET",
|
|
57
|
+
aliases: ["vb"],
|
|
58
|
+
case_insensitive: true,
|
|
59
|
+
classNameAliases: { label: "symbol" },
|
|
60
|
+
keywords: {
|
|
61
|
+
keyword: "addhandler alias aggregate ansi as async assembly auto 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 iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim 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 yield",
|
|
62
|
+
built_in: "addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",
|
|
63
|
+
type: "boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",
|
|
64
|
+
literal: "true false nothing"
|
|
65
|
+
},
|
|
66
|
+
illegal: "//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",
|
|
67
|
+
contains: [
|
|
68
|
+
CHARACTER,
|
|
69
|
+
STRING,
|
|
70
|
+
DATE,
|
|
71
|
+
NUMBER,
|
|
72
|
+
LABEL,
|
|
73
|
+
DOC_COMMENT,
|
|
74
|
+
COMMENT,
|
|
75
|
+
{
|
|
76
|
+
className: "meta",
|
|
77
|
+
begin: /[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,
|
|
78
|
+
end: /$/,
|
|
79
|
+
keywords: { keyword: "const disable else elseif enable end externalsource if region then" },
|
|
80
|
+
contains: [COMMENT]
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
export { vbnet as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/vbscript-html.js
|
|
2
|
+
function vbscriptHtml(hljs) {
|
|
3
|
+
return {
|
|
4
|
+
name: "VBScript in HTML",
|
|
5
|
+
subLanguage: "xml",
|
|
6
|
+
contains: [{
|
|
7
|
+
begin: "<%",
|
|
8
|
+
end: "%>",
|
|
9
|
+
subLanguage: "vbscript"
|
|
10
|
+
}]
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { vbscriptHtml as default };
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/vbscript.js
|
|
2
|
+
/** @type LanguageFn */
|
|
3
|
+
function vbscript(hljs) {
|
|
4
|
+
const regex = hljs.regex;
|
|
5
|
+
const BUILT_IN_FUNCTIONS = [
|
|
6
|
+
"lcase",
|
|
7
|
+
"month",
|
|
8
|
+
"vartype",
|
|
9
|
+
"instrrev",
|
|
10
|
+
"ubound",
|
|
11
|
+
"setlocale",
|
|
12
|
+
"getobject",
|
|
13
|
+
"rgb",
|
|
14
|
+
"getref",
|
|
15
|
+
"string",
|
|
16
|
+
"weekdayname",
|
|
17
|
+
"rnd",
|
|
18
|
+
"dateadd",
|
|
19
|
+
"monthname",
|
|
20
|
+
"now",
|
|
21
|
+
"day",
|
|
22
|
+
"minute",
|
|
23
|
+
"isarray",
|
|
24
|
+
"cbool",
|
|
25
|
+
"round",
|
|
26
|
+
"formatcurrency",
|
|
27
|
+
"conversions",
|
|
28
|
+
"csng",
|
|
29
|
+
"timevalue",
|
|
30
|
+
"second",
|
|
31
|
+
"year",
|
|
32
|
+
"space",
|
|
33
|
+
"abs",
|
|
34
|
+
"clng",
|
|
35
|
+
"timeserial",
|
|
36
|
+
"fixs",
|
|
37
|
+
"len",
|
|
38
|
+
"asc",
|
|
39
|
+
"isempty",
|
|
40
|
+
"maths",
|
|
41
|
+
"dateserial",
|
|
42
|
+
"atn",
|
|
43
|
+
"timer",
|
|
44
|
+
"isobject",
|
|
45
|
+
"filter",
|
|
46
|
+
"weekday",
|
|
47
|
+
"datevalue",
|
|
48
|
+
"ccur",
|
|
49
|
+
"isdate",
|
|
50
|
+
"instr",
|
|
51
|
+
"datediff",
|
|
52
|
+
"formatdatetime",
|
|
53
|
+
"replace",
|
|
54
|
+
"isnull",
|
|
55
|
+
"right",
|
|
56
|
+
"sgn",
|
|
57
|
+
"array",
|
|
58
|
+
"snumeric",
|
|
59
|
+
"log",
|
|
60
|
+
"cdbl",
|
|
61
|
+
"hex",
|
|
62
|
+
"chr",
|
|
63
|
+
"lbound",
|
|
64
|
+
"msgbox",
|
|
65
|
+
"ucase",
|
|
66
|
+
"getlocale",
|
|
67
|
+
"cos",
|
|
68
|
+
"cdate",
|
|
69
|
+
"cbyte",
|
|
70
|
+
"rtrim",
|
|
71
|
+
"join",
|
|
72
|
+
"hour",
|
|
73
|
+
"oct",
|
|
74
|
+
"typename",
|
|
75
|
+
"trim",
|
|
76
|
+
"strcomp",
|
|
77
|
+
"int",
|
|
78
|
+
"createobject",
|
|
79
|
+
"loadpicture",
|
|
80
|
+
"tan",
|
|
81
|
+
"formatnumber",
|
|
82
|
+
"mid",
|
|
83
|
+
"split",
|
|
84
|
+
"cint",
|
|
85
|
+
"sin",
|
|
86
|
+
"datepart",
|
|
87
|
+
"ltrim",
|
|
88
|
+
"sqr",
|
|
89
|
+
"time",
|
|
90
|
+
"derived",
|
|
91
|
+
"eval",
|
|
92
|
+
"date",
|
|
93
|
+
"formatpercent",
|
|
94
|
+
"exp",
|
|
95
|
+
"inputbox",
|
|
96
|
+
"left",
|
|
97
|
+
"ascw",
|
|
98
|
+
"chrw",
|
|
99
|
+
"regexp",
|
|
100
|
+
"cstr",
|
|
101
|
+
"err"
|
|
102
|
+
];
|
|
103
|
+
const BUILT_IN_OBJECTS = [
|
|
104
|
+
"server",
|
|
105
|
+
"response",
|
|
106
|
+
"request",
|
|
107
|
+
"scriptengine",
|
|
108
|
+
"scriptenginebuildversion",
|
|
109
|
+
"scriptengineminorversion",
|
|
110
|
+
"scriptenginemajorversion"
|
|
111
|
+
];
|
|
112
|
+
const BUILT_IN_CALL = {
|
|
113
|
+
begin: regex.concat(regex.either(...BUILT_IN_FUNCTIONS), "\\s*\\("),
|
|
114
|
+
relevance: 0,
|
|
115
|
+
keywords: { built_in: BUILT_IN_FUNCTIONS }
|
|
116
|
+
};
|
|
117
|
+
return {
|
|
118
|
+
name: "VBScript",
|
|
119
|
+
aliases: ["vbs"],
|
|
120
|
+
case_insensitive: true,
|
|
121
|
+
keywords: {
|
|
122
|
+
keyword: [
|
|
123
|
+
"call",
|
|
124
|
+
"class",
|
|
125
|
+
"const",
|
|
126
|
+
"dim",
|
|
127
|
+
"do",
|
|
128
|
+
"loop",
|
|
129
|
+
"erase",
|
|
130
|
+
"execute",
|
|
131
|
+
"executeglobal",
|
|
132
|
+
"exit",
|
|
133
|
+
"for",
|
|
134
|
+
"each",
|
|
135
|
+
"next",
|
|
136
|
+
"function",
|
|
137
|
+
"if",
|
|
138
|
+
"then",
|
|
139
|
+
"else",
|
|
140
|
+
"on",
|
|
141
|
+
"error",
|
|
142
|
+
"option",
|
|
143
|
+
"explicit",
|
|
144
|
+
"new",
|
|
145
|
+
"private",
|
|
146
|
+
"property",
|
|
147
|
+
"let",
|
|
148
|
+
"get",
|
|
149
|
+
"public",
|
|
150
|
+
"randomize",
|
|
151
|
+
"redim",
|
|
152
|
+
"rem",
|
|
153
|
+
"select",
|
|
154
|
+
"case",
|
|
155
|
+
"set",
|
|
156
|
+
"stop",
|
|
157
|
+
"sub",
|
|
158
|
+
"while",
|
|
159
|
+
"wend",
|
|
160
|
+
"with",
|
|
161
|
+
"end",
|
|
162
|
+
"to",
|
|
163
|
+
"elseif",
|
|
164
|
+
"is",
|
|
165
|
+
"or",
|
|
166
|
+
"xor",
|
|
167
|
+
"and",
|
|
168
|
+
"not",
|
|
169
|
+
"class_initialize",
|
|
170
|
+
"class_terminate",
|
|
171
|
+
"default",
|
|
172
|
+
"preserve",
|
|
173
|
+
"in",
|
|
174
|
+
"me",
|
|
175
|
+
"byval",
|
|
176
|
+
"byref",
|
|
177
|
+
"step",
|
|
178
|
+
"resume",
|
|
179
|
+
"goto"
|
|
180
|
+
],
|
|
181
|
+
built_in: BUILT_IN_OBJECTS,
|
|
182
|
+
literal: [
|
|
183
|
+
"true",
|
|
184
|
+
"false",
|
|
185
|
+
"null",
|
|
186
|
+
"nothing",
|
|
187
|
+
"empty"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
illegal: "//",
|
|
191
|
+
contains: [
|
|
192
|
+
BUILT_IN_CALL,
|
|
193
|
+
hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [{ begin: "\"\"" }] }),
|
|
194
|
+
hljs.COMMENT(/'/, /$/, { relevance: 0 }),
|
|
195
|
+
hljs.C_NUMBER_MODE
|
|
196
|
+
]
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
//#endregion
|
|
200
|
+
export { vbscript as default };
|