@likec4/language-server 1.46.3 → 1.46.4
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/dist/Rpc.js +2 -2
- package/dist/bundled.mjs +2375 -2310
- package/dist/generated/ast.js +2 -2
- package/dist/generated/grammar.js +1 -1
- package/dist/generated-lib/icons.js +7 -1
- package/dist/model/model-builder.js +6 -14
- package/dist/references/scope-provider.d.ts +1 -1
- package/dist/references/scope-provider.js +18 -21
- package/dist/workspace/IndexManager.js +4 -2
- package/dist/workspace/LangiumDocuments.js +15 -4
- package/dist/workspace/ProjectsManager.d.ts +5 -3
- package/dist/workspace/ProjectsManager.js +60 -26
- package/package.json +5 -5
- package/lib/package.json +0 -159
package/dist/generated/ast.js
CHANGED
|
@@ -10,7 +10,7 @@ export const LikeC4Terminals = {
|
|
|
10
10
|
WS: /[\t ]+/,
|
|
11
11
|
NL: /[\r\n]+/,
|
|
12
12
|
BOOLEAN: /\b(true|false)\b/,
|
|
13
|
-
LIB_ICON: /(aws|azure|gcp|tech):[-\w]*/,
|
|
13
|
+
LIB_ICON: /(aws|azure|bootstrap|gcp|tech):[-\w]*/,
|
|
14
14
|
URI_WITH_SCHEMA: /\w+:\/{2}\S+/,
|
|
15
15
|
URI_RELATIVE: /\.{0,2}\/[^\/]\S+/,
|
|
16
16
|
URI_ALIAS: /@[a-zA-Z0-9_-]*\/[^\s]+/,
|
|
@@ -109,7 +109,7 @@ export function isFqnReferenceable(item) {
|
|
|
109
109
|
return reflection.isInstance(item, FqnReferenceable);
|
|
110
110
|
}
|
|
111
111
|
export function isIconId(item) {
|
|
112
|
-
return (typeof item === 'string' && (/(aws|azure|gcp|tech):[-\w]*/.test(item)));
|
|
112
|
+
return (typeof item === 'string' && (/(aws|azure|bootstrap|gcp|tech):[-\w]*/.test(item)));
|
|
113
113
|
}
|
|
114
114
|
export function isId(item) {
|
|
115
115
|
return isElementShape(item) || isThemeColor(item) || isArrowType(item) || isLineOptions(item) || isParticipant(item) || isSizeValue(item) || isDynamicViewDisplayVariantValue(item) || item === 'element' || item === 'model' || item === 'group' || item === 'node' || item === 'deployment' || item === 'instance' || (typeof item === 'string' && (/[_]*[a-zA-Z][-\w]*/.test(item)));
|