@infinilabs/discover 0.0.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/LICENSE +9 -0
- package/README.md +8 -0
- package/dist/abap-B988NUrV.js +122 -0
- package/dist/abap-obercqiY.cjs +1 -0
- package/dist/apex-B0_UGK1B.cjs +1 -0
- package/dist/apex-BlHPPQK-.js +168 -0
- package/dist/azcli-C7iyZFGk.js +53 -0
- package/dist/azcli-CEoytwx_.cjs +1 -0
- package/dist/bat-Buc0l0C3.js +123 -0
- package/dist/bat-D65OC-jj.cjs +1 -0
- package/dist/bicep-DvD_e5vW.cjs +2 -0
- package/dist/bicep-U66iJ-pV.js +219 -0
- package/dist/cameligo-C9Dwkdmm.js +189 -0
- package/dist/cameligo-DzMHfeEs.cjs +1 -0
- package/dist/chunk-BjqF3vbe.cjs +1 -0
- package/dist/chunk-CIp4IH9D.js +21 -0
- package/dist/classnames-BXjDNQ6Q.cjs +1 -0
- package/dist/classnames-eUba3oot.js +29 -0
- package/dist/clojure-BC7BzAFK.cjs +1 -0
- package/dist/clojure-DDWmWbSx.js +146 -0
- package/dist/coffee-7Sx2S8NH.js +260 -0
- package/dist/coffee-Ca9F0OWZ.cjs +1 -0
- package/dist/common-BeXEy5sz.cjs +18 -0
- package/dist/common-BlOHZJzI.js +64 -0
- package/dist/common-DuYIpe6b.cjs +1 -0
- package/dist/common-Tr1I-HCs.js +6725 -0
- package/dist/cpp-CHjqaSPQ.js +230 -0
- package/dist/cpp-DKy9h6xR.cjs +1 -0
- package/dist/createLucideIcon-239Z-2by.cjs +1 -0
- package/dist/createLucideIcon-BO6TDGE7.js +43 -0
- package/dist/csharp-CkbgT9vH.cjs +1 -0
- package/dist/csharp-jwStnVeK.js +260 -0
- package/dist/csp-C2qFd6iv.cjs +1 -0
- package/dist/csp-DkO8Np0h.js +46 -0
- package/dist/css-BFvwcljm.js +284 -0
- package/dist/css-DCKUCzD6.cjs +3 -0
- package/dist/cssMode-CU2AJQMM.js +1509 -0
- package/dist/cssMode-l7eR8WSG.cjs +4 -0
- package/dist/cypher-122TYSjJ.cjs +1 -0
- package/dist/cypher-DaQ7hFRL.js +212 -0
- package/dist/dart-D8p_2HKP.js +236 -0
- package/dist/dart-DshcPGU8.cjs +1 -0
- package/dist/dist-DCz_Qv0B.js +884 -0
- package/dist/dist-D_2dZQH5.cjs +11 -0
- package/dist/dockerfile-CL8dwZCe.cjs +1 -0
- package/dist/dockerfile-DKWOQrwp.js +191 -0
- package/dist/ecl-DP3PNWGB.js +226 -0
- package/dist/ecl-DVx2J_EE.cjs +1 -0
- package/dist/editor.api-CbUDOph7.js +70302 -0
- package/dist/editor.api-lY2thcaq.cjs +644 -0
- package/dist/elixir-Xgx_1krO.cjs +1 -0
- package/dist/elixir-e9tDp1p1.js +523 -0
- package/dist/filter_label-DRJC3vpe.js +58 -0
- package/dist/filter_label-DssaWGpx.cjs +1 -0
- package/dist/filter_operators-C-TaTcNc.js +70 -0
- package/dist/filter_operators-D0kyB-XI.cjs +1 -0
- package/dist/flow9-C9BjpX8h.js +176 -0
- package/dist/flow9-DR-EyjYV.cjs +1 -0
- package/dist/freemarker2-BTGUjvgA.cjs +3 -0
- package/dist/freemarker2-C6Iq5MB-.js +724 -0
- package/dist/fsharp-BWm_FISn.js +147 -0
- package/dist/fsharp-DaBEigN7.cjs +1 -0
- package/dist/go-Xyq33f0v.cjs +1 -0
- package/dist/go-cmqV0Vy_.js +165 -0
- package/dist/graphql-BkFHHVmI.js +174 -0
- package/dist/graphql-Cj7XAy25.cjs +1 -0
- package/dist/handlebars-B2b1q7PA.cjs +1 -0
- package/dist/handlebars-DGGN9u4Y.js +418 -0
- package/dist/hcl-5I-P7bYX.js +219 -0
- package/dist/hcl-C3dpBsgU.cjs +1 -0
- package/dist/html-RJa-j-qT.js +339 -0
- package/dist/html-qfcUzk8e.cjs +1 -0
- package/dist/htmlMode-CYIxo4hc.cjs +4 -0
- package/dist/htmlMode-DDZ48mdp.js +1520 -0
- package/dist/index.cjs +303 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +72895 -0
- package/dist/index_pattern_select--iGeA3sP.js +93 -0
- package/dist/index_pattern_select-BeN5049F.cjs +1 -0
- package/dist/ini-ChENqKh8.cjs +1 -0
- package/dist/ini-DSIAxBZt.js +94 -0
- package/dist/java-DGeAxsRb.js +173 -0
- package/dist/java-LZ6g7weJ.cjs +1 -0
- package/dist/javascript-CN5gTHH2.js +19 -0
- package/dist/javascript-CZ97a-BN.cjs +1 -0
- package/dist/jsonMode-BZDeJMLL.cjs +10 -0
- package/dist/jsonMode-DraOl-ka.js +1885 -0
- package/dist/julia-BeebccKw.cjs +1 -0
- package/dist/julia-CU4CtsP4.js +414 -0
- package/dist/kotlin-B8NxXJ89.js +183 -0
- package/dist/kotlin-M82nl514.cjs +1 -0
- package/dist/less-B4Q3fV9Y.cjs +2 -0
- package/dist/less-DbeQQzer.js +242 -0
- package/dist/lexon-CXQaaecE.cjs +1 -0
- package/dist/lexon-Cw9JuAKc.js +185 -0
- package/dist/lib-C9j_E-l0.js +47 -0
- package/dist/lib-Chy_6VKj.cjs +1 -0
- package/dist/liquid-BYNEOJvX.cjs +1 -0
- package/dist/liquid-DvB-d2w7.js +205 -0
- package/dist/lodash-C_2NO1eK.cjs +35 -0
- package/dist/lodash-D-qGlPRW.js +3769 -0
- package/dist/lua-CnG8Tpu2.cjs +1 -0
- package/dist/lua-yl5NzA_S.js +200 -0
- package/dist/m3-CVcm-OIn.cjs +1 -0
- package/dist/m3-CdNAqvIX.js +193 -0
- package/dist/markdown-C1h-EuiT.js +262 -0
- package/dist/markdown-DrRHDVSU.cjs +1 -0
- package/dist/mdx-BbiOYPr2.cjs +1 -0
- package/dist/mdx-Fk8VTCUK.js +335 -0
- package/dist/mips-DIWpzGF0.js +128 -0
- package/dist/mips-D_p8UYQb.cjs +1 -0
- package/dist/monaco.contribution-BpuUCejv.cjs +1 -0
- package/dist/monaco.contribution-Cq4QrMn0.js +134 -0
- package/dist/msdax-BiazpDQ1.js +156 -0
- package/dist/msdax-xM1_j20x.cjs +1 -0
- package/dist/mysql-DMsJkSnA.cjs +1 -0
- package/dist/mysql-DphBFJlP.js +168 -0
- package/dist/objective-c-BG02Lrht.cjs +1 -0
- package/dist/objective-c-DWZ8Qpyc.js +144 -0
- package/dist/pascal-BcvlMOdu.js +176 -0
- package/dist/pascal-CnP2Fqes.cjs +1 -0
- package/dist/pascaligo-BzDEm-l_.cjs +1 -0
- package/dist/pascaligo-DHEp4kzh.js +201 -0
- package/dist/perl-USYKPHpO.js +316 -0
- package/dist/perl-nIxw-e4R.cjs +1 -0
- package/dist/pgsql-Buk6XzVf.cjs +1 -0
- package/dist/pgsql-DzPhAh9W.js +158 -0
- package/dist/php-B3sFYUqV.cjs +1 -0
- package/dist/php-PfpSTefE.js +471 -0
- package/dist/pla-CZtnfWl6.cjs +1 -0
- package/dist/pla-DrFOZwDB.js +146 -0
- package/dist/postiats-4OGxVVUT.js +504 -0
- package/dist/postiats-CgJZf83Q.cjs +1 -0
- package/dist/powerquery-D9gzk2Dq.cjs +1 -0
- package/dist/powerquery-_h9-HEnY.js +190 -0
- package/dist/powershell-CZHaQY6z.cjs +1 -0
- package/dist/powershell-nOzcY8gy.js +211 -0
- package/dist/protobuf-DAgxhnea.js +659 -0
- package/dist/protobuf-D_C8Guej.cjs +2 -0
- package/dist/public-1PveQco4.js +1756 -0
- package/dist/public-D1K7oN7t.cjs +3 -0
- package/dist/pug-quEtG4rz.cjs +1 -0
- package/dist/pug-raGZNmZ1.js +300 -0
- package/dist/python-C45c7K7W.js +260 -0
- package/dist/python-CQX8JcT4.cjs +1 -0
- package/dist/qsharp-C2jz5tuo.js +143 -0
- package/dist/qsharp-CX1SSV_j.cjs +1 -0
- package/dist/query_bar_top_row-3UclS1nm.cjs +1 -0
- package/dist/query_bar_top_row-CfV4Iu71.cjs +1 -0
- package/dist/query_bar_top_row-D6a48VTk.js +11 -0
- package/dist/query_bar_top_row-DonV1OzY.js +2930 -0
- package/dist/query_string_input-75waAcWy.js +9 -0
- package/dist/query_string_input-CHG9w1ze.cjs +1 -0
- package/dist/query_string_input-CyPZVKif.js +366 -0
- package/dist/query_string_input-SOULY6dl.cjs +1 -0
- package/dist/r-CXkPcYYf.js +189 -0
- package/dist/r-DpVDQTST.cjs +1 -0
- package/dist/razor-BnoJmj1k.js +525 -0
- package/dist/razor-DYx4yJJn.cjs +1 -0
- package/dist/redis-DsCuCZIT.cjs +1 -0
- package/dist/redis-giKZvbbg.js +123 -0
- package/dist/redshift-qKVxBsP_.js +158 -0
- package/dist/redshift-z5_aUfdC.cjs +1 -0
- package/dist/restructuredtext-D0n4pabr.js +287 -0
- package/dist/restructuredtext-DdXoKocW.cjs +1 -0
- package/dist/ruby-BNrBlpcw.js +527 -0
- package/dist/ruby-Dj0sNBey.cjs +1 -0
- package/dist/rust-D6mpPoli.js +178 -0
- package/dist/rust-DjkW1U4M.cjs +1 -0
- package/dist/sb-BCN0JcpS.cjs +1 -0
- package/dist/sb-DhS9GhXl.js +143 -0
- package/dist/scala-BqxBEpi8.js +551 -0
- package/dist/scala-CyXWhZaJ.cjs +1 -0
- package/dist/scheme-Bh4oGAk3.js +170 -0
- package/dist/scheme-Cs9G6QEE.cjs +1 -0
- package/dist/scss-Byf08jwC.js +417 -0
- package/dist/scss-Fl7taPuq.cjs +3 -0
- package/dist/search_bar-Caqi1NVo.js +1815 -0
- package/dist/search_bar-DyO_WsC5.cjs +1 -0
- package/dist/services-9wPHk1eh.js +2350 -0
- package/dist/services-BPC3fXx4.cjs +7 -0
- package/dist/shard_failure_open_modal_button-BYTThYch.js +199 -0
- package/dist/shard_failure_open_modal_button-Dx8ML4VE.cjs +2 -0
- package/dist/shell-Cw5yNfC4.cjs +1 -0
- package/dist/shell-UoRv_tpG.js +223 -0
- package/dist/solidity-B5t7Lkol.js +147 -0
- package/dist/solidity-BoAzg9X_.cjs +1 -0
- package/dist/sophia-BrXXWhvp.js +147 -0
- package/dist/sophia-L84Jz6Ow.cjs +1 -0
- package/dist/sparql-B8ZTY48u.js +124 -0
- package/dist/sparql-D6lnG7vO.cjs +1 -0
- package/dist/sql-D_74hUL-.js +171 -0
- package/dist/sql-VXdYzIyz.cjs +1 -0
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/ResultHeader/Info.d.ts +30 -0
- package/dist/src/components/ResultHeader/index.d.ts +13 -0
- package/dist/src/components/context.d.ts +82 -0
- package/dist/src/components/euiicons.d.ts +1 -0
- package/dist/src/components/index.d.ts +8 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/request.d.ts +1 -0
- package/dist/src/utils/utils.d.ts +1 -0
- package/dist/st-CxJLwAAK.cjs +1 -0
- package/dist/st-D8Rdx9Bz.js +476 -0
- package/dist/suggestions_component-BBHwbjYT.js +1243 -0
- package/dist/suggestions_component-CF4sehth.cjs +77 -0
- package/dist/swift-ZBC6wQdc.cjs +1 -0
- package/dist/swift-s19Ivx3X.js +213 -0
- package/dist/systemverilog-DoSgAb1I.cjs +1 -0
- package/dist/systemverilog-fA72PnKj.js +298 -0
- package/dist/tcl-B8QLbcxi.js +223 -0
- package/dist/tcl-IXmy-lJ0.cjs +1 -0
- package/dist/tsMode-BrPRpJvb.js +597 -0
- package/dist/tsMode-CNvH6xuC.cjs +11 -0
- package/dist/tsup.config.d.ts +2 -0
- package/dist/twig-CT2RXmm0.cjs +1 -0
- package/dist/twig-Dy7NkzKI.js +388 -0
- package/dist/typescript-BRKHcp4S.js +263 -0
- package/dist/typescript-Bbw9fxuo.cjs +1 -0
- package/dist/typescript-CQjO9XnF.js +3 -0
- package/dist/typescript-D6q4AO2z.cjs +1 -0
- package/dist/typespec-CkKpvaMv.cjs +1 -0
- package/dist/typespec-ndyv0mQx.js +234 -0
- package/dist/vb-DET0NIW-.js +260 -0
- package/dist/vb-R3Kcrzvd.cjs +1 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/wgsl-D5TeQchR.js +145 -0
- package/dist/wgsl-FTDBzylH.cjs +298 -0
- package/dist/xml-BZjE3dtf.js +136 -0
- package/dist/xml-CxbMIueA.cjs +1 -0
- package/dist/yaml-Di_6aXC4.js +229 -0
- package/dist/yaml-DvaGkWBl.cjs +1 -0
- package/package.json +98 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
comments: {
|
|
3
|
+
lineComment: "//",
|
|
4
|
+
blockComment: ["/*", "*/"]
|
|
5
|
+
},
|
|
6
|
+
brackets: [
|
|
7
|
+
["[", "]"],
|
|
8
|
+
["(", ")"],
|
|
9
|
+
["{", "}"]
|
|
10
|
+
],
|
|
11
|
+
autoClosingPairs: [
|
|
12
|
+
{
|
|
13
|
+
open: "\"",
|
|
14
|
+
close: "\"",
|
|
15
|
+
notIn: [
|
|
16
|
+
"string",
|
|
17
|
+
"comment",
|
|
18
|
+
"identifier"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
open: "[",
|
|
23
|
+
close: "]",
|
|
24
|
+
notIn: [
|
|
25
|
+
"string",
|
|
26
|
+
"comment",
|
|
27
|
+
"identifier"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
open: "(",
|
|
32
|
+
close: ")",
|
|
33
|
+
notIn: [
|
|
34
|
+
"string",
|
|
35
|
+
"comment",
|
|
36
|
+
"identifier"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
open: "{",
|
|
41
|
+
close: "}",
|
|
42
|
+
notIn: [
|
|
43
|
+
"string",
|
|
44
|
+
"comment",
|
|
45
|
+
"identifier"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}, language = {
|
|
50
|
+
defaultToken: "",
|
|
51
|
+
tokenPostfix: ".pq",
|
|
52
|
+
ignoreCase: !1,
|
|
53
|
+
brackets: [
|
|
54
|
+
{
|
|
55
|
+
open: "[",
|
|
56
|
+
close: "]",
|
|
57
|
+
token: "delimiter.square"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
open: "{",
|
|
61
|
+
close: "}",
|
|
62
|
+
token: "delimiter.brackets"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
open: "(",
|
|
66
|
+
close: ")",
|
|
67
|
+
token: "delimiter.parenthesis"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
operatorKeywords: [
|
|
71
|
+
"and",
|
|
72
|
+
"not",
|
|
73
|
+
"or"
|
|
74
|
+
],
|
|
75
|
+
keywords: [
|
|
76
|
+
"as",
|
|
77
|
+
"each",
|
|
78
|
+
"else",
|
|
79
|
+
"error",
|
|
80
|
+
"false",
|
|
81
|
+
"if",
|
|
82
|
+
"in",
|
|
83
|
+
"is",
|
|
84
|
+
"let",
|
|
85
|
+
"meta",
|
|
86
|
+
"otherwise",
|
|
87
|
+
"section",
|
|
88
|
+
"shared",
|
|
89
|
+
"then",
|
|
90
|
+
"true",
|
|
91
|
+
"try",
|
|
92
|
+
"type"
|
|
93
|
+
],
|
|
94
|
+
constructors: [
|
|
95
|
+
"#binary",
|
|
96
|
+
"#date",
|
|
97
|
+
"#datetime",
|
|
98
|
+
"#datetimezone",
|
|
99
|
+
"#duration",
|
|
100
|
+
"#table",
|
|
101
|
+
"#time"
|
|
102
|
+
],
|
|
103
|
+
constants: [
|
|
104
|
+
"#infinity",
|
|
105
|
+
"#nan",
|
|
106
|
+
"#sections",
|
|
107
|
+
"#shared"
|
|
108
|
+
],
|
|
109
|
+
typeKeywords: [
|
|
110
|
+
"action",
|
|
111
|
+
"any",
|
|
112
|
+
"anynonnull",
|
|
113
|
+
"none",
|
|
114
|
+
"null",
|
|
115
|
+
"logical",
|
|
116
|
+
"number",
|
|
117
|
+
"time",
|
|
118
|
+
"date",
|
|
119
|
+
"datetime",
|
|
120
|
+
"datetimezone",
|
|
121
|
+
"duration",
|
|
122
|
+
"text",
|
|
123
|
+
"binary",
|
|
124
|
+
"list",
|
|
125
|
+
"record",
|
|
126
|
+
"table",
|
|
127
|
+
"function"
|
|
128
|
+
],
|
|
129
|
+
builtinFunctions: /* @__PURE__ */ "Access.Database,Action.Return,Action.Sequence,Action.Try,ActiveDirectory.Domains,AdoDotNet.DataSource,AdoDotNet.Query,AdobeAnalytics.Cubes,AnalysisServices.Database,AnalysisServices.Databases,AzureStorage.BlobContents,AzureStorage.Blobs,AzureStorage.Tables,Binary.Buffer,Binary.Combine,Binary.Compress,Binary.Decompress,Binary.End,Binary.From,Binary.FromList,Binary.FromText,Binary.InferContentType,Binary.Length,Binary.ToList,Binary.ToText,BinaryFormat.7BitEncodedSignedInteger,BinaryFormat.7BitEncodedUnsignedInteger,BinaryFormat.Binary,BinaryFormat.Byte,BinaryFormat.ByteOrder,BinaryFormat.Choice,BinaryFormat.Decimal,BinaryFormat.Double,BinaryFormat.Group,BinaryFormat.Length,BinaryFormat.List,BinaryFormat.Null,BinaryFormat.Record,BinaryFormat.SignedInteger16,BinaryFormat.SignedInteger32,BinaryFormat.SignedInteger64,BinaryFormat.Single,BinaryFormat.Text,BinaryFormat.Transform,BinaryFormat.UnsignedInteger16,BinaryFormat.UnsignedInteger32,BinaryFormat.UnsignedInteger64,Byte.From,Character.FromNumber,Character.ToNumber,Combiner.CombineTextByDelimiter,Combiner.CombineTextByEachDelimiter,Combiner.CombineTextByLengths,Combiner.CombineTextByPositions,Combiner.CombineTextByRanges,Comparer.Equals,Comparer.FromCulture,Comparer.Ordinal,Comparer.OrdinalIgnoreCase,Csv.Document,Cube.AddAndExpandDimensionColumn,Cube.AddMeasureColumn,Cube.ApplyParameter,Cube.AttributeMemberId,Cube.AttributeMemberProperty,Cube.CollapseAndRemoveColumns,Cube.Dimensions,Cube.DisplayFolders,Cube.Measures,Cube.Parameters,Cube.Properties,Cube.PropertyKey,Cube.ReplaceDimensions,Cube.Transform,Currency.From,DB2.Database,Date.AddDays,Date.AddMonths,Date.AddQuarters,Date.AddWeeks,Date.AddYears,Date.Day,Date.DayOfWeek,Date.DayOfWeekName,Date.DayOfYear,Date.DaysInMonth,Date.EndOfDay,Date.EndOfMonth,Date.EndOfQuarter,Date.EndOfWeek,Date.EndOfYear,Date.From,Date.FromText,Date.IsInCurrentDay,Date.IsInCurrentMonth,Date.IsInCurrentQuarter,Date.IsInCurrentWeek,Date.IsInCurrentYear,Date.IsInNextDay,Date.IsInNextMonth,Date.IsInNextNDays,Date.IsInNextNMonths,Date.IsInNextNQuarters,Date.IsInNextNWeeks,Date.IsInNextNYears,Date.IsInNextQuarter,Date.IsInNextWeek,Date.IsInNextYear,Date.IsInPreviousDay,Date.IsInPreviousMonth,Date.IsInPreviousNDays,Date.IsInPreviousNMonths,Date.IsInPreviousNQuarters,Date.IsInPreviousNWeeks,Date.IsInPreviousNYears,Date.IsInPreviousQuarter,Date.IsInPreviousWeek,Date.IsInPreviousYear,Date.IsInYearToDate,Date.IsLeapYear,Date.Month,Date.MonthName,Date.QuarterOfYear,Date.StartOfDay,Date.StartOfMonth,Date.StartOfQuarter,Date.StartOfWeek,Date.StartOfYear,Date.ToRecord,Date.ToText,Date.WeekOfMonth,Date.WeekOfYear,Date.Year,DateTime.AddZone,DateTime.Date,DateTime.FixedLocalNow,DateTime.From,DateTime.FromFileTime,DateTime.FromText,DateTime.IsInCurrentHour,DateTime.IsInCurrentMinute,DateTime.IsInCurrentSecond,DateTime.IsInNextHour,DateTime.IsInNextMinute,DateTime.IsInNextNHours,DateTime.IsInNextNMinutes,DateTime.IsInNextNSeconds,DateTime.IsInNextSecond,DateTime.IsInPreviousHour,DateTime.IsInPreviousMinute,DateTime.IsInPreviousNHours,DateTime.IsInPreviousNMinutes,DateTime.IsInPreviousNSeconds,DateTime.IsInPreviousSecond,DateTime.LocalNow,DateTime.Time,DateTime.ToRecord,DateTime.ToText,DateTimeZone.FixedLocalNow,DateTimeZone.FixedUtcNow,DateTimeZone.From,DateTimeZone.FromFileTime,DateTimeZone.FromText,DateTimeZone.LocalNow,DateTimeZone.RemoveZone,DateTimeZone.SwitchZone,DateTimeZone.ToLocal,DateTimeZone.ToRecord,DateTimeZone.ToText,DateTimeZone.ToUtc,DateTimeZone.UtcNow,DateTimeZone.ZoneHours,DateTimeZone.ZoneMinutes,Decimal.From,Diagnostics.ActivityId,Diagnostics.Trace,DirectQueryCapabilities.From,Double.From,Duration.Days,Duration.From,Duration.FromText,Duration.Hours,Duration.Minutes,Duration.Seconds,Duration.ToRecord,Duration.ToText,Duration.TotalDays,Duration.TotalHours,Duration.TotalMinutes,Duration.TotalSeconds,Embedded.Value,Error.Record,Excel.CurrentWorkbook,Excel.Workbook,Exchange.Contents,Expression.Constant,Expression.Evaluate,Expression.Identifier,Facebook.Graph,File.Contents,Folder.Contents,Folder.Files,Function.From,Function.Invoke,Function.InvokeAfter,Function.IsDataSource,GoogleAnalytics.Accounts,Guid.From,HdInsight.Containers,HdInsight.Contents,HdInsight.Files,Hdfs.Contents,Hdfs.Files,Informix.Database,Int16.From,Int32.From,Int64.From,Int8.From,ItemExpression.From,Json.Document,Json.FromValue,Lines.FromBinary,Lines.FromText,Lines.ToBinary,Lines.ToText,List.Accumulate,List.AllTrue,List.Alternate,List.AnyTrue,List.Average,List.Buffer,List.Combine,List.Contains,List.ContainsAll,List.ContainsAny,List.Count,List.Covariance,List.DateTimeZones,List.DateTimes,List.Dates,List.Difference,List.Distinct,List.Durations,List.FindText,List.First,List.FirstN,List.Generate,List.InsertRange,List.Intersect,List.IsDistinct,List.IsEmpty,List.Last,List.LastN,List.MatchesAll,List.MatchesAny,List.Max,List.MaxN,List.Median,List.Min,List.MinN,List.Mode,List.Modes,List.NonNullCount,List.Numbers,List.PositionOf,List.PositionOfAny,List.Positions,List.Product,List.Random,List.Range,List.RemoveFirstN,List.RemoveItems,List.RemoveLastN,List.RemoveMatchingItems,List.RemoveNulls,List.RemoveRange,List.Repeat,List.ReplaceMatchingItems,List.ReplaceRange,List.ReplaceValue,List.Reverse,List.Select,List.Single,List.SingleOrDefault,List.Skip,List.Sort,List.StandardDeviation,List.Sum,List.Times,List.Transform,List.TransformMany,List.Union,List.Zip,Logical.From,Logical.FromText,Logical.ToText,MQ.Queue,MySQL.Database,Number.Abs,Number.Acos,Number.Asin,Number.Atan,Number.Atan2,Number.BitwiseAnd,Number.BitwiseNot,Number.BitwiseOr,Number.BitwiseShiftLeft,Number.BitwiseShiftRight,Number.BitwiseXor,Number.Combinations,Number.Cos,Number.Cosh,Number.Exp,Number.Factorial,Number.From,Number.FromText,Number.IntegerDivide,Number.IsEven,Number.IsNaN,Number.IsOdd,Number.Ln,Number.Log,Number.Log10,Number.Mod,Number.Permutations,Number.Power,Number.Random,Number.RandomBetween,Number.Round,Number.RoundAwayFromZero,Number.RoundDown,Number.RoundTowardZero,Number.RoundUp,Number.Sign,Number.Sin,Number.Sinh,Number.Sqrt,Number.Tan,Number.Tanh,Number.ToText,OData.Feed,Odbc.DataSource,Odbc.Query,OleDb.DataSource,OleDb.Query,Oracle.Database,Percentage.From,PostgreSQL.Database,RData.FromBinary,Record.AddField,Record.Combine,Record.Field,Record.FieldCount,Record.FieldNames,Record.FieldOrDefault,Record.FieldValues,Record.FromList,Record.FromTable,Record.HasFields,Record.RemoveFields,Record.RenameFields,Record.ReorderFields,Record.SelectFields,Record.ToList,Record.ToTable,Record.TransformFields,Replacer.ReplaceText,Replacer.ReplaceValue,RowExpression.Column,RowExpression.From,Salesforce.Data,Salesforce.Reports,SapBusinessWarehouse.Cubes,SapHana.Database,SharePoint.Contents,SharePoint.Files,SharePoint.Tables,Single.From,Soda.Feed,Splitter.SplitByNothing,Splitter.SplitTextByAnyDelimiter,Splitter.SplitTextByDelimiter,Splitter.SplitTextByEachDelimiter,Splitter.SplitTextByLengths,Splitter.SplitTextByPositions,Splitter.SplitTextByRanges,Splitter.SplitTextByRepeatedLengths,Splitter.SplitTextByWhitespace,Sql.Database,Sql.Databases,SqlExpression.SchemaFrom,SqlExpression.ToExpression,Sybase.Database,Table.AddColumn,Table.AddIndexColumn,Table.AddJoinColumn,Table.AddKey,Table.AggregateTableColumn,Table.AlternateRows,Table.Buffer,Table.Column,Table.ColumnCount,Table.ColumnNames,Table.ColumnsOfType,Table.Combine,Table.CombineColumns,Table.Contains,Table.ContainsAll,Table.ContainsAny,Table.DemoteHeaders,Table.Distinct,Table.DuplicateColumn,Table.ExpandListColumn,Table.ExpandRecordColumn,Table.ExpandTableColumn,Table.FillDown,Table.FillUp,Table.FilterWithDataTable,Table.FindText,Table.First,Table.FirstN,Table.FirstValue,Table.FromColumns,Table.FromList,Table.FromPartitions,Table.FromRecords,Table.FromRows,Table.FromValue,Table.Group,Table.HasColumns,Table.InsertRows,Table.IsDistinct,Table.IsEmpty,Table.Join,Table.Keys,Table.Last,Table.LastN,Table.MatchesAllRows,Table.MatchesAnyRows,Table.Max,Table.MaxN,Table.Min,Table.MinN,Table.NestedJoin,Table.Partition,Table.PartitionValues,Table.Pivot,Table.PositionOf,Table.PositionOfAny,Table.PrefixColumns,Table.Profile,Table.PromoteHeaders,Table.Range,Table.RemoveColumns,Table.RemoveFirstN,Table.RemoveLastN,Table.RemoveMatchingRows,Table.RemoveRows,Table.RemoveRowsWithErrors,Table.RenameColumns,Table.ReorderColumns,Table.Repeat,Table.ReplaceErrorValues,Table.ReplaceKeys,Table.ReplaceMatchingRows,Table.ReplaceRelationshipIdentity,Table.ReplaceRows,Table.ReplaceValue,Table.ReverseRows,Table.RowCount,Table.Schema,Table.SelectColumns,Table.SelectRows,Table.SelectRowsWithErrors,Table.SingleRow,Table.Skip,Table.Sort,Table.SplitColumn,Table.ToColumns,Table.ToList,Table.ToRecords,Table.ToRows,Table.TransformColumnNames,Table.TransformColumnTypes,Table.TransformColumns,Table.TransformRows,Table.Transpose,Table.Unpivot,Table.UnpivotOtherColumns,Table.View,Table.ViewFunction,TableAction.DeleteRows,TableAction.InsertRows,TableAction.UpdateRows,Tables.GetRelationships,Teradata.Database,Text.AfterDelimiter,Text.At,Text.BeforeDelimiter,Text.BetweenDelimiters,Text.Clean,Text.Combine,Text.Contains,Text.End,Text.EndsWith,Text.Format,Text.From,Text.FromBinary,Text.Insert,Text.Length,Text.Lower,Text.Middle,Text.NewGuid,Text.PadEnd,Text.PadStart,Text.PositionOf,Text.PositionOfAny,Text.Proper,Text.Range,Text.Remove,Text.RemoveRange,Text.Repeat,Text.Replace,Text.ReplaceRange,Text.Select,Text.Split,Text.SplitAny,Text.Start,Text.StartsWith,Text.ToBinary,Text.ToList,Text.Trim,Text.TrimEnd,Text.TrimStart,Text.Upper,Time.EndOfHour,Time.From,Time.FromText,Time.Hour,Time.Minute,Time.Second,Time.StartOfHour,Time.ToRecord,Time.ToText,Type.AddTableKey,Type.ClosedRecord,Type.Facets,Type.ForFunction,Type.ForRecord,Type.FunctionParameters,Type.FunctionRequiredParameters,Type.FunctionReturn,Type.Is,Type.IsNullable,Type.IsOpenRecord,Type.ListItem,Type.NonNullable,Type.OpenRecord,Type.RecordFields,Type.ReplaceFacets,Type.ReplaceTableKeys,Type.TableColumn,Type.TableKeys,Type.TableRow,Type.TableSchema,Type.Union,Uri.BuildQueryString,Uri.Combine,Uri.EscapeDataString,Uri.Parts,Value.Add,Value.As,Value.Compare,Value.Divide,Value.Equals,Value.Firewall,Value.FromText,Value.Is,Value.Metadata,Value.Multiply,Value.NativeQuery,Value.NullableEquals,Value.RemoveMetadata,Value.ReplaceMetadata,Value.ReplaceType,Value.Subtract,Value.Type,ValueAction.NativeStatement,ValueAction.Replace,Variable.Value,Web.Contents,Web.Page,WebAction.Request,Xml.Document,Xml.Tables".split(","),
|
|
130
|
+
builtinConstants: /* @__PURE__ */ "BinaryEncoding.Base64,BinaryEncoding.Hex,BinaryOccurrence.Optional,BinaryOccurrence.Repeating,BinaryOccurrence.Required,ByteOrder.BigEndian,ByteOrder.LittleEndian,Compression.Deflate,Compression.GZip,CsvStyle.QuoteAfterDelimiter,CsvStyle.QuoteAlways,Culture.Current,Day.Friday,Day.Monday,Day.Saturday,Day.Sunday,Day.Thursday,Day.Tuesday,Day.Wednesday,ExtraValues.Error,ExtraValues.Ignore,ExtraValues.List,GroupKind.Global,GroupKind.Local,JoinAlgorithm.Dynamic,JoinAlgorithm.LeftHash,JoinAlgorithm.LeftIndex,JoinAlgorithm.PairwiseHash,JoinAlgorithm.RightHash,JoinAlgorithm.RightIndex,JoinAlgorithm.SortMerge,JoinKind.FullOuter,JoinKind.Inner,JoinKind.LeftAnti,JoinKind.LeftOuter,JoinKind.RightAnti,JoinKind.RightOuter,JoinSide.Left,JoinSide.Right,MissingField.Error,MissingField.Ignore,MissingField.UseNull,Number.E,Number.Epsilon,Number.NaN,Number.NegativeInfinity,Number.PI,Number.PositiveInfinity,Occurrence.All,Occurrence.First,Occurrence.Last,Occurrence.Optional,Occurrence.Repeating,Occurrence.Required,Order.Ascending,Order.Descending,Precision.Decimal,Precision.Double,QuoteStyle.Csv,QuoteStyle.None,RelativePosition.FromEnd,RelativePosition.FromStart,RoundingMode.AwayFromZero,RoundingMode.Down,RoundingMode.ToEven,RoundingMode.TowardZero,RoundingMode.Up,SapHanaDistribution.All,SapHanaDistribution.Connection,SapHanaDistribution.Off,SapHanaDistribution.Statement,SapHanaRangeOperator.Equals,SapHanaRangeOperator.GreaterThan,SapHanaRangeOperator.GreaterThanOrEquals,SapHanaRangeOperator.LessThan,SapHanaRangeOperator.LessThanOrEquals,SapHanaRangeOperator.NotEquals,TextEncoding.Ascii,TextEncoding.BigEndianUnicode,TextEncoding.Unicode,TextEncoding.Utf16,TextEncoding.Utf8,TextEncoding.Windows,TraceLevel.Critical,TraceLevel.Error,TraceLevel.Information,TraceLevel.Verbose,TraceLevel.Warning,WebMethod.Delete,WebMethod.Get,WebMethod.Head,WebMethod.Patch,WebMethod.Post,WebMethod.Put".split(","),
|
|
131
|
+
builtinTypes: /* @__PURE__ */ "Action.Type,Any.Type,Binary.Type,BinaryEncoding.Type,BinaryOccurrence.Type,Byte.Type,ByteOrder.Type,Character.Type,Compression.Type,CsvStyle.Type,Currency.Type,Date.Type,DateTime.Type,DateTimeZone.Type,Day.Type,Decimal.Type,Double.Type,Duration.Type,ExtraValues.Type,Function.Type,GroupKind.Type,Guid.Type,Int16.Type,Int32.Type,Int64.Type,Int8.Type,JoinAlgorithm.Type,JoinKind.Type,JoinSide.Type,List.Type,Logical.Type,MissingField.Type,None.Type,Null.Type,Number.Type,Occurrence.Type,Order.Type,Password.Type,Percentage.Type,Precision.Type,QuoteStyle.Type,Record.Type,RelativePosition.Type,RoundingMode.Type,SapHanaDistribution.Type,SapHanaRangeOperator.Type,Single.Type,Table.Type,Text.Type,TextEncoding.Type,Time.Type,TraceLevel.Type,Type.Type,Uri.Type,WebMethod.Type".split(","),
|
|
132
|
+
tokenizer: {
|
|
133
|
+
root: [
|
|
134
|
+
[/#"[\w \.]+"/, "identifier.quote"],
|
|
135
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
136
|
+
[/0[xX][0-9a-fA-F]+/, "number.hex"],
|
|
137
|
+
[/\d+([eE][\-+]?\d+)?/, "number"],
|
|
138
|
+
[/(#?[a-z]+)\b/, { cases: {
|
|
139
|
+
"@typeKeywords": "type",
|
|
140
|
+
"@keywords": "keyword",
|
|
141
|
+
"@constants": "constant",
|
|
142
|
+
"@constructors": "constructor",
|
|
143
|
+
"@operatorKeywords": "operators",
|
|
144
|
+
"@default": "identifier"
|
|
145
|
+
} }],
|
|
146
|
+
[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/, { cases: {
|
|
147
|
+
"@builtinTypes": "type",
|
|
148
|
+
"@default": "identifier"
|
|
149
|
+
} }],
|
|
150
|
+
[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/, { cases: {
|
|
151
|
+
"@builtinFunctions": "keyword.function",
|
|
152
|
+
"@builtinConstants": "constant",
|
|
153
|
+
"@default": "identifier"
|
|
154
|
+
} }],
|
|
155
|
+
[/\b([a-zA-Z_][\w\.]*)\b/, "identifier"],
|
|
156
|
+
{ include: "@whitespace" },
|
|
157
|
+
{ include: "@comments" },
|
|
158
|
+
{ include: "@strings" },
|
|
159
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
160
|
+
[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "operators"],
|
|
161
|
+
[/[,;]/, "delimiter"]
|
|
162
|
+
],
|
|
163
|
+
whitespace: [[/\s+/, "white"]],
|
|
164
|
+
comments: [[
|
|
165
|
+
"\\/\\*",
|
|
166
|
+
"comment",
|
|
167
|
+
"@comment"
|
|
168
|
+
], ["\\/\\/+.*", "comment"]],
|
|
169
|
+
comment: [[
|
|
170
|
+
"\\*\\/",
|
|
171
|
+
"comment",
|
|
172
|
+
"@pop"
|
|
173
|
+
], [".", "comment"]],
|
|
174
|
+
strings: [[
|
|
175
|
+
"\"",
|
|
176
|
+
"string",
|
|
177
|
+
"@string"
|
|
178
|
+
]],
|
|
179
|
+
string: [
|
|
180
|
+
["\"\"", "string.escape"],
|
|
181
|
+
[
|
|
182
|
+
"\"",
|
|
183
|
+
"string",
|
|
184
|
+
"@pop"
|
|
185
|
+
],
|
|
186
|
+
[".", "string"]
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
export { conf, language };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-BjqF3vbe.cjs`);var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:`#`,blockComment:[`<#`,`#>`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*#region\\b`),end:RegExp(`^\\s*#endregion\\b`)}}},n={defaultToken:``,ignoreCase:!0,tokenPostfix:`.ps1`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`}],keywords:`begin.break.catch.class.continue.data.define.do.dynamicparam.else.elseif.end.exit.filter.finally.for.foreach.from.function.if.in.param.process.return.switch.throw.trap.try.until.using.var.while.workflow.parallel.sequence.inlinescript.configuration`.split(`.`),helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":``}}],[/[ \t\r\n]+/,``],[/^:\w*/,`metatag`],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,`variable`],[/<#/,`comment`,`@comment`],[/#.*$/,`comment`],[/[{}()\[\]]/,`@brackets`],[/@symbols/,`delimiter`],[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,`number.hex`],[/\d+?/,`number`],[/[;,.]/,`delimiter`],[/\@"/,`string`,`@herestring."`],[/\@'/,`string`,`@herestring.'`],[/"/,{cases:{"@eos":`string`,"@default":{token:`string`,next:`@string."`}}}],[/'/,{cases:{"@eos":`string`,"@default":{token:`string`,next:`@string.'`}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:`string`,next:`@popall`},"@default":`string`}}],[/@escapes/,{cases:{"@eos":{token:`string.escape`,next:`@popall`},"@default":`string.escape`}}],[/`./,{cases:{"@eos":{token:`string.escape.invalid`,next:`@popall`},"@default":`string.escape.invalid`}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:`variable`,next:`@popall`},"@default":{token:`string`,next:`@popall`}}}],[/\$[\w]+/,{cases:{'$S2=="':`variable`,"@default":`string`}}],[/["']/,{cases:{"$#==$S2":{token:`string`,next:`@pop`},"@default":{cases:{"@eos":{token:`string`,next:`@popall`},"@default":`string`}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:`string`,next:`@pop`},"@default":`string`}}],[/[^\$`]+/,`string`],[/@escapes/,`string.escape`],[/`./,`string.escape.invalid`],[/\$[\w]+/,{cases:{'$S2=="':`variable`,"@default":`string`}}]],comment:[[/[^#\.]+/,`comment`],[/#>/,`comment`,`@pop`],[/(\.)(@helpKeywords)(?!\w)/,{token:`comment.keyword.$2`}],[/[\.#]/,`comment`]]}};exports.conf=t,exports.language=n;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
var conf = {
|
|
2
|
+
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
|
|
3
|
+
comments: {
|
|
4
|
+
lineComment: "#",
|
|
5
|
+
blockComment: ["<#", "#>"]
|
|
6
|
+
},
|
|
7
|
+
brackets: [
|
|
8
|
+
["{", "}"],
|
|
9
|
+
["[", "]"],
|
|
10
|
+
["(", ")"]
|
|
11
|
+
],
|
|
12
|
+
autoClosingPairs: [
|
|
13
|
+
{
|
|
14
|
+
open: "{",
|
|
15
|
+
close: "}"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
open: "[",
|
|
19
|
+
close: "]"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
open: "(",
|
|
23
|
+
close: ")"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
open: "\"",
|
|
27
|
+
close: "\"",
|
|
28
|
+
notIn: ["string"]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
open: "'",
|
|
32
|
+
close: "'",
|
|
33
|
+
notIn: ["string", "comment"]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
surroundingPairs: [
|
|
37
|
+
{
|
|
38
|
+
open: "{",
|
|
39
|
+
close: "}"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
open: "[",
|
|
43
|
+
close: "]"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
open: "(",
|
|
47
|
+
close: ")"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
open: "\"",
|
|
51
|
+
close: "\""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
open: "'",
|
|
55
|
+
close: "'"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
folding: { markers: {
|
|
59
|
+
start: /* @__PURE__ */ RegExp("^\\s*#region\\b"),
|
|
60
|
+
end: /* @__PURE__ */ RegExp("^\\s*#endregion\\b")
|
|
61
|
+
} }
|
|
62
|
+
}, language = {
|
|
63
|
+
defaultToken: "",
|
|
64
|
+
ignoreCase: !0,
|
|
65
|
+
tokenPostfix: ".ps1",
|
|
66
|
+
brackets: [
|
|
67
|
+
{
|
|
68
|
+
token: "delimiter.curly",
|
|
69
|
+
open: "{",
|
|
70
|
+
close: "}"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
token: "delimiter.square",
|
|
74
|
+
open: "[",
|
|
75
|
+
close: "]"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
token: "delimiter.parenthesis",
|
|
79
|
+
open: "(",
|
|
80
|
+
close: ")"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
keywords: /* @__PURE__ */ "begin.break.catch.class.continue.data.define.do.dynamicparam.else.elseif.end.exit.filter.finally.for.foreach.from.function.if.in.param.process.return.switch.throw.trap.try.until.using.var.while.workflow.parallel.sequence.inlinescript.configuration".split("."),
|
|
84
|
+
helpKeywords: /SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,
|
|
85
|
+
symbols: /[=><!~?&%|+\-*\/\^;\.,]+/,
|
|
86
|
+
escapes: /`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
|
|
87
|
+
tokenizer: {
|
|
88
|
+
root: [
|
|
89
|
+
[/[a-zA-Z_][\w-]*/, { cases: {
|
|
90
|
+
"@keywords": { token: "keyword.$0" },
|
|
91
|
+
"@default": ""
|
|
92
|
+
} }],
|
|
93
|
+
[/[ \t\r\n]+/, ""],
|
|
94
|
+
[/^:\w*/, "metatag"],
|
|
95
|
+
[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/, "variable"],
|
|
96
|
+
[
|
|
97
|
+
/<#/,
|
|
98
|
+
"comment",
|
|
99
|
+
"@comment"
|
|
100
|
+
],
|
|
101
|
+
[/#.*$/, "comment"],
|
|
102
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
103
|
+
[/@symbols/, "delimiter"],
|
|
104
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
105
|
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
106
|
+
[/\d+?/, "number"],
|
|
107
|
+
[/[;,.]/, "delimiter"],
|
|
108
|
+
[
|
|
109
|
+
/\@"/,
|
|
110
|
+
"string",
|
|
111
|
+
"@herestring.\""
|
|
112
|
+
],
|
|
113
|
+
[
|
|
114
|
+
/\@'/,
|
|
115
|
+
"string",
|
|
116
|
+
"@herestring.'"
|
|
117
|
+
],
|
|
118
|
+
[/"/, { cases: {
|
|
119
|
+
"@eos": "string",
|
|
120
|
+
"@default": {
|
|
121
|
+
token: "string",
|
|
122
|
+
next: "@string.\""
|
|
123
|
+
}
|
|
124
|
+
} }],
|
|
125
|
+
[/'/, { cases: {
|
|
126
|
+
"@eos": "string",
|
|
127
|
+
"@default": {
|
|
128
|
+
token: "string",
|
|
129
|
+
next: "@string.'"
|
|
130
|
+
}
|
|
131
|
+
} }]
|
|
132
|
+
],
|
|
133
|
+
string: [
|
|
134
|
+
[/[^"'\$`]+/, { cases: {
|
|
135
|
+
"@eos": {
|
|
136
|
+
token: "string",
|
|
137
|
+
next: "@popall"
|
|
138
|
+
},
|
|
139
|
+
"@default": "string"
|
|
140
|
+
} }],
|
|
141
|
+
[/@escapes/, { cases: {
|
|
142
|
+
"@eos": {
|
|
143
|
+
token: "string.escape",
|
|
144
|
+
next: "@popall"
|
|
145
|
+
},
|
|
146
|
+
"@default": "string.escape"
|
|
147
|
+
} }],
|
|
148
|
+
[/`./, { cases: {
|
|
149
|
+
"@eos": {
|
|
150
|
+
token: "string.escape.invalid",
|
|
151
|
+
next: "@popall"
|
|
152
|
+
},
|
|
153
|
+
"@default": "string.escape.invalid"
|
|
154
|
+
} }],
|
|
155
|
+
[/\$[\w]+$/, { cases: {
|
|
156
|
+
"$S2==\"": {
|
|
157
|
+
token: "variable",
|
|
158
|
+
next: "@popall"
|
|
159
|
+
},
|
|
160
|
+
"@default": {
|
|
161
|
+
token: "string",
|
|
162
|
+
next: "@popall"
|
|
163
|
+
}
|
|
164
|
+
} }],
|
|
165
|
+
[/\$[\w]+/, { cases: {
|
|
166
|
+
"$S2==\"": "variable",
|
|
167
|
+
"@default": "string"
|
|
168
|
+
} }],
|
|
169
|
+
[/["']/, { cases: {
|
|
170
|
+
"$#==$S2": {
|
|
171
|
+
token: "string",
|
|
172
|
+
next: "@pop"
|
|
173
|
+
},
|
|
174
|
+
"@default": { cases: {
|
|
175
|
+
"@eos": {
|
|
176
|
+
token: "string",
|
|
177
|
+
next: "@popall"
|
|
178
|
+
},
|
|
179
|
+
"@default": "string"
|
|
180
|
+
} }
|
|
181
|
+
} }]
|
|
182
|
+
],
|
|
183
|
+
herestring: [
|
|
184
|
+
[/^\s*(["'])@/, { cases: {
|
|
185
|
+
"$1==$S2": {
|
|
186
|
+
token: "string",
|
|
187
|
+
next: "@pop"
|
|
188
|
+
},
|
|
189
|
+
"@default": "string"
|
|
190
|
+
} }],
|
|
191
|
+
[/[^\$`]+/, "string"],
|
|
192
|
+
[/@escapes/, "string.escape"],
|
|
193
|
+
[/`./, "string.escape.invalid"],
|
|
194
|
+
[/\$[\w]+/, { cases: {
|
|
195
|
+
"$S2==\"": "variable",
|
|
196
|
+
"@default": "string"
|
|
197
|
+
} }]
|
|
198
|
+
],
|
|
199
|
+
comment: [
|
|
200
|
+
[/[^#\.]+/, "comment"],
|
|
201
|
+
[
|
|
202
|
+
/#>/,
|
|
203
|
+
"comment",
|
|
204
|
+
"@pop"
|
|
205
|
+
],
|
|
206
|
+
[/(\.)(@helpKeywords)(?!\w)/, { token: "comment.keyword.$2" }],
|
|
207
|
+
[/[\.#]/, "comment"]
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
export { conf, language };
|