@fallen-8/studio 0.0.32
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 +21 -0
- package/README.md +93 -0
- package/dist-lib/Canvas3D-C5og4ZIQ.js +62011 -0
- package/dist-lib/F8GraphCanvas-Db7vzDtJ.js +11085 -0
- package/dist-lib/abap-Bs8kvjsq.js +1398 -0
- package/dist-lib/apex-Dspwrl5m.js +326 -0
- package/dist-lib/azcli-k1BiOau1.js +68 -0
- package/dist-lib/bat-BIP72KWc.js +100 -0
- package/dist-lib/bicep-VhQeYhS3.js +102 -0
- package/dist-lib/cameligo-DnuAXtHg.js +174 -0
- package/dist-lib/canvas.js +13 -0
- package/dist-lib/clojure-BAuDPsal.js +761 -0
- package/dist-lib/coffee-BV06qSnj.js +232 -0
- package/dist-lib/cpp-Cz8Jeyrf.js +389 -0
- package/dist-lib/csharp-F6hhlXFb.js +326 -0
- package/dist-lib/csp-KzlEHCyI.js +53 -0
- package/dist-lib/css-e4FKntZ3.js +187 -0
- package/dist-lib/cssMode-Czf2vRA3.js +1571 -0
- package/dist-lib/cypher-CpvDGKRr.js +263 -0
- package/dist-lib/dart-DdHeFWR0.js +281 -0
- package/dist-lib/dockerfile-aoNXDcio.js +130 -0
- package/dist-lib/ecl-C4Q0DYuA.js +456 -0
- package/dist-lib/elixir-C9X42b0T.js +569 -0
- package/dist-lib/f8-studio.css +1 -0
- package/dist-lib/f8-studio.js +16 -0
- package/dist-lib/flow9-Bff42pfB.js +142 -0
- package/dist-lib/freemarker2-BtInkOsd.js +989 -0
- package/dist-lib/fsharp-C6vPAsHG.js +217 -0
- package/dist-lib/go-DEr8zx9f.js +218 -0
- package/dist-lib/graphql-BiNBBRFh.js +151 -0
- package/dist-lib/handlebars-UwZ7mBGA.js +419 -0
- package/dist-lib/hcl-2T9lKuFg.js +183 -0
- package/dist-lib/html-BXX93YIe.js +308 -0
- package/dist-lib/htmlMode-BCqQu1PO.js +1581 -0
- package/dist-lib/index-DFm6T7Un.js +132450 -0
- package/dist-lib/ini-CZGtssYM.js +71 -0
- package/dist-lib/java-B260NeH3.js +232 -0
- package/dist-lib/javascript-CK1z7Ynl.js +70 -0
- package/dist-lib/jsonMode-C4Q3fVvV.js +1996 -0
- package/dist-lib/julia-kuNLM9c5.js +511 -0
- package/dist-lib/kotlin-Bz6kAefA.js +253 -0
- package/dist-lib/less-AZUtS89I.js +162 -0
- package/dist-lib/lexon-BcmgnyRb.js +157 -0
- package/dist-lib/liquid-BnCUERBj.js +240 -0
- package/dist-lib/lua-Dz1RbATg.js +162 -0
- package/dist-lib/m3-CIMooLFn.js +210 -0
- package/dist-lib/markdown-C1BsCK9P.js +229 -0
- package/dist-lib/mdx-D2enmFMs.js +165 -0
- package/dist-lib/mips-BovsnfLQ.js +198 -0
- package/dist-lib/msdax-CiRB2ZB-.js +375 -0
- package/dist-lib/mysql-BwdpPE19.js +878 -0
- package/dist-lib/objective-c-D4nfHfso.js +183 -0
- package/dist-lib/pascal--j5-PYtz.js +251 -0
- package/dist-lib/pascaligo-C7TcJxNL.js +164 -0
- package/dist-lib/perl-BzEWqUb5.js +626 -0
- package/dist-lib/pgsql-B_KZ0mGX.js +851 -0
- package/dist-lib/php-A19QHzQV.js +500 -0
- package/dist-lib/pla-COeKY1hA.js +137 -0
- package/dist-lib/postiats-BfMp7zJL.js +907 -0
- package/dist-lib/powerquery-B0TS_5Gb.js +890 -0
- package/dist-lib/powershell-5jSbKdYB.js +239 -0
- package/dist-lib/protobuf-YgnOutn3.js +420 -0
- package/dist-lib/pug-DLej6kn5.js +402 -0
- package/dist-lib/python-DJvSF53q.js +301 -0
- package/dist-lib/qsharp-AhjqtSHB.js +301 -0
- package/dist-lib/r-D-F4P80w.js +243 -0
- package/dist-lib/razor-RerkagjP.js +550 -0
- package/dist-lib/redis-hwwIlMnV.js +302 -0
- package/dist-lib/redshift-Bcm_kjEG.js +809 -0
- package/dist-lib/restructuredtext-CrdzfPP-.js +174 -0
- package/dist-lib/ruby-QC2UNm1s.js +511 -0
- package/dist-lib/rust-5aqiQ3L5.js +343 -0
- package/dist-lib/sb-B1g1ZfLJ.js +115 -0
- package/dist-lib/scala-C2U4R5Gb.js +370 -0
- package/dist-lib/scheme-DeFRbslr.js +108 -0
- package/dist-lib/scss-RSTCiCmI.js +262 -0
- package/dist-lib/shell-BpF-iNu8.js +221 -0
- package/dist-lib/solidity-C00r2mbQ.js +1367 -0
- package/dist-lib/sophia-DVW5ZKDB.js +199 -0
- package/dist-lib/sparql-B0nmpxeX.js +201 -0
- package/dist-lib/sql-CJwKPERn.js +853 -0
- package/dist-lib/st-DPlKG5DT.js +416 -0
- package/dist-lib/swift-YZBAbVHV.js +309 -0
- package/dist-lib/systemverilog-CDQSaH63.js +576 -0
- package/dist-lib/tcl-Dlu8sp6Q.js +232 -0
- package/dist-lib/tsMode-C-6d-f_-.js +886 -0
- package/dist-lib/twig-C5TO7-kw.js +392 -0
- package/dist-lib/types/api/changefeed.d.ts +113 -0
- package/dist-lib/types/api/client.d.ts +81 -0
- package/dist-lib/types/api/endpoints.d.ts +197 -0
- package/dist-lib/types/api/queries.d.ts +8 -0
- package/dist-lib/types/api/types.d.ts +1032 -0
- package/dist-lib/types/app/AppShell.d.ts +10 -0
- package/dist-lib/types/app/NamespaceScope.d.ts +11 -0
- package/dist-lib/types/app/applyStudioConfig.d.ts +18 -0
- package/dist-lib/types/app/mount.d.ts +19 -0
- package/dist-lib/types/app/nav.d.ts +91 -0
- package/dist-lib/types/app/routes.d.ts +9 -0
- package/dist-lib/types/app/studioConfig.d.ts +106 -0
- package/dist-lib/types/canvas/Canvas2D.d.ts +18 -0
- package/dist-lib/types/canvas/Canvas3D.d.ts +14 -0
- package/dist-lib/types/canvas/ConnectPanel.d.ts +10 -0
- package/dist-lib/types/canvas/FindPanel.d.ts +14 -0
- package/dist-lib/types/canvas/GraphCanvas.d.ts +66 -0
- package/dist-lib/types/canvas/StylePanel.d.ts +7 -0
- package/dist-lib/types/canvas/eclipse.d.ts +136 -0
- package/dist-lib/types/canvas/imageAssets.d.ts +3 -0
- package/dist-lib/types/canvas/styleConfig.d.ts +48 -0
- package/dist-lib/types/canvas/styleEngine.d.ts +125 -0
- package/dist-lib/types/canvas/styling.d.ts +15 -0
- package/dist-lib/types/components/AdjacencyPanel.d.ts +11 -0
- package/dist-lib/types/components/AnalyticsRunner.d.ts +1 -0
- package/dist-lib/types/components/ConfigurationPanel.d.ts +1 -0
- package/dist-lib/types/components/ConfirmDialog.d.ts +18 -0
- package/dist-lib/types/components/DurabilityNotice.d.ts +18 -0
- package/dist-lib/types/components/ElementDetail.d.ts +11 -0
- package/dist-lib/types/components/ElementTable.d.ts +19 -0
- package/dist-lib/types/components/EmbeddingsTab.d.ts +15 -0
- package/dist-lib/types/components/ErrorBox.d.ts +8 -0
- package/dist-lib/types/components/EventFeedBell.d.ts +16 -0
- package/dist-lib/types/components/EventFeedPanel.d.ts +10 -0
- package/dist-lib/types/components/Field.d.ts +14 -0
- package/dist-lib/types/components/GraphShapePanel.d.ts +1 -0
- package/dist-lib/types/components/InspectLink.d.ts +5 -0
- package/dist-lib/types/components/ListCapNote.d.ts +10 -0
- package/dist-lib/types/components/MutationsPanel.d.ts +1 -0
- package/dist-lib/types/components/NamespaceSwitcher.d.ts +22 -0
- package/dist-lib/types/components/NamespacesPanel.d.ts +11 -0
- package/dist-lib/types/components/NeighborhoodPreview.d.ts +10 -0
- package/dist-lib/types/components/PluginsPanel.d.ts +9 -0
- package/dist-lib/types/components/PropertiesTab.d.ts +4 -0
- package/dist-lib/types/components/PropertyListEditor.d.ts +26 -0
- package/dist-lib/types/components/SampleGraphsPanel.d.ts +3 -0
- package/dist-lib/types/components/SectionHelp.d.ts +11 -0
- package/dist-lib/types/components/SemanticBlockEditor.d.ts +29 -0
- package/dist-lib/types/components/SemanticQueryEditor.d.ts +15 -0
- package/dist-lib/types/components/SettingRow.d.ts +15 -0
- package/dist-lib/types/components/Stat.d.ts +10 -0
- package/dist-lib/types/components/StoredQueriesPanel.d.ts +14 -0
- package/dist-lib/types/components/StoredQueryControls.d.ts +29 -0
- package/dist-lib/types/components/Truncated.d.ts +17 -0
- package/dist-lib/types/components/TruncationBadge.d.ts +6 -0
- package/dist-lib/types/components/TypedLiteralEditor.d.ts +13 -0
- package/dist-lib/types/components/VertexFilterSlot.d.ts +25 -0
- package/dist-lib/types/delegate/DelegateEditor.d.ts +10 -0
- package/dist-lib/types/delegate/DelegateSlot.d.ts +18 -0
- package/dist-lib/types/delegate/editorOptions.d.ts +25 -0
- package/dist-lib/types/delegate/kinds.d.ts +19 -0
- package/dist-lib/types/delegate/markers.d.ts +21 -0
- package/dist-lib/types/delegate/monacoSetup.d.ts +3 -0
- package/dist-lib/types/delegate/nl/NlAssistPanel.d.ts +10 -0
- package/dist-lib/types/delegate/nl/NlBackendConfig.d.ts +12 -0
- package/dist-lib/types/delegate/nl/NlDraftList.d.ts +42 -0
- package/dist-lib/types/delegate/nl/config.d.ts +105 -0
- package/dist-lib/types/delegate/nl/feedback.d.ts +30 -0
- package/dist-lib/types/delegate/nl/format.d.ts +6 -0
- package/dist-lib/types/delegate/nl/generate.d.ts +57 -0
- package/dist-lib/types/delegate/nl/prompt.d.ts +21 -0
- package/dist-lib/types/delegate/nl/useNlRun.d.ts +24 -0
- package/dist-lib/types/delegate/providers.d.ts +26 -0
- package/dist-lib/types/delegate/snippets.d.ts +25 -0
- package/dist-lib/types/embed/F8GraphCanvas.d.ts +37 -0
- package/dist-lib/types/embed/canvas.d.ts +23 -0
- package/dist-lib/types/embed/index.d.ts +14 -0
- package/dist-lib/types/firstrun/FirstRunOverlay.d.ts +10 -0
- package/dist-lib/types/firstrun/FirstRunShow.d.ts +22 -0
- package/dist-lib/types/firstrun/beats.d.ts +23 -0
- package/dist-lib/types/firstrun/firstRunStore.d.ts +38 -0
- package/dist-lib/types/firstrun/mockGraph.d.ts +56 -0
- package/dist-lib/types/firstrun/useBeatTimeline.d.ts +35 -0
- package/dist-lib/types/firstrun/useReducedMotion.d.ts +7 -0
- package/dist-lib/types/instances/registry.d.ts +83 -0
- package/dist-lib/types/instances/types.d.ts +49 -0
- package/dist-lib/types/lib/canvasCap.d.ts +7 -0
- package/dist-lib/types/lib/connectPaths.d.ts +55 -0
- package/dist-lib/types/lib/embeddingProperties.d.ts +6 -0
- package/dist-lib/types/lib/fieldHelp.d.ts +139 -0
- package/dist-lib/types/lib/format.d.ts +16 -0
- package/dist-lib/types/lib/hydrate.d.ts +37 -0
- package/dist-lib/types/lib/indexCapabilities.d.ts +17 -0
- package/dist-lib/types/lib/jsonlGraph.d.ts +42 -0
- package/dist-lib/types/lib/listCaps.d.ts +48 -0
- package/dist-lib/types/lib/literals.d.ts +36 -0
- package/dist-lib/types/lib/namespaceName.d.ts +10 -0
- package/dist-lib/types/lib/neighborhood.d.ts +37 -0
- package/dist-lib/types/lib/patternValidation.d.ts +12 -0
- package/dist-lib/types/lib/restartCopy.d.ts +11 -0
- package/dist-lib/types/lib/sampleLoader.d.ts +95 -0
- package/dist-lib/types/lib/samples.d.ts +87 -0
- package/dist-lib/types/lib/sbomGraph.d.ts +58 -0
- package/dist-lib/types/lib/sectionHelp.d.ts +39 -0
- package/dist-lib/types/lib/semantic.d.ts +95 -0
- package/dist-lib/types/lib/storedQueries.d.ts +43 -0
- package/dist-lib/types/lib/truncate.d.ts +34 -0
- package/dist-lib/types/lib/truncation.d.ts +7 -0
- package/dist-lib/types/lib/vector.d.ts +13 -0
- package/dist-lib/types/main.d.ts +1 -0
- package/dist-lib/types/plugin/PluginEditor.d.ts +20 -0
- package/dist-lib/types/plugin/nl/PluginNlAssistPanel.d.ts +13 -0
- package/dist-lib/types/plugin/nl/pluginPrompt.d.ts +48 -0
- package/dist-lib/types/plugin/scaffolds.d.ts +26 -0
- package/dist-lib/types/screens/AnalyticsScreen.d.ts +8 -0
- package/dist-lib/types/screens/BenchmarkScreen.d.ts +1 -0
- package/dist-lib/types/screens/BrowserScreen.d.ts +6 -0
- package/dist-lib/types/screens/CanvasScreen.d.ts +10 -0
- package/dist-lib/types/screens/ConnectScreen.d.ts +1 -0
- package/dist-lib/types/screens/DashboardScreen.d.ts +13 -0
- package/dist-lib/types/screens/IndexesScreen.d.ts +8 -0
- package/dist-lib/types/screens/IntegrationsScreen.d.ts +14 -0
- package/dist-lib/types/screens/KnowledgeScreen.d.ts +1 -0
- package/dist-lib/types/screens/PathScreen.d.ts +9 -0
- package/dist-lib/types/screens/PluginsScreen.d.ts +1 -0
- package/dist-lib/types/screens/QueryScreen.d.ts +1 -0
- package/dist-lib/types/screens/SamplesScreen.d.ts +7 -0
- package/dist-lib/types/screens/SaveGamesScreen.d.ts +7 -0
- package/dist-lib/types/screens/SubgraphScreen.d.ts +1 -0
- package/dist-lib/types/state/eventFeed.d.ts +63 -0
- package/dist-lib/types/state/feedFilter.d.ts +42 -0
- package/dist-lib/types/state/graphShape.d.ts +37 -0
- package/dist-lib/types/state/instanceStore.d.ts +280 -0
- package/dist-lib/types/state/integrations.d.ts +25 -0
- package/dist-lib/types/state/liveFeed.d.ts +37 -0
- package/dist-lib/types/state/scopeKey.d.ts +8 -0
- package/dist-lib/types/state/status.d.ts +21 -0
- package/dist-lib/typescript-aCo3H3H0.js +343 -0
- package/dist-lib/typespec-BsmjDEu7.js +117 -0
- package/dist-lib/vb-ChHvIDrk.js +372 -0
- package/dist-lib/wgsl-XEp1ju8c.js +439 -0
- package/dist-lib/xml-CSt-F-dl.js +95 -0
- package/dist-lib/yaml-kSsc3ru_.js +206 -0
- package/package.json +98 -0
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
var g = {
|
|
2
|
+
comments: {
|
|
3
|
+
lineComment: "//",
|
|
4
|
+
blockComment: ["/*", "*/"]
|
|
5
|
+
},
|
|
6
|
+
brackets: [
|
|
7
|
+
["{", "}"],
|
|
8
|
+
["[", "]"],
|
|
9
|
+
["(", ")"]
|
|
10
|
+
],
|
|
11
|
+
autoClosingPairs: [
|
|
12
|
+
{ open: "[", close: "]" },
|
|
13
|
+
{ open: "{", close: "}" },
|
|
14
|
+
{ open: "(", close: ")" }
|
|
15
|
+
],
|
|
16
|
+
surroundingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" }
|
|
20
|
+
]
|
|
21
|
+
};
|
|
22
|
+
function e(i) {
|
|
23
|
+
let o = [];
|
|
24
|
+
const a = i.split(/\t+|\r+|\n+| +/);
|
|
25
|
+
for (let r = 0; r < a.length; ++r)
|
|
26
|
+
a[r].length > 0 && o.push(a[r]);
|
|
27
|
+
return o;
|
|
28
|
+
}
|
|
29
|
+
var s = e("true false"), c = e(`
|
|
30
|
+
alias
|
|
31
|
+
break
|
|
32
|
+
case
|
|
33
|
+
const
|
|
34
|
+
const_assert
|
|
35
|
+
continue
|
|
36
|
+
continuing
|
|
37
|
+
default
|
|
38
|
+
diagnostic
|
|
39
|
+
discard
|
|
40
|
+
else
|
|
41
|
+
enable
|
|
42
|
+
fn
|
|
43
|
+
for
|
|
44
|
+
if
|
|
45
|
+
let
|
|
46
|
+
loop
|
|
47
|
+
override
|
|
48
|
+
requires
|
|
49
|
+
return
|
|
50
|
+
struct
|
|
51
|
+
switch
|
|
52
|
+
var
|
|
53
|
+
while
|
|
54
|
+
`), m = e(`
|
|
55
|
+
NULL
|
|
56
|
+
Self
|
|
57
|
+
abstract
|
|
58
|
+
active
|
|
59
|
+
alignas
|
|
60
|
+
alignof
|
|
61
|
+
as
|
|
62
|
+
asm
|
|
63
|
+
asm_fragment
|
|
64
|
+
async
|
|
65
|
+
attribute
|
|
66
|
+
auto
|
|
67
|
+
await
|
|
68
|
+
become
|
|
69
|
+
binding_array
|
|
70
|
+
cast
|
|
71
|
+
catch
|
|
72
|
+
class
|
|
73
|
+
co_await
|
|
74
|
+
co_return
|
|
75
|
+
co_yield
|
|
76
|
+
coherent
|
|
77
|
+
column_major
|
|
78
|
+
common
|
|
79
|
+
compile
|
|
80
|
+
compile_fragment
|
|
81
|
+
concept
|
|
82
|
+
const_cast
|
|
83
|
+
consteval
|
|
84
|
+
constexpr
|
|
85
|
+
constinit
|
|
86
|
+
crate
|
|
87
|
+
debugger
|
|
88
|
+
decltype
|
|
89
|
+
delete
|
|
90
|
+
demote
|
|
91
|
+
demote_to_helper
|
|
92
|
+
do
|
|
93
|
+
dynamic_cast
|
|
94
|
+
enum
|
|
95
|
+
explicit
|
|
96
|
+
export
|
|
97
|
+
extends
|
|
98
|
+
extern
|
|
99
|
+
external
|
|
100
|
+
fallthrough
|
|
101
|
+
filter
|
|
102
|
+
final
|
|
103
|
+
finally
|
|
104
|
+
friend
|
|
105
|
+
from
|
|
106
|
+
fxgroup
|
|
107
|
+
get
|
|
108
|
+
goto
|
|
109
|
+
groupshared
|
|
110
|
+
highp
|
|
111
|
+
impl
|
|
112
|
+
implements
|
|
113
|
+
import
|
|
114
|
+
inline
|
|
115
|
+
instanceof
|
|
116
|
+
interface
|
|
117
|
+
layout
|
|
118
|
+
lowp
|
|
119
|
+
macro
|
|
120
|
+
macro_rules
|
|
121
|
+
match
|
|
122
|
+
mediump
|
|
123
|
+
meta
|
|
124
|
+
mod
|
|
125
|
+
module
|
|
126
|
+
move
|
|
127
|
+
mut
|
|
128
|
+
mutable
|
|
129
|
+
namespace
|
|
130
|
+
new
|
|
131
|
+
nil
|
|
132
|
+
noexcept
|
|
133
|
+
noinline
|
|
134
|
+
nointerpolation
|
|
135
|
+
noperspective
|
|
136
|
+
null
|
|
137
|
+
nullptr
|
|
138
|
+
of
|
|
139
|
+
operator
|
|
140
|
+
package
|
|
141
|
+
packoffset
|
|
142
|
+
partition
|
|
143
|
+
pass
|
|
144
|
+
patch
|
|
145
|
+
pixelfragment
|
|
146
|
+
precise
|
|
147
|
+
precision
|
|
148
|
+
premerge
|
|
149
|
+
priv
|
|
150
|
+
protected
|
|
151
|
+
pub
|
|
152
|
+
public
|
|
153
|
+
readonly
|
|
154
|
+
ref
|
|
155
|
+
regardless
|
|
156
|
+
register
|
|
157
|
+
reinterpret_cast
|
|
158
|
+
require
|
|
159
|
+
resource
|
|
160
|
+
restrict
|
|
161
|
+
self
|
|
162
|
+
set
|
|
163
|
+
shared
|
|
164
|
+
sizeof
|
|
165
|
+
smooth
|
|
166
|
+
snorm
|
|
167
|
+
static
|
|
168
|
+
static_assert
|
|
169
|
+
static_cast
|
|
170
|
+
std
|
|
171
|
+
subroutine
|
|
172
|
+
super
|
|
173
|
+
target
|
|
174
|
+
template
|
|
175
|
+
this
|
|
176
|
+
thread_local
|
|
177
|
+
throw
|
|
178
|
+
trait
|
|
179
|
+
try
|
|
180
|
+
type
|
|
181
|
+
typedef
|
|
182
|
+
typeid
|
|
183
|
+
typename
|
|
184
|
+
typeof
|
|
185
|
+
union
|
|
186
|
+
unless
|
|
187
|
+
unorm
|
|
188
|
+
unsafe
|
|
189
|
+
unsized
|
|
190
|
+
use
|
|
191
|
+
using
|
|
192
|
+
varying
|
|
193
|
+
virtual
|
|
194
|
+
volatile
|
|
195
|
+
wgsl
|
|
196
|
+
where
|
|
197
|
+
with
|
|
198
|
+
writeonly
|
|
199
|
+
yield
|
|
200
|
+
`), l = e(`
|
|
201
|
+
read write read_write
|
|
202
|
+
function private workgroup uniform storage
|
|
203
|
+
perspective linear flat
|
|
204
|
+
center centroid sample
|
|
205
|
+
vertex_index instance_index position front_facing frag_depth
|
|
206
|
+
local_invocation_id local_invocation_index
|
|
207
|
+
global_invocation_id workgroup_id num_workgroups
|
|
208
|
+
sample_index sample_mask
|
|
209
|
+
rgba8unorm
|
|
210
|
+
rgba8snorm
|
|
211
|
+
rgba8uint
|
|
212
|
+
rgba8sint
|
|
213
|
+
rgba16uint
|
|
214
|
+
rgba16sint
|
|
215
|
+
rgba16float
|
|
216
|
+
r32uint
|
|
217
|
+
r32sint
|
|
218
|
+
r32float
|
|
219
|
+
rg32uint
|
|
220
|
+
rg32sint
|
|
221
|
+
rg32float
|
|
222
|
+
rgba32uint
|
|
223
|
+
rgba32sint
|
|
224
|
+
rgba32float
|
|
225
|
+
bgra8unorm
|
|
226
|
+
`), u = e(`
|
|
227
|
+
bool
|
|
228
|
+
f16
|
|
229
|
+
f32
|
|
230
|
+
i32
|
|
231
|
+
sampler sampler_comparison
|
|
232
|
+
texture_depth_2d
|
|
233
|
+
texture_depth_2d_array
|
|
234
|
+
texture_depth_cube
|
|
235
|
+
texture_depth_cube_array
|
|
236
|
+
texture_depth_multisampled_2d
|
|
237
|
+
texture_external
|
|
238
|
+
texture_external
|
|
239
|
+
u32
|
|
240
|
+
`), p = e(`
|
|
241
|
+
array
|
|
242
|
+
atomic
|
|
243
|
+
mat2x2
|
|
244
|
+
mat2x3
|
|
245
|
+
mat2x4
|
|
246
|
+
mat3x2
|
|
247
|
+
mat3x3
|
|
248
|
+
mat3x4
|
|
249
|
+
mat4x2
|
|
250
|
+
mat4x3
|
|
251
|
+
mat4x4
|
|
252
|
+
ptr
|
|
253
|
+
texture_1d
|
|
254
|
+
texture_2d
|
|
255
|
+
texture_2d_array
|
|
256
|
+
texture_3d
|
|
257
|
+
texture_cube
|
|
258
|
+
texture_cube_array
|
|
259
|
+
texture_multisampled_2d
|
|
260
|
+
texture_storage_1d
|
|
261
|
+
texture_storage_2d
|
|
262
|
+
texture_storage_2d_array
|
|
263
|
+
texture_storage_3d
|
|
264
|
+
vec2
|
|
265
|
+
vec3
|
|
266
|
+
vec4
|
|
267
|
+
`), d = e(`
|
|
268
|
+
vec2i vec3i vec4i
|
|
269
|
+
vec2u vec3u vec4u
|
|
270
|
+
vec2f vec3f vec4f
|
|
271
|
+
vec2h vec3h vec4h
|
|
272
|
+
mat2x2f mat2x3f mat2x4f
|
|
273
|
+
mat3x2f mat3x3f mat3x4f
|
|
274
|
+
mat4x2f mat4x3f mat4x4f
|
|
275
|
+
mat2x2h mat2x3h mat2x4h
|
|
276
|
+
mat3x2h mat3x3h mat3x4h
|
|
277
|
+
mat4x2h mat4x3h mat4x4h
|
|
278
|
+
`), x = e(`
|
|
279
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
280
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
281
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
282
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
283
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
284
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
285
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
286
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
287
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
288
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
289
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
290
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
291
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
292
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
293
|
+
workgroupUniformLoad
|
|
294
|
+
`), f = e(`
|
|
295
|
+
&
|
|
296
|
+
&&
|
|
297
|
+
->
|
|
298
|
+
/
|
|
299
|
+
=
|
|
300
|
+
==
|
|
301
|
+
!=
|
|
302
|
+
>
|
|
303
|
+
>=
|
|
304
|
+
<
|
|
305
|
+
<=
|
|
306
|
+
%
|
|
307
|
+
-
|
|
308
|
+
--
|
|
309
|
+
+
|
|
310
|
+
++
|
|
311
|
+
|
|
|
312
|
+
||
|
|
313
|
+
*
|
|
314
|
+
<<
|
|
315
|
+
>>
|
|
316
|
+
+=
|
|
317
|
+
-=
|
|
318
|
+
*=
|
|
319
|
+
/=
|
|
320
|
+
%=
|
|
321
|
+
&=
|
|
322
|
+
|=
|
|
323
|
+
^=
|
|
324
|
+
>>=
|
|
325
|
+
<<=
|
|
326
|
+
`), _ = /enable|requires|diagnostic/, n = new RegExp("[_\\p{XID_Start}]\\p{XID_Continue}*", "u"), t = "variable.predefined", h = {
|
|
327
|
+
tokenPostfix: ".wgsl",
|
|
328
|
+
defaultToken: "invalid",
|
|
329
|
+
unicode: !0,
|
|
330
|
+
atoms: s,
|
|
331
|
+
keywords: c,
|
|
332
|
+
reserved: m,
|
|
333
|
+
predeclared_enums: l,
|
|
334
|
+
predeclared_types: u,
|
|
335
|
+
predeclared_type_generators: p,
|
|
336
|
+
predeclared_type_aliases: d,
|
|
337
|
+
predeclared_intrinsics: x,
|
|
338
|
+
operators: f,
|
|
339
|
+
symbols: /[!%&*+\-\.\/:;<=>^|_~,]+/,
|
|
340
|
+
tokenizer: {
|
|
341
|
+
root: [
|
|
342
|
+
[_, "keyword", "@directive"],
|
|
343
|
+
[
|
|
344
|
+
// Identifier-like things, but also include '_'
|
|
345
|
+
n,
|
|
346
|
+
{
|
|
347
|
+
cases: {
|
|
348
|
+
"@atoms": t,
|
|
349
|
+
"@keywords": "keyword",
|
|
350
|
+
"@reserved": "invalid",
|
|
351
|
+
"@predeclared_enums": t,
|
|
352
|
+
"@predeclared_types": t,
|
|
353
|
+
"@predeclared_type_generators": t,
|
|
354
|
+
"@predeclared_type_aliases": t,
|
|
355
|
+
"@predeclared_intrinsics": t,
|
|
356
|
+
"@default": "identifier"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
{ include: "@commentOrSpace" },
|
|
361
|
+
{ include: "@numbers" },
|
|
362
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
363
|
+
["@", "annotation", "@attribute"],
|
|
364
|
+
[
|
|
365
|
+
/@symbols/,
|
|
366
|
+
{
|
|
367
|
+
cases: {
|
|
368
|
+
"@operators": "operator",
|
|
369
|
+
"@default": "delimiter"
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
[/./, "invalid"]
|
|
374
|
+
],
|
|
375
|
+
commentOrSpace: [
|
|
376
|
+
[/\s+/, "white"],
|
|
377
|
+
[/\/\*/, "comment", "@blockComment"],
|
|
378
|
+
[/\/\/.*$/, "comment"]
|
|
379
|
+
],
|
|
380
|
+
blockComment: [
|
|
381
|
+
// Soak up uninteresting text: anything except * or /
|
|
382
|
+
[/[^\/*]+/, "comment"],
|
|
383
|
+
// Recognize the start of a nested block comment.
|
|
384
|
+
[/\/\*/, "comment", "@push"],
|
|
385
|
+
// Recognize the end of a nested block comment.
|
|
386
|
+
[/\*\//, "comment", "@pop"],
|
|
387
|
+
// Recognize insignificant * and /
|
|
388
|
+
[/[\/*]/, "comment"]
|
|
389
|
+
],
|
|
390
|
+
attribute: [
|
|
391
|
+
// For things like '@fragment' both '@' and 'fragment'
|
|
392
|
+
// are marked as annotations. This should work even if
|
|
393
|
+
// there are spaces or comments between the two tokens.
|
|
394
|
+
{ include: "@commentOrSpace" },
|
|
395
|
+
[/\w+/, "annotation", "@pop"]
|
|
396
|
+
],
|
|
397
|
+
directive: [
|
|
398
|
+
// For things like 'enable f16;', 'enable' maps to 'meta'
|
|
399
|
+
// and 'f16' maps to 'meta.tag'.
|
|
400
|
+
{ include: "@commentOrSpace" },
|
|
401
|
+
[/[()]/, "@brackets"],
|
|
402
|
+
[/,/, "delimiter"],
|
|
403
|
+
[n, "meta.content"],
|
|
404
|
+
[/;/, "delimiter", "@pop"]
|
|
405
|
+
],
|
|
406
|
+
numbers: [
|
|
407
|
+
// Decimal float literals
|
|
408
|
+
// https://www.w3.org/TR/WGSL/#syntax-decimal_float_literal
|
|
409
|
+
// 0, with type-specifying suffix.
|
|
410
|
+
[/0[fh]/, "number.float"],
|
|
411
|
+
// Other decimal integer, with type-specifying suffix.
|
|
412
|
+
[/[1-9][0-9]*[fh]/, "number.float"],
|
|
413
|
+
// Has decimal point, at least one digit after decimal.
|
|
414
|
+
[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
|
|
415
|
+
// Has decimal point, at least one digit before decimal.
|
|
416
|
+
[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/, "number.float"],
|
|
417
|
+
// Has at least one digit, and has an exponent.
|
|
418
|
+
[/[0-9]+[eE][+-]?[0-9]+[fh]?/, "number.float"],
|
|
419
|
+
// Hex float literals
|
|
420
|
+
// https://www.w3.org/TR/WGSL/#syntax-hex_float_literal
|
|
421
|
+
[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
|
|
422
|
+
[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/, "number.hex"],
|
|
423
|
+
[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/, "number.hex"],
|
|
424
|
+
// Hexadecimal integer literals
|
|
425
|
+
// https://www.w3.org/TR/WGSL/#syntax-hex_int_literal
|
|
426
|
+
[/0[xX][0-9a-fA-F]+[iu]?/, "number.hex"],
|
|
427
|
+
// Decimal integer literals
|
|
428
|
+
// https://www.w3.org/TR/WGSL/#syntax-decimal_int_literal
|
|
429
|
+
// We need two rules here because 01 is not valid.
|
|
430
|
+
[/[1-9][0-9]*[iu]?/, "number"],
|
|
431
|
+
[/0[iu]?/, "number"]
|
|
432
|
+
// Must match last
|
|
433
|
+
]
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
export {
|
|
437
|
+
g as conf,
|
|
438
|
+
h as language
|
|
439
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { m as r } from "./index-DFm6T7Un.js";
|
|
2
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, i) => {
|
|
3
|
+
if (e && typeof e == "object" || typeof e == "function")
|
|
4
|
+
for (let n of l(e))
|
|
5
|
+
!d.call(t, n) && n !== o && m(t, n, { get: () => e[n], enumerable: !(i = c(e, n)) || i.enumerable });
|
|
6
|
+
return t;
|
|
7
|
+
}, s = (t, e, o) => (p(t, e, "default"), o), a = {};
|
|
8
|
+
s(a, r);
|
|
9
|
+
var g = {
|
|
10
|
+
comments: {
|
|
11
|
+
blockComment: ["<!--", "-->"]
|
|
12
|
+
},
|
|
13
|
+
brackets: [["<", ">"]],
|
|
14
|
+
autoClosingPairs: [
|
|
15
|
+
{ open: "<", close: ">" },
|
|
16
|
+
{ open: "'", close: "'" },
|
|
17
|
+
{ open: '"', close: '"' }
|
|
18
|
+
],
|
|
19
|
+
surroundingPairs: [
|
|
20
|
+
{ open: "<", close: ">" },
|
|
21
|
+
{ open: "'", close: "'" },
|
|
22
|
+
{ open: '"', close: '"' }
|
|
23
|
+
],
|
|
24
|
+
onEnterRules: [
|
|
25
|
+
{
|
|
26
|
+
beforeText: new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
27
|
+
afterText: /^<\/([_:\w][_:\w-.\d]*)\s*>$/i,
|
|
28
|
+
action: {
|
|
29
|
+
indentAction: a.languages.IndentAction.IndentOutdent
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
beforeText: new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$", "i"),
|
|
34
|
+
action: { indentAction: a.languages.IndentAction.Indent }
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}, k = {
|
|
38
|
+
defaultToken: "",
|
|
39
|
+
tokenPostfix: ".xml",
|
|
40
|
+
ignoreCase: !0,
|
|
41
|
+
// Useful regular expressions
|
|
42
|
+
qualifiedName: /(?:[\w\.\-]+:)?[\w\.\-]+/,
|
|
43
|
+
tokenizer: {
|
|
44
|
+
root: [
|
|
45
|
+
[/[^<&]+/, ""],
|
|
46
|
+
{ include: "@whitespace" },
|
|
47
|
+
// Standard opening tag
|
|
48
|
+
[/(<)(@qualifiedName)/, [{ token: "delimiter" }, { token: "tag", next: "@tag" }]],
|
|
49
|
+
// Standard closing tag
|
|
50
|
+
[
|
|
51
|
+
/(<\/)(@qualifiedName)(\s*)(>)/,
|
|
52
|
+
[{ token: "delimiter" }, { token: "tag" }, "", { token: "delimiter" }]
|
|
53
|
+
],
|
|
54
|
+
// Meta tags - instruction
|
|
55
|
+
[/(<\?)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
56
|
+
// Meta tags - declaration
|
|
57
|
+
[/(<\!)(@qualifiedName)/, [{ token: "delimiter" }, { token: "metatag", next: "@tag" }]],
|
|
58
|
+
// CDATA
|
|
59
|
+
[/<\!\[CDATA\[/, { token: "delimiter.cdata", next: "@cdata" }],
|
|
60
|
+
[/&\w+;/, "string.escape"]
|
|
61
|
+
],
|
|
62
|
+
cdata: [
|
|
63
|
+
[/[^\]]+/, ""],
|
|
64
|
+
[/\]\]>/, { token: "delimiter.cdata", next: "@pop" }],
|
|
65
|
+
[/\]/, ""]
|
|
66
|
+
],
|
|
67
|
+
tag: [
|
|
68
|
+
[/[ \t\r\n]+/, ""],
|
|
69
|
+
[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name", "", "attribute.value"]],
|
|
70
|
+
[
|
|
71
|
+
/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,
|
|
72
|
+
["attribute.name", "", "attribute.value"]
|
|
73
|
+
],
|
|
74
|
+
[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/, ["attribute.name", "", "attribute.value"]],
|
|
75
|
+
[/@qualifiedName/, "attribute.name"],
|
|
76
|
+
[/\?>/, { token: "delimiter", next: "@pop" }],
|
|
77
|
+
[/(\/)(>)/, [{ token: "tag" }, { token: "delimiter", next: "@pop" }]],
|
|
78
|
+
[/>/, { token: "delimiter", next: "@pop" }]
|
|
79
|
+
],
|
|
80
|
+
whitespace: [
|
|
81
|
+
[/[ \t\r\n]+/, ""],
|
|
82
|
+
[/<!--/, { token: "comment", next: "@comment" }]
|
|
83
|
+
],
|
|
84
|
+
comment: [
|
|
85
|
+
[/[^<\-]+/, "comment.content"],
|
|
86
|
+
[/-->/, { token: "comment", next: "@pop" }],
|
|
87
|
+
[/<!--/, "comment.content.invalid"],
|
|
88
|
+
[/[<\-]/, "comment.content"]
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
g as conf,
|
|
94
|
+
k as language
|
|
95
|
+
};
|