likec4 1.24.0 → 1.25.0
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/__app__/index.html +1 -1
- package/__app__/src/chunks/{-index-overview-fhfhEsGb.js → -index-overview-BQqR8e0d.js} +4 -4
- package/__app__/src/chunks/{index-B1tnNgDX.js → index-C6pszJh8.js} +164 -160
- package/__app__/src/chunks/{likec4-DgZMMrvs.js → likec4-DRDnYFvy.js} +841 -839
- package/__app__/src/chunks/{main-DiEdSc7f.js → main-iM8EmCL0.js} +7101 -6854
- package/__app__/src/chunks/{mantine-Dy50iVbn.js → mantine-B7q9iXnB.js} +98 -96
- package/__app__/src/chunks/{tanstack-router-B97XgOdm.js → tanstack-router-MjA2OK6n.js} +1 -1
- package/__app__/src/main.js +1 -1
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +20 -20
- package/dist/index.d.mts +201 -199
- package/dist/index.d.ts +201 -199
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.DNjEPXYD.mjs → likec4.DX7xzn9M.mjs} +1461 -1458
- package/package.json +25 -26
- package/react/index.d.ts +33 -1
- package/react/index.js +1489 -1249
- package/react/style.css +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as c4 from '@likec4/core';
|
|
2
|
-
import { Fqn, EdgeId, ComputedView, DiagramView, OverviewGraph, LikeC4Model, ViewId,
|
|
2
|
+
import { Fqn, EdgeId, ComputedView, DiagramView, OverviewGraph, LikeC4Model, ViewId, ViewChange } from '@likec4/core';
|
|
3
3
|
export { AbstractRelation, AutoLayoutDirection, BBox, Color, ComputedDeploymentView, ComputedDynamicView, ComputedEdge, ComputedElementView, ComputedLikeC4Model, ComputedNode, ComputedView, DeployedInstance, DeploymentElement, DeploymentNode, DeploymentNodeKind, DeploymentRelation, DeploymentView, DiagramEdge, DiagramNode, DiagramView, DynamicView, EdgeId, Element, ElementKind, ElementView, Fqn, HexColorLiteral, LayoutedLikeC4Model, LikeC4View, NodeId, ParsedLikeC4Model, Point, RelationExpr, RelationId, StepEdgeId, Tag, ThemeColor, ViewId, XYPoint } from '@likec4/core';
|
|
4
4
|
import { LikeC4Model as LikeC4Model$1 } from '@likec4/core/model';
|
|
5
5
|
export { AnyAux, Aux, LikeC4DeploymentModel, LikeC4Model, LikeC4ViewModel } from '@likec4/core/model';
|
|
6
6
|
import { Tagged, ValueOf, ConditionalPick, Writable } from 'type-fest';
|
|
7
|
+
import { DefaultWeakMap, MultiMap as MultiMap$1 } from '@likec4/core/utils';
|
|
7
8
|
import { Fqn as Fqn$1 } from '@likec4/core/types';
|
|
8
|
-
import { DefaultWeakMap } from '@likec4/core/utils';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A tagging type for string properties that are actually document URIs.
|
|
@@ -5184,7 +5184,7 @@ interface FileSystemProvider {
|
|
|
5184
5184
|
* evaluation means that all processing is repeated when you access the sequence multiple
|
|
5185
5185
|
* times; in such a case, it may be better to store the resulting sequence into an array.
|
|
5186
5186
|
*/
|
|
5187
|
-
interface Stream<T> extends Iterable<T> {
|
|
5187
|
+
interface Stream$1<T> extends Iterable<T> {
|
|
5188
5188
|
/**
|
|
5189
5189
|
* Returns an iterator for this stream. This is the same as calling the `Symbol.iterator` function property.
|
|
5190
5190
|
*/
|
|
@@ -5221,7 +5221,7 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5221
5221
|
*
|
|
5222
5222
|
* @param other Stream to be concatenated with this one.
|
|
5223
5223
|
*/
|
|
5224
|
-
concat<T2>(other: Iterable<T2>): Stream<T | T2>;
|
|
5224
|
+
concat<T2>(other: Iterable<T2>): Stream$1<T | T2>;
|
|
5225
5225
|
/**
|
|
5226
5226
|
* Adds all elements of the stream into a string, separated by the specified separator string.
|
|
5227
5227
|
*
|
|
@@ -5244,7 +5244,7 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5244
5244
|
* predicate returns a value which is coercible to the Boolean value `false`, or until the end
|
|
5245
5245
|
* of the stream.
|
|
5246
5246
|
*/
|
|
5247
|
-
every<S extends T>(predicate: (value: T) => value is S): this is Stream<S>;
|
|
5247
|
+
every<S extends T>(predicate: (value: T) => value is S): this is Stream$1<S>;
|
|
5248
5248
|
every(predicate: (value: T) => unknown): boolean;
|
|
5249
5249
|
/**
|
|
5250
5250
|
* Determines whether any member of the stream satisfies the specified test.
|
|
@@ -5268,7 +5268,7 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5268
5268
|
*
|
|
5269
5269
|
* @param callbackfn Lazily evaluated function mapping stream elements.
|
|
5270
5270
|
*/
|
|
5271
|
-
map<U>(callbackfn: (value: T) => U): Stream<U>;
|
|
5271
|
+
map<U>(callbackfn: (value: T) => U): Stream$1<U>;
|
|
5272
5272
|
/**
|
|
5273
5273
|
* Returns the elements of the stream that meet the condition specified in a callback function.
|
|
5274
5274
|
* The function is called when the resulting stream elements are actually accessed, so accessing the
|
|
@@ -5277,13 +5277,13 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5277
5277
|
*
|
|
5278
5278
|
* @param predicate Lazily evaluated function checking a condition on stream elements.
|
|
5279
5279
|
*/
|
|
5280
|
-
filter<S extends T>(predicate: (value: T) => value is S): Stream<S>;
|
|
5281
|
-
filter(predicate: (value: T) => unknown): Stream<T>;
|
|
5280
|
+
filter<S extends T>(predicate: (value: T) => value is S): Stream$1<S>;
|
|
5281
|
+
filter(predicate: (value: T) => unknown): Stream$1<T>;
|
|
5282
5282
|
/**
|
|
5283
5283
|
* Returns the elements of the stream that are _non-nullable_, which means they are neither `undefined`
|
|
5284
5284
|
* nor `null`.
|
|
5285
5285
|
*/
|
|
5286
|
-
nonNullable(): Stream<NonNullable<T>>;
|
|
5286
|
+
nonNullable(): Stream$1<NonNullable<T>>;
|
|
5287
5287
|
/**
|
|
5288
5288
|
* Calls the specified callback function for all elements in the stream. The return value of the
|
|
5289
5289
|
* callback function is the accumulated result, and is provided as an argument in the next call to
|
|
@@ -5341,7 +5341,7 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5341
5341
|
*
|
|
5342
5342
|
* @param callbackfn Lazily evaluated function mapping stream elements.
|
|
5343
5343
|
*/
|
|
5344
|
-
flatMap<U>(callbackfn: (value: T) => U | Iterable<U>): Stream<U>;
|
|
5344
|
+
flatMap<U>(callbackfn: (value: T) => U | Iterable<U>): Stream$1<U>;
|
|
5345
5345
|
/**
|
|
5346
5346
|
* Returns a new stream with all sub-stream or sub-array elements concatenated into it recursively up
|
|
5347
5347
|
* to the specified depth.
|
|
@@ -5359,14 +5359,14 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5359
5359
|
* @param skipCount The number of elements to skip. If this is larger than the number of elements in
|
|
5360
5360
|
* the stream, an empty stream is returned. Defaults to 1.
|
|
5361
5361
|
*/
|
|
5362
|
-
tail(skipCount?: number): Stream<T>;
|
|
5362
|
+
tail(skipCount?: number): Stream$1<T>;
|
|
5363
5363
|
/**
|
|
5364
5364
|
* Returns a stream consisting of the elements of this stream, truncated to be no longer than `maxSize`
|
|
5365
5365
|
* in length.
|
|
5366
5366
|
*
|
|
5367
5367
|
* @param maxSize The number of elements the stream should be limited to
|
|
5368
5368
|
*/
|
|
5369
|
-
limit(maxSize: number): Stream<T>;
|
|
5369
|
+
limit(maxSize: number): Stream$1<T>;
|
|
5370
5370
|
/**
|
|
5371
5371
|
* Returns a stream containing only the distinct elements from this stream.
|
|
5372
5372
|
* Equality is determined with the same rules as a standard `Set`.
|
|
@@ -5374,7 +5374,7 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5374
5374
|
* @param by A function returning the key used to check equality with a previous stream element.
|
|
5375
5375
|
* If omitted, the stream elements themselves are used for comparison.
|
|
5376
5376
|
*/
|
|
5377
|
-
distinct<Key = T>(by?: (element: T) => Key): Stream<T>;
|
|
5377
|
+
distinct<Key = T>(by?: (element: T) => Key): Stream$1<T>;
|
|
5378
5378
|
/**
|
|
5379
5379
|
* Returns a stream that contains all elements that don't exist in the {@link other} iterable.
|
|
5380
5380
|
* Equality is determined with the same rules as a standard `Set`.
|
|
@@ -5382,11 +5382,11 @@ interface Stream<T> extends Iterable<T> {
|
|
|
5382
5382
|
* @param key A function returning the key used to check quality.
|
|
5383
5383
|
* If omitted, the stream elements themselves are used for comparison.
|
|
5384
5384
|
*/
|
|
5385
|
-
exclude<Key = T>(other: Iterable<T>, key?: (element: T) => Key): Stream<T>;
|
|
5385
|
+
exclude<Key = T>(other: Iterable<T>, key?: (element: T) => Key): Stream$1<T>;
|
|
5386
5386
|
}
|
|
5387
5387
|
type FlatStream<T, Depth extends number> = {
|
|
5388
|
-
'done': Stream<T>;
|
|
5389
|
-
'recur': T extends Iterable<infer Content> ? FlatStream<Content, MinusOne<Depth>> : Stream<T>;
|
|
5388
|
+
'done': Stream$1<T>;
|
|
5389
|
+
'recur': T extends Iterable<infer Content> ? FlatStream<Content, MinusOne<Depth>> : Stream$1<T>;
|
|
5390
5390
|
}[Depth extends 0 ? 'done' : 'recur'];
|
|
5391
5391
|
type MinusOne<N extends number> = [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][N];
|
|
5392
5392
|
|
|
@@ -5730,19 +5730,19 @@ declare class MultiMap<K, V> {
|
|
|
5730
5730
|
/**
|
|
5731
5731
|
* Returns a stream of key, value pairs for every entry in the map.
|
|
5732
5732
|
*/
|
|
5733
|
-
entries(): Stream<[K, V]>;
|
|
5733
|
+
entries(): Stream$1<[K, V]>;
|
|
5734
5734
|
/**
|
|
5735
5735
|
* Returns a stream of keys in the map.
|
|
5736
5736
|
*/
|
|
5737
|
-
keys(): Stream<K>;
|
|
5737
|
+
keys(): Stream$1<K>;
|
|
5738
5738
|
/**
|
|
5739
5739
|
* Returns a stream of values in the map.
|
|
5740
5740
|
*/
|
|
5741
|
-
values(): Stream<V>;
|
|
5741
|
+
values(): Stream$1<V>;
|
|
5742
5742
|
/**
|
|
5743
5743
|
* Returns a stream of key, value set pairs for every key in the map.
|
|
5744
5744
|
*/
|
|
5745
|
-
entriesGroupedByKey(): Stream<[K, V[]]>;
|
|
5745
|
+
entriesGroupedByKey(): Stream$1<[K, V[]]>;
|
|
5746
5746
|
}
|
|
5747
5747
|
|
|
5748
5748
|
interface Disposable$1 {
|
|
@@ -5938,7 +5938,7 @@ interface LangiumDocuments {
|
|
|
5938
5938
|
/**
|
|
5939
5939
|
* A stream of all documents managed under this service.
|
|
5940
5940
|
*/
|
|
5941
|
-
readonly all: Stream<LangiumDocument>;
|
|
5941
|
+
readonly all: Stream$1<LangiumDocument>;
|
|
5942
5942
|
/**
|
|
5943
5943
|
* Manage a new document under this service.
|
|
5944
5944
|
* @throws an error if a document with the same URI is already present.
|
|
@@ -6389,7 +6389,7 @@ interface IndexManager {
|
|
|
6389
6389
|
* @param uris If specified, only returns elements from the given URIs.
|
|
6390
6390
|
* @returns a `Stream` containing all globally visible nodes (of a given type).
|
|
6391
6391
|
*/
|
|
6392
|
-
allElements(nodeType?: string, uris?: Set<string>): Stream<AstNodeDescription>;
|
|
6392
|
+
allElements(nodeType?: string, uris?: Set<string>): Stream$1<AstNodeDescription>;
|
|
6393
6393
|
/**
|
|
6394
6394
|
* Returns all known references that are pointing to the given `targetNode`.
|
|
6395
6395
|
*
|
|
@@ -6398,7 +6398,7 @@ interface IndexManager {
|
|
|
6398
6398
|
*
|
|
6399
6399
|
* @returns a `Stream` of references that are targeting the `targetNode`
|
|
6400
6400
|
*/
|
|
6401
|
-
findAllReferences(targetNode: AstNode, astNodePath: string): Stream<ReferenceDescription>;
|
|
6401
|
+
findAllReferences(targetNode: AstNode, astNodePath: string): Stream$1<ReferenceDescription>;
|
|
6402
6402
|
}
|
|
6403
6403
|
|
|
6404
6404
|
/******************************************************************************
|
|
@@ -6461,7 +6461,7 @@ interface Scope {
|
|
|
6461
6461
|
* Create a stream of all elements in the scope. This is used to compute completion proposals to be
|
|
6462
6462
|
* shown in the editor.
|
|
6463
6463
|
*/
|
|
6464
|
-
getAllElements(): Stream<AstNodeDescription>;
|
|
6464
|
+
getAllElements(): Stream$1<AstNodeDescription>;
|
|
6465
6465
|
}
|
|
6466
6466
|
interface ScopeOptions {
|
|
6467
6467
|
caseInsensitive?: boolean;
|
|
@@ -6680,7 +6680,7 @@ interface References {
|
|
|
6680
6680
|
*
|
|
6681
6681
|
* @param targetNode Specified target node whose references should be returned
|
|
6682
6682
|
*/
|
|
6683
|
-
findReferences(targetNode: AstNode, options: FindReferencesOptions): Stream<ReferenceDescription>;
|
|
6683
|
+
findReferences(targetNode: AstNode, options: FindReferencesOptions): Stream$1<ReferenceDescription>;
|
|
6684
6684
|
}
|
|
6685
6685
|
interface FindReferencesOptions {
|
|
6686
6686
|
/**
|
|
@@ -6923,7 +6923,7 @@ declare class ValidationRegistry {
|
|
|
6923
6923
|
protected wrapValidationException(check: ValidationCheck, thisObj: unknown): ValidationCheck;
|
|
6924
6924
|
protected handleException(functionality: () => MaybePromise<void>, messageContext: string, accept: ValidationAcceptor, node: AstNode): Promise<void>;
|
|
6925
6925
|
protected addEntry(type: string, entry: ValidationCheckEntry): void;
|
|
6926
|
-
getChecks(type: string, categories?: ValidationCategory[]): Stream<ValidationCheck>;
|
|
6926
|
+
getChecks(type: string, categories?: ValidationCategory[]): Stream$1<ValidationCheck>;
|
|
6927
6927
|
/**
|
|
6928
6928
|
* Register logic which will be executed once before validating all the nodes of an AST/Langium document.
|
|
6929
6929
|
* This helps to prepare or initialize some information which are required or reusable for the following checks on the AstNodes.
|
|
@@ -13973,7 +13973,7 @@ declare class DefaultCompletionProvider implements CompletionProvider {
|
|
|
13973
13973
|
* @param _context Information about the completion request including document, cursor position, token under cursor, etc.
|
|
13974
13974
|
* @returns A stream of all elements being valid for the given reference.
|
|
13975
13975
|
*/
|
|
13976
|
-
protected getReferenceCandidates(refInfo: ReferenceInfo, _context: CompletionContext): Stream<AstNodeDescription>;
|
|
13976
|
+
protected getReferenceCandidates(refInfo: ReferenceInfo, _context: CompletionContext): Stream$1<AstNodeDescription>;
|
|
13977
13977
|
/**
|
|
13978
13978
|
* Override this method to change how reference completion items are created.
|
|
13979
13979
|
*
|
|
@@ -15419,21 +15419,22 @@ declare abstract class ADisposable implements Disposable {
|
|
|
15419
15419
|
protected throwIfDisposed(): void;
|
|
15420
15420
|
}
|
|
15421
15421
|
|
|
15422
|
-
declare class FqnIndex extends ADisposable {
|
|
15422
|
+
declare class FqnIndex<AstNd extends AstNode = Element> extends ADisposable {
|
|
15423
15423
|
protected services: LikeC4Services;
|
|
15424
|
+
private cachePrefix;
|
|
15424
15425
|
protected langiumDocuments: LangiumDocuments;
|
|
15425
15426
|
protected documentCache: DefaultWeakMap<LikeC4LangiumDocument, DocumentFqnIndex>;
|
|
15426
|
-
protected
|
|
15427
|
-
constructor(services: LikeC4Services);
|
|
15427
|
+
protected workspaceCache: WorkspaceCache<string, AstNodeDescriptionWithFqn[]>;
|
|
15428
|
+
constructor(services: LikeC4Services, cachePrefix?: string);
|
|
15428
15429
|
private documents;
|
|
15429
15430
|
get(document: LikeC4LangiumDocument): DocumentFqnIndex;
|
|
15430
|
-
getFqn(el:
|
|
15431
|
-
byFqn(fqn: Fqn$1): Stream<AstNodeDescriptionWithFqn>;
|
|
15432
|
-
directChildrenOf(parent: Fqn$1): Stream<AstNodeDescriptionWithFqn>;
|
|
15431
|
+
getFqn(el: AstNd): Fqn$1;
|
|
15432
|
+
byFqn(fqn: Fqn$1): Stream$1<AstNodeDescriptionWithFqn>;
|
|
15433
|
+
directChildrenOf(parent: Fqn$1): Stream$1<AstNodeDescriptionWithFqn>;
|
|
15433
15434
|
/**
|
|
15434
15435
|
* Returns descedant elements with unique names in the scope
|
|
15435
15436
|
*/
|
|
15436
|
-
uniqueDescedants(parent: Fqn$1): Stream<AstNodeDescriptionWithFqn>;
|
|
15437
|
+
uniqueDescedants(parent: Fqn$1): Stream$1<AstNodeDescriptionWithFqn>;
|
|
15437
15438
|
protected createDocumentIndex(document: LikeC4LangiumDocument): DocumentFqnIndex;
|
|
15438
15439
|
}
|
|
15439
15440
|
declare class DocumentFqnIndex {
|
|
@@ -15455,39 +15456,35 @@ declare class DocumentFqnIndex {
|
|
|
15455
15456
|
/**
|
|
15456
15457
|
* direct children of elements
|
|
15457
15458
|
*/
|
|
15458
|
-
_children: MultiMap<Fqn$1, AstNodeDescriptionWithFqn>,
|
|
15459
|
+
_children: MultiMap$1<Fqn$1, AstNodeDescriptionWithFqn>,
|
|
15459
15460
|
/**
|
|
15460
15461
|
* All descendants of an element (unique by name)
|
|
15461
15462
|
*/
|
|
15462
|
-
_descendants: MultiMap<Fqn$1, AstNodeDescriptionWithFqn>,
|
|
15463
|
+
_descendants: MultiMap$1<Fqn$1, AstNodeDescriptionWithFqn>,
|
|
15463
15464
|
/**
|
|
15464
15465
|
* All elements by FQN
|
|
15465
15466
|
*/
|
|
15466
|
-
_byfqn: MultiMap<Fqn$1, AstNodeDescriptionWithFqn>);
|
|
15467
|
+
_byfqn: MultiMap$1<Fqn$1, AstNodeDescriptionWithFqn>);
|
|
15467
15468
|
rootElements(): readonly AstNodeDescriptionWithFqn[];
|
|
15468
15469
|
byFqn(fqn: Fqn$1): readonly AstNodeDescriptionWithFqn[];
|
|
15469
15470
|
children(parent: Fqn$1): readonly AstNodeDescriptionWithFqn[];
|
|
15470
15471
|
descendants(nodeName: Fqn$1): readonly AstNodeDescriptionWithFqn[];
|
|
15471
15472
|
}
|
|
15472
15473
|
|
|
15473
|
-
declare class DeploymentsIndex extends FqnIndex {
|
|
15474
|
+
declare class DeploymentsIndex extends FqnIndex<DeploymentElement> {
|
|
15474
15475
|
protected services: LikeC4Services;
|
|
15475
15476
|
protected Names: LikeC4NameProvider;
|
|
15476
|
-
protected cachePrefix: string;
|
|
15477
15477
|
constructor(services: LikeC4Services);
|
|
15478
15478
|
protected createDocumentIndex(document: LikeC4LangiumDocument): DocumentFqnIndex;
|
|
15479
15479
|
}
|
|
15480
15480
|
|
|
15481
15481
|
type ModelParsedListener = (docs: URI[]) => void;
|
|
15482
|
-
type ParseModelResult = {
|
|
15483
|
-
model: c4.ParsedLikeC4Model;
|
|
15484
|
-
computeView: (view: c4.LikeC4View) => c4.ComputeViewResult;
|
|
15485
|
-
};
|
|
15486
15482
|
declare class LikeC4ModelBuilder extends ADisposable {
|
|
15487
15483
|
private parser;
|
|
15488
15484
|
private listeners;
|
|
15489
15485
|
private cache;
|
|
15490
15486
|
private DocumentBuilder;
|
|
15487
|
+
private LangiumDocuments;
|
|
15491
15488
|
constructor(services: LikeC4Services);
|
|
15492
15489
|
/**
|
|
15493
15490
|
* WARNING:
|
|
@@ -15495,7 +15492,7 @@ declare class LikeC4ModelBuilder extends ADisposable {
|
|
|
15495
15492
|
* Otherwise, the model may be incomplete.
|
|
15496
15493
|
*/
|
|
15497
15494
|
private unsafeSyncParseModel;
|
|
15498
|
-
parseModel(cancelToken?: CancellationToken): Promise<
|
|
15495
|
+
parseModel(cancelToken?: CancellationToken): Promise<c4.ParsedLikeC4Model | null>;
|
|
15499
15496
|
private previousViews;
|
|
15500
15497
|
/**
|
|
15501
15498
|
* WARNING:
|
|
@@ -15523,7 +15520,7 @@ declare class LikeC4ModelLocator {
|
|
|
15523
15520
|
locateDeploymentElement(fqn: c4.Fqn, _prop?: string): Location | null;
|
|
15524
15521
|
locateRelation(relationId: c4.RelationId): Location | null;
|
|
15525
15522
|
locateViewAst(viewId: c4.ViewId): {
|
|
15526
|
-
doc:
|
|
15523
|
+
doc: Stream<ParsedLikeC4LangiumDocument>;
|
|
15527
15524
|
view: any;
|
|
15528
15525
|
viewAst: LikeC4View;
|
|
15529
15526
|
} | null;
|
|
@@ -15553,40 +15550,40 @@ declare class BaseParser {
|
|
|
15553
15550
|
declare const DocumentParserFromMixins: {
|
|
15554
15551
|
new (...args: any[]): {
|
|
15555
15552
|
parseGlobals(): void;
|
|
15556
|
-
parseAndStoreGlobalPredicateGroupOrDynamic(astRule: GlobalPredicateGroup | GlobalDynamicPredicateGroup, id:
|
|
15557
|
-
parseGlobalPredicateGroup(astRule: GlobalPredicateGroup):
|
|
15558
|
-
parseGlobalDynamicPredicateGroup(astRule: GlobalDynamicPredicateGroup):
|
|
15559
|
-
parseGlobalStyleOrGroup(astRule: GlobalStyle | GlobalStyleGroup):
|
|
15553
|
+
parseAndStoreGlobalPredicateGroupOrDynamic(astRule: GlobalPredicateGroup | GlobalDynamicPredicateGroup, id: DefaultWeakMap, c4Globals: ParsedAstGlobals): void;
|
|
15554
|
+
parseGlobalPredicateGroup(astRule: GlobalPredicateGroup): DefaultWeakMap[];
|
|
15555
|
+
parseGlobalDynamicPredicateGroup(astRule: GlobalDynamicPredicateGroup): DefaultWeakMap[];
|
|
15556
|
+
parseGlobalStyleOrGroup(astRule: GlobalStyle | GlobalStyleGroup): DefaultWeakMap[];
|
|
15560
15557
|
parseViews(): void;
|
|
15561
|
-
parseElementView(astNode: ElementView, additionalStyles:
|
|
15562
|
-
parseViewRule(astRule: ViewRule):
|
|
15563
|
-
parseViewRulePredicate(astNode: ViewRulePredicate):
|
|
15564
|
-
parseViewRuleGlobalPredicateRef(astRule: ViewRuleGlobalPredicateRef | DynamicViewGlobalPredicateRef):
|
|
15565
|
-
parseViewRuleStyleOrGlobalRef(astRule: ViewRuleStyleOrGlobalRef):
|
|
15566
|
-
parseViewRuleGroup(astNode: ViewRuleGroup):
|
|
15567
|
-
parseViewRuleStyle(astRule: ViewRuleStyle | GlobalStyle):
|
|
15568
|
-
parseRuleStyle(styleProperties: StyleProperty[], elementExpressionsIterator: ElementExpressionsIterator, notationProperty?: NotationProperty):
|
|
15569
|
-
parseViewRuleGlobalStyle(astRule: ViewRuleGlobalStyle):
|
|
15570
|
-
parseDynamicElementView(astNode: DynamicView, additionalStyles:
|
|
15571
|
-
parseDynamicViewRule(astRule: DynamicViewRule):
|
|
15572
|
-
parseDynamicViewIncludePredicate(astRule: DynamicViewIncludePredicate):
|
|
15573
|
-
parseDynamicParallelSteps(node: DynamicViewParallelSteps):
|
|
15574
|
-
parseDynamicStep(node: DynamicViewStep):
|
|
15575
|
-
parsePredicate(astNode: Predicate):
|
|
15576
|
-
parseElementPredicate(astNode: ElementPredicate):
|
|
15577
|
-
parseElementExpressionsIterator(astNode: ElementExpressionsIterator):
|
|
15578
|
-
parseElementExpression(astNode: ElementExpression):
|
|
15579
|
-
parseElementPredicateWhere(astNode: ElementPredicateWhere):
|
|
15580
|
-
parseElementPredicateWith(astNode: ElementPredicateWith):
|
|
15581
|
-
parseRelationPredicate(astNode: RelationPredicate):
|
|
15582
|
-
parseRelationPredicateWhere(astNode: RelationPredicateWhere):
|
|
15583
|
-
parseRelationPredicateWith(astNode: RelationPredicateWith, relation:
|
|
15584
|
-
parseRelationExpression(astNode: RelationExpression):
|
|
15558
|
+
parseElementView(astNode: ElementView, additionalStyles: DefaultWeakMap[]): ParsedAstElementView;
|
|
15559
|
+
parseViewRule(astRule: ViewRule): DefaultWeakMap;
|
|
15560
|
+
parseViewRulePredicate(astNode: ViewRulePredicate): DefaultWeakMap;
|
|
15561
|
+
parseViewRuleGlobalPredicateRef(astRule: ViewRuleGlobalPredicateRef | DynamicViewGlobalPredicateRef): DefaultWeakMap;
|
|
15562
|
+
parseViewRuleStyleOrGlobalRef(astRule: ViewRuleStyleOrGlobalRef): DefaultWeakMap;
|
|
15563
|
+
parseViewRuleGroup(astNode: ViewRuleGroup): DefaultWeakMap;
|
|
15564
|
+
parseViewRuleStyle(astRule: ViewRuleStyle | GlobalStyle): DefaultWeakMap;
|
|
15565
|
+
parseRuleStyle(styleProperties: StyleProperty[], elementExpressionsIterator: ElementExpressionsIterator, notationProperty?: NotationProperty): DefaultWeakMap;
|
|
15566
|
+
parseViewRuleGlobalStyle(astRule: ViewRuleGlobalStyle): DefaultWeakMap;
|
|
15567
|
+
parseDynamicElementView(astNode: DynamicView, additionalStyles: DefaultWeakMap[]): ParsedAstDynamicView;
|
|
15568
|
+
parseDynamicViewRule(astRule: DynamicViewRule): DefaultWeakMap;
|
|
15569
|
+
parseDynamicViewIncludePredicate(astRule: DynamicViewIncludePredicate): DefaultWeakMap;
|
|
15570
|
+
parseDynamicParallelSteps(node: DynamicViewParallelSteps): DefaultWeakMap;
|
|
15571
|
+
parseDynamicStep(node: DynamicViewStep): DefaultWeakMap;
|
|
15572
|
+
parsePredicate(astNode: Predicate): DefaultWeakMap;
|
|
15573
|
+
parseElementPredicate(astNode: ElementPredicate): DefaultWeakMap;
|
|
15574
|
+
parseElementExpressionsIterator(astNode: ElementExpressionsIterator): DefaultWeakMap[];
|
|
15575
|
+
parseElementExpression(astNode: ElementExpression): DefaultWeakMap;
|
|
15576
|
+
parseElementPredicateWhere(astNode: ElementPredicateWhere): DefaultWeakMap;
|
|
15577
|
+
parseElementPredicateWith(astNode: ElementPredicateWith): DefaultWeakMap;
|
|
15578
|
+
parseRelationPredicate(astNode: RelationPredicate): DefaultWeakMap;
|
|
15579
|
+
parseRelationPredicateWhere(astNode: RelationPredicateWhere): DefaultWeakMap;
|
|
15580
|
+
parseRelationPredicateWith(astNode: RelationPredicateWith, relation: DefaultWeakMap | DefaultWeakMap): DefaultWeakMap;
|
|
15581
|
+
parseRelationExpression(astNode: RelationExpression): DefaultWeakMap;
|
|
15585
15582
|
isValid: IsValidFn;
|
|
15586
15583
|
readonly services: LikeC4Services;
|
|
15587
15584
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15588
|
-
resolveFqn(node: FqnReferenceable):
|
|
15589
|
-
getAstNodePath(node:
|
|
15585
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15586
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15590
15587
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15591
15588
|
[key: string]: string;
|
|
15592
15589
|
} | undefined;
|
|
@@ -15595,20 +15592,20 @@ declare const DocumentParserFromMixins: {
|
|
|
15595
15592
|
}>(withTags?: E | undefined): any;
|
|
15596
15593
|
parseTags<E extends {
|
|
15597
15594
|
tags?: Tags;
|
|
15598
|
-
}>(withTags?: E):
|
|
15599
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15600
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15595
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15596
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15597
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15601
15598
|
parseDeploymentView(astNode: DeploymentView): ParsedAstDeploymentView;
|
|
15602
|
-
parseDeploymentViewRule(astRule: DeploymentViewRule):
|
|
15603
|
-
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate):
|
|
15604
|
-
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle):
|
|
15605
|
-
parseFqnRef(astNode: FqnRef):
|
|
15606
|
-
parseFqnExpr(astNode: FqnExpr):
|
|
15607
|
-
parseFqnRefExpr(astNode: FqnRefExpr):
|
|
15608
|
-
parseElementWhereExpr(astNode: ElementPredicateWhereV2):
|
|
15609
|
-
parseFqnExpressions(astNode: FqnExpressions):
|
|
15610
|
-
parseRelationWhereExpr(astNode: RelationPredicateWhereV2):
|
|
15611
|
-
parseRelationExpr(astNode: RelationExpr):
|
|
15599
|
+
parseDeploymentViewRule(astRule: DeploymentViewRule): DefaultWeakMap;
|
|
15600
|
+
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate): DefaultWeakMap;
|
|
15601
|
+
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle): DefaultWeakMap;
|
|
15602
|
+
parseFqnRef(astNode: FqnRef): DefaultWeakMap;
|
|
15603
|
+
parseFqnExpr(astNode: FqnExpr): DefaultWeakMap;
|
|
15604
|
+
parseFqnRefExpr(astNode: FqnRefExpr): DefaultWeakMap;
|
|
15605
|
+
parseElementWhereExpr(astNode: ElementPredicateWhereV2): DefaultWeakMap;
|
|
15606
|
+
parseFqnExpressions(astNode: FqnExpressions): DefaultWeakMap[];
|
|
15607
|
+
parseRelationWhereExpr(astNode: RelationPredicateWhereV2): DefaultWeakMap;
|
|
15608
|
+
parseRelationExpr(astNode: RelationExpr): DefaultWeakMap;
|
|
15612
15609
|
parseDeployment(): void;
|
|
15613
15610
|
parseDeploymentNode(astNode: DeploymentNode): ParsedAstDeployment.Node;
|
|
15614
15611
|
parseDeployedInstance(astNode: DeployedInstance): ParsedAstDeployment.Instance;
|
|
@@ -15618,35 +15615,35 @@ declare const DocumentParserFromMixins: {
|
|
|
15618
15615
|
} & {
|
|
15619
15616
|
new (...args: any[]): {
|
|
15620
15617
|
parseViews(): void;
|
|
15621
|
-
parseElementView(astNode: ElementView, additionalStyles:
|
|
15622
|
-
parseViewRule(astRule: ViewRule):
|
|
15623
|
-
parseViewRulePredicate(astNode: ViewRulePredicate):
|
|
15624
|
-
parseViewRuleGlobalPredicateRef(astRule: ViewRuleGlobalPredicateRef | DynamicViewGlobalPredicateRef):
|
|
15625
|
-
parseViewRuleStyleOrGlobalRef(astRule: ViewRuleStyleOrGlobalRef):
|
|
15626
|
-
parseViewRuleGroup(astNode: ViewRuleGroup):
|
|
15627
|
-
parseViewRuleStyle(astRule: ViewRuleStyle | GlobalStyle):
|
|
15628
|
-
parseRuleStyle(styleProperties: StyleProperty[], elementExpressionsIterator: ElementExpressionsIterator, notationProperty?: NotationProperty):
|
|
15629
|
-
parseViewRuleGlobalStyle(astRule: ViewRuleGlobalStyle):
|
|
15630
|
-
parseDynamicElementView(astNode: DynamicView, additionalStyles:
|
|
15631
|
-
parseDynamicViewRule(astRule: DynamicViewRule):
|
|
15632
|
-
parseDynamicViewIncludePredicate(astRule: DynamicViewIncludePredicate):
|
|
15633
|
-
parseDynamicParallelSteps(node: DynamicViewParallelSteps):
|
|
15634
|
-
parseDynamicStep(node: DynamicViewStep):
|
|
15635
|
-
parsePredicate(astNode: Predicate):
|
|
15636
|
-
parseElementPredicate(astNode: ElementPredicate):
|
|
15637
|
-
parseElementExpressionsIterator(astNode: ElementExpressionsIterator):
|
|
15638
|
-
parseElementExpression(astNode: ElementExpression):
|
|
15639
|
-
parseElementPredicateWhere(astNode: ElementPredicateWhere):
|
|
15640
|
-
parseElementPredicateWith(astNode: ElementPredicateWith):
|
|
15641
|
-
parseRelationPredicate(astNode: RelationPredicate):
|
|
15642
|
-
parseRelationPredicateWhere(astNode: RelationPredicateWhere):
|
|
15643
|
-
parseRelationPredicateWith(astNode: RelationPredicateWith, relation:
|
|
15644
|
-
parseRelationExpression(astNode: RelationExpression):
|
|
15618
|
+
parseElementView(astNode: ElementView, additionalStyles: DefaultWeakMap[]): ParsedAstElementView;
|
|
15619
|
+
parseViewRule(astRule: ViewRule): DefaultWeakMap;
|
|
15620
|
+
parseViewRulePredicate(astNode: ViewRulePredicate): DefaultWeakMap;
|
|
15621
|
+
parseViewRuleGlobalPredicateRef(astRule: ViewRuleGlobalPredicateRef | DynamicViewGlobalPredicateRef): DefaultWeakMap;
|
|
15622
|
+
parseViewRuleStyleOrGlobalRef(astRule: ViewRuleStyleOrGlobalRef): DefaultWeakMap;
|
|
15623
|
+
parseViewRuleGroup(astNode: ViewRuleGroup): DefaultWeakMap;
|
|
15624
|
+
parseViewRuleStyle(astRule: ViewRuleStyle | GlobalStyle): DefaultWeakMap;
|
|
15625
|
+
parseRuleStyle(styleProperties: StyleProperty[], elementExpressionsIterator: ElementExpressionsIterator, notationProperty?: NotationProperty): DefaultWeakMap;
|
|
15626
|
+
parseViewRuleGlobalStyle(astRule: ViewRuleGlobalStyle): DefaultWeakMap;
|
|
15627
|
+
parseDynamicElementView(astNode: DynamicView, additionalStyles: DefaultWeakMap[]): ParsedAstDynamicView;
|
|
15628
|
+
parseDynamicViewRule(astRule: DynamicViewRule): DefaultWeakMap;
|
|
15629
|
+
parseDynamicViewIncludePredicate(astRule: DynamicViewIncludePredicate): DefaultWeakMap;
|
|
15630
|
+
parseDynamicParallelSteps(node: DynamicViewParallelSteps): DefaultWeakMap;
|
|
15631
|
+
parseDynamicStep(node: DynamicViewStep): DefaultWeakMap;
|
|
15632
|
+
parsePredicate(astNode: Predicate): DefaultWeakMap;
|
|
15633
|
+
parseElementPredicate(astNode: ElementPredicate): DefaultWeakMap;
|
|
15634
|
+
parseElementExpressionsIterator(astNode: ElementExpressionsIterator): DefaultWeakMap[];
|
|
15635
|
+
parseElementExpression(astNode: ElementExpression): DefaultWeakMap;
|
|
15636
|
+
parseElementPredicateWhere(astNode: ElementPredicateWhere): DefaultWeakMap;
|
|
15637
|
+
parseElementPredicateWith(astNode: ElementPredicateWith): DefaultWeakMap;
|
|
15638
|
+
parseRelationPredicate(astNode: RelationPredicate): DefaultWeakMap;
|
|
15639
|
+
parseRelationPredicateWhere(astNode: RelationPredicateWhere): DefaultWeakMap;
|
|
15640
|
+
parseRelationPredicateWith(astNode: RelationPredicateWith, relation: DefaultWeakMap | DefaultWeakMap): DefaultWeakMap;
|
|
15641
|
+
parseRelationExpression(astNode: RelationExpression): DefaultWeakMap;
|
|
15645
15642
|
isValid: IsValidFn;
|
|
15646
15643
|
readonly services: LikeC4Services;
|
|
15647
15644
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15648
|
-
resolveFqn(node: FqnReferenceable):
|
|
15649
|
-
getAstNodePath(node:
|
|
15645
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15646
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15650
15647
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15651
15648
|
[key: string]: string;
|
|
15652
15649
|
} | undefined;
|
|
@@ -15655,20 +15652,20 @@ declare const DocumentParserFromMixins: {
|
|
|
15655
15652
|
}>(withTags?: E | undefined): any;
|
|
15656
15653
|
parseTags<E extends {
|
|
15657
15654
|
tags?: Tags;
|
|
15658
|
-
}>(withTags?: E):
|
|
15659
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15660
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15655
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15656
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15657
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15661
15658
|
parseDeploymentView(astNode: DeploymentView): ParsedAstDeploymentView;
|
|
15662
|
-
parseDeploymentViewRule(astRule: DeploymentViewRule):
|
|
15663
|
-
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate):
|
|
15664
|
-
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle):
|
|
15665
|
-
parseFqnRef(astNode: FqnRef):
|
|
15666
|
-
parseFqnExpr(astNode: FqnExpr):
|
|
15667
|
-
parseFqnRefExpr(astNode: FqnRefExpr):
|
|
15668
|
-
parseElementWhereExpr(astNode: ElementPredicateWhereV2):
|
|
15669
|
-
parseFqnExpressions(astNode: FqnExpressions):
|
|
15670
|
-
parseRelationWhereExpr(astNode: RelationPredicateWhereV2):
|
|
15671
|
-
parseRelationExpr(astNode: RelationExpr):
|
|
15659
|
+
parseDeploymentViewRule(astRule: DeploymentViewRule): DefaultWeakMap;
|
|
15660
|
+
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate): DefaultWeakMap;
|
|
15661
|
+
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle): DefaultWeakMap;
|
|
15662
|
+
parseFqnRef(astNode: FqnRef): DefaultWeakMap;
|
|
15663
|
+
parseFqnExpr(astNode: FqnExpr): DefaultWeakMap;
|
|
15664
|
+
parseFqnRefExpr(astNode: FqnRefExpr): DefaultWeakMap;
|
|
15665
|
+
parseElementWhereExpr(astNode: ElementPredicateWhereV2): DefaultWeakMap;
|
|
15666
|
+
parseFqnExpressions(astNode: FqnExpressions): DefaultWeakMap[];
|
|
15667
|
+
parseRelationWhereExpr(astNode: RelationPredicateWhereV2): DefaultWeakMap;
|
|
15668
|
+
parseRelationExpr(astNode: RelationExpr): DefaultWeakMap;
|
|
15672
15669
|
parseDeployment(): void;
|
|
15673
15670
|
parseDeploymentNode(astNode: DeploymentNode): ParsedAstDeployment.Node;
|
|
15674
15671
|
parseDeployedInstance(astNode: DeployedInstance): ParsedAstDeployment.Instance;
|
|
@@ -15682,8 +15679,8 @@ declare const DocumentParserFromMixins: {
|
|
|
15682
15679
|
isValid: IsValidFn;
|
|
15683
15680
|
readonly services: LikeC4Services;
|
|
15684
15681
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15685
|
-
resolveFqn(node: FqnReferenceable):
|
|
15686
|
-
getAstNodePath(node:
|
|
15682
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15683
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15687
15684
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15688
15685
|
[key: string]: string;
|
|
15689
15686
|
} | undefined;
|
|
@@ -15692,27 +15689,27 @@ declare const DocumentParserFromMixins: {
|
|
|
15692
15689
|
}>(withTags?: E | undefined): any;
|
|
15693
15690
|
parseTags<E extends {
|
|
15694
15691
|
tags?: Tags;
|
|
15695
|
-
}>(withTags?: E):
|
|
15696
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15697
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15692
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15693
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15694
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15698
15695
|
};
|
|
15699
15696
|
} & {
|
|
15700
15697
|
new (...args: any[]): {
|
|
15701
|
-
parsePredicate(astNode: Predicate):
|
|
15702
|
-
parseElementPredicate(astNode: ElementPredicate):
|
|
15703
|
-
parseElementExpressionsIterator(astNode: ElementExpressionsIterator):
|
|
15704
|
-
parseElementExpression(astNode: ElementExpression):
|
|
15705
|
-
parseElementPredicateWhere(astNode: ElementPredicateWhere):
|
|
15706
|
-
parseElementPredicateWith(astNode: ElementPredicateWith):
|
|
15707
|
-
parseRelationPredicate(astNode: RelationPredicate):
|
|
15708
|
-
parseRelationPredicateWhere(astNode: RelationPredicateWhere):
|
|
15709
|
-
parseRelationPredicateWith(astNode: RelationPredicateWith, relation:
|
|
15710
|
-
parseRelationExpression(astNode: RelationExpression):
|
|
15698
|
+
parsePredicate(astNode: Predicate): DefaultWeakMap;
|
|
15699
|
+
parseElementPredicate(astNode: ElementPredicate): DefaultWeakMap;
|
|
15700
|
+
parseElementExpressionsIterator(astNode: ElementExpressionsIterator): DefaultWeakMap[];
|
|
15701
|
+
parseElementExpression(astNode: ElementExpression): DefaultWeakMap;
|
|
15702
|
+
parseElementPredicateWhere(astNode: ElementPredicateWhere): DefaultWeakMap;
|
|
15703
|
+
parseElementPredicateWith(astNode: ElementPredicateWith): DefaultWeakMap;
|
|
15704
|
+
parseRelationPredicate(astNode: RelationPredicate): DefaultWeakMap;
|
|
15705
|
+
parseRelationPredicateWhere(astNode: RelationPredicateWhere): DefaultWeakMap;
|
|
15706
|
+
parseRelationPredicateWith(astNode: RelationPredicateWith, relation: DefaultWeakMap | DefaultWeakMap): DefaultWeakMap;
|
|
15707
|
+
parseRelationExpression(astNode: RelationExpression): DefaultWeakMap;
|
|
15711
15708
|
isValid: IsValidFn;
|
|
15712
15709
|
readonly services: LikeC4Services;
|
|
15713
15710
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15714
|
-
resolveFqn(node: FqnReferenceable):
|
|
15715
|
-
getAstNodePath(node:
|
|
15711
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15712
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15716
15713
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15717
15714
|
[key: string]: string;
|
|
15718
15715
|
} | undefined;
|
|
@@ -15721,28 +15718,28 @@ declare const DocumentParserFromMixins: {
|
|
|
15721
15718
|
}>(withTags?: E | undefined): any;
|
|
15722
15719
|
parseTags<E extends {
|
|
15723
15720
|
tags?: Tags;
|
|
15724
|
-
}>(withTags?: E):
|
|
15725
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15726
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15721
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15722
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15723
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15727
15724
|
};
|
|
15728
15725
|
} & {
|
|
15729
15726
|
new (...args: any[]): {
|
|
15730
15727
|
parseDeploymentView(astNode: DeploymentView): ParsedAstDeploymentView;
|
|
15731
|
-
parseDeploymentViewRule(astRule: DeploymentViewRule):
|
|
15732
|
-
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate):
|
|
15733
|
-
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle):
|
|
15734
|
-
parseFqnRef(astNode: FqnRef):
|
|
15735
|
-
parseFqnExpr(astNode: FqnExpr):
|
|
15736
|
-
parseFqnRefExpr(astNode: FqnRefExpr):
|
|
15737
|
-
parseElementWhereExpr(astNode: ElementPredicateWhereV2):
|
|
15738
|
-
parseFqnExpressions(astNode: FqnExpressions):
|
|
15739
|
-
parseRelationWhereExpr(astNode: RelationPredicateWhereV2):
|
|
15740
|
-
parseRelationExpr(astNode: RelationExpr):
|
|
15728
|
+
parseDeploymentViewRule(astRule: DeploymentViewRule): DefaultWeakMap;
|
|
15729
|
+
parseDeploymentViewRulePredicate(astRule: DeploymentViewRulePredicate): DefaultWeakMap;
|
|
15730
|
+
parseDeploymentViewRuleStyle(astRule: DeploymentViewRuleStyle): DefaultWeakMap;
|
|
15731
|
+
parseFqnRef(astNode: FqnRef): DefaultWeakMap;
|
|
15732
|
+
parseFqnExpr(astNode: FqnExpr): DefaultWeakMap;
|
|
15733
|
+
parseFqnRefExpr(astNode: FqnRefExpr): DefaultWeakMap;
|
|
15734
|
+
parseElementWhereExpr(astNode: ElementPredicateWhereV2): DefaultWeakMap;
|
|
15735
|
+
parseFqnExpressions(astNode: FqnExpressions): DefaultWeakMap[];
|
|
15736
|
+
parseRelationWhereExpr(astNode: RelationPredicateWhereV2): DefaultWeakMap;
|
|
15737
|
+
parseRelationExpr(astNode: RelationExpr): DefaultWeakMap;
|
|
15741
15738
|
isValid: IsValidFn;
|
|
15742
15739
|
readonly services: LikeC4Services;
|
|
15743
15740
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15744
|
-
resolveFqn(node: FqnReferenceable):
|
|
15745
|
-
getAstNodePath(node:
|
|
15741
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15742
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15746
15743
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15747
15744
|
[key: string]: string;
|
|
15748
15745
|
} | undefined;
|
|
@@ -15751,9 +15748,9 @@ declare const DocumentParserFromMixins: {
|
|
|
15751
15748
|
}>(withTags?: E | undefined): any;
|
|
15752
15749
|
parseTags<E extends {
|
|
15753
15750
|
tags?: Tags;
|
|
15754
|
-
}>(withTags?: E):
|
|
15755
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15756
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15751
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15752
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15753
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15757
15754
|
parseDeployment(): void;
|
|
15758
15755
|
parseDeploymentNode(astNode: DeploymentNode): ParsedAstDeployment.Node;
|
|
15759
15756
|
parseDeployedInstance(astNode: DeployedInstance): ParsedAstDeployment.Instance;
|
|
@@ -15767,18 +15764,18 @@ declare const DocumentParserFromMixins: {
|
|
|
15767
15764
|
parseDeployedInstance(astNode: DeployedInstance): ParsedAstDeployment.Instance;
|
|
15768
15765
|
parseExtendDeployment(astNode: ExtendDeployment): ParsedAstExtend | null;
|
|
15769
15766
|
parseDeploymentRelation(astNode: DeploymentRelation): ParsedAstDeploymentRelation;
|
|
15770
|
-
parseFqnRef(astNode: FqnRef):
|
|
15771
|
-
parseFqnExpr(astNode: FqnExpr):
|
|
15772
|
-
parseFqnRefExpr(astNode: FqnRefExpr):
|
|
15773
|
-
parseElementWhereExpr(astNode: ElementPredicateWhereV2):
|
|
15774
|
-
parseFqnExpressions(astNode: FqnExpressions):
|
|
15775
|
-
parseRelationWhereExpr(astNode: RelationPredicateWhereV2):
|
|
15776
|
-
parseRelationExpr(astNode: RelationExpr):
|
|
15767
|
+
parseFqnRef(astNode: FqnRef): DefaultWeakMap;
|
|
15768
|
+
parseFqnExpr(astNode: FqnExpr): DefaultWeakMap;
|
|
15769
|
+
parseFqnRefExpr(astNode: FqnRefExpr): DefaultWeakMap;
|
|
15770
|
+
parseElementWhereExpr(astNode: ElementPredicateWhereV2): DefaultWeakMap;
|
|
15771
|
+
parseFqnExpressions(astNode: FqnExpressions): DefaultWeakMap[];
|
|
15772
|
+
parseRelationWhereExpr(astNode: RelationPredicateWhereV2): DefaultWeakMap;
|
|
15773
|
+
parseRelationExpr(astNode: RelationExpr): DefaultWeakMap;
|
|
15777
15774
|
isValid: IsValidFn;
|
|
15778
15775
|
readonly services: LikeC4Services;
|
|
15779
15776
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15780
|
-
resolveFqn(node: FqnReferenceable):
|
|
15781
|
-
getAstNodePath(node:
|
|
15777
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15778
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15782
15779
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15783
15780
|
[key: string]: string;
|
|
15784
15781
|
} | undefined;
|
|
@@ -15787,9 +15784,9 @@ declare const DocumentParserFromMixins: {
|
|
|
15787
15784
|
}>(withTags?: E | undefined): any;
|
|
15788
15785
|
parseTags<E extends {
|
|
15789
15786
|
tags?: Tags;
|
|
15790
|
-
}>(withTags?: E):
|
|
15791
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15792
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15787
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15788
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15789
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15793
15790
|
};
|
|
15794
15791
|
} & {
|
|
15795
15792
|
new (...args: any[]): {
|
|
@@ -15800,8 +15797,8 @@ declare const DocumentParserFromMixins: {
|
|
|
15800
15797
|
isValid: IsValidFn;
|
|
15801
15798
|
readonly services: LikeC4Services;
|
|
15802
15799
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15803
|
-
resolveFqn(node: FqnReferenceable):
|
|
15804
|
-
getAstNodePath(node:
|
|
15800
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15801
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15805
15802
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15806
15803
|
[key: string]: string;
|
|
15807
15804
|
} | undefined;
|
|
@@ -15810,24 +15807,24 @@ declare const DocumentParserFromMixins: {
|
|
|
15810
15807
|
}>(withTags?: E | undefined): any;
|
|
15811
15808
|
parseTags<E extends {
|
|
15812
15809
|
tags?: Tags;
|
|
15813
|
-
}>(withTags?: E):
|
|
15814
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15815
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15810
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15811
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15812
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15816
15813
|
};
|
|
15817
15814
|
} & {
|
|
15818
15815
|
new (...args: any[]): {
|
|
15819
|
-
parseFqnRef(astNode: FqnRef):
|
|
15820
|
-
parseFqnExpr(astNode: FqnExpr):
|
|
15821
|
-
parseFqnRefExpr(astNode: FqnRefExpr):
|
|
15822
|
-
parseElementWhereExpr(astNode: ElementPredicateWhereV2):
|
|
15823
|
-
parseFqnExpressions(astNode: FqnExpressions):
|
|
15824
|
-
parseRelationWhereExpr(astNode: RelationPredicateWhereV2):
|
|
15825
|
-
parseRelationExpr(astNode: RelationExpr):
|
|
15816
|
+
parseFqnRef(astNode: FqnRef): DefaultWeakMap;
|
|
15817
|
+
parseFqnExpr(astNode: FqnExpr): DefaultWeakMap;
|
|
15818
|
+
parseFqnRefExpr(astNode: FqnRefExpr): DefaultWeakMap;
|
|
15819
|
+
parseElementWhereExpr(astNode: ElementPredicateWhereV2): DefaultWeakMap;
|
|
15820
|
+
parseFqnExpressions(astNode: FqnExpressions): DefaultWeakMap[];
|
|
15821
|
+
parseRelationWhereExpr(astNode: RelationPredicateWhereV2): DefaultWeakMap;
|
|
15822
|
+
parseRelationExpr(astNode: RelationExpr): DefaultWeakMap;
|
|
15826
15823
|
isValid: IsValidFn;
|
|
15827
15824
|
readonly services: LikeC4Services;
|
|
15828
15825
|
readonly doc: ParsedLikeC4LangiumDocument;
|
|
15829
|
-
resolveFqn(node: FqnReferenceable):
|
|
15830
|
-
getAstNodePath(node:
|
|
15826
|
+
resolveFqn(node: FqnReferenceable): DefaultWeakMap;
|
|
15827
|
+
getAstNodePath(node: DefaultWeakMap): any;
|
|
15831
15828
|
getMetadata(metadataAstNode: MetadataProperty | undefined): {
|
|
15832
15829
|
[key: string]: string;
|
|
15833
15830
|
} | undefined;
|
|
@@ -15836,18 +15833,18 @@ declare const DocumentParserFromMixins: {
|
|
|
15836
15833
|
}>(withTags?: E | undefined): any;
|
|
15837
15834
|
parseTags<E extends {
|
|
15838
15835
|
tags?: Tags;
|
|
15839
|
-
}>(withTags?: E):
|
|
15840
|
-
convertLinks(source?: LinkProperty["$container"]):
|
|
15841
|
-
parseLinks(source?: LinkProperty["$container"]):
|
|
15836
|
+
}>(withTags?: E): DefaultWeakMap<DefaultWeakMap> | null;
|
|
15837
|
+
convertLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15838
|
+
parseLinks(source?: LinkProperty["$container"]): DefaultWeakMap[] | undefined;
|
|
15842
15839
|
};
|
|
15843
15840
|
} & typeof BaseParser;
|
|
15844
15841
|
declare class DocumentParser extends DocumentParserFromMixins {
|
|
15845
15842
|
}
|
|
15846
15843
|
declare class LikeC4ModelParser {
|
|
15847
15844
|
private services;
|
|
15848
|
-
|
|
15845
|
+
protected cachedParsers: any;
|
|
15849
15846
|
constructor(services: LikeC4Services);
|
|
15850
|
-
documents(): Stream<ParsedLikeC4LangiumDocument>;
|
|
15847
|
+
documents(): Stream$1<ParsedLikeC4LangiumDocument>;
|
|
15851
15848
|
parse(doc: LangiumDocument): ParsedLikeC4LangiumDocument;
|
|
15852
15849
|
forDocument(doc: LangiumDocument): DocumentParser;
|
|
15853
15850
|
private createParser;
|
|
@@ -15860,7 +15857,7 @@ declare class LikeC4DocumentSymbolProvider implements DocumentSymbolProvider {
|
|
|
15860
15857
|
protected readonly parser: LikeC4ModelParser;
|
|
15861
15858
|
protected readonly locator: LikeC4ModelLocator;
|
|
15862
15859
|
constructor(services: LikeC4Services);
|
|
15863
|
-
getSymbols(
|
|
15860
|
+
getSymbols(doc: LangiumDocument, _params: DocumentSymbolParams, cancelToken?: CancellationToken): Promise<DocumentSymbol[]>;
|
|
15864
15861
|
protected getLikec4LibSymbol(astLib: LikeC4Lib): DocumentSymbol[];
|
|
15865
15862
|
protected getSpecSymbol(astSpec: SpecificationRule): DocumentSymbol[];
|
|
15866
15863
|
protected getModelSymbol(astModel: Model): DocumentSymbol[];
|
|
@@ -15892,17 +15889,22 @@ declare class LikeC4SemanticTokenProvider extends AbstractSemanticTokenProvider
|
|
|
15892
15889
|
private highlightView;
|
|
15893
15890
|
}
|
|
15894
15891
|
|
|
15895
|
-
|
|
15896
|
-
|
|
15897
|
-
|
|
15892
|
+
declare namespace ChangeView {
|
|
15893
|
+
type Params = {
|
|
15894
|
+
viewId: ViewId;
|
|
15895
|
+
change: ViewChange;
|
|
15896
|
+
};
|
|
15897
|
+
type Res = Location | null;
|
|
15898
|
+
const Req: RequestType<Params, Res, void>;
|
|
15899
|
+
type Req = typeof Req;
|
|
15898
15900
|
}
|
|
15899
15901
|
|
|
15900
15902
|
declare class LikeC4ModelChanges {
|
|
15901
15903
|
private services;
|
|
15902
15904
|
private locator;
|
|
15903
15905
|
constructor(services: LikeC4Services);
|
|
15904
|
-
applyChange(changeView:
|
|
15905
|
-
protected convertToTextEdit({ viewId, change }:
|
|
15906
|
+
applyChange(changeView: ChangeView.Params): Promise<Location | null>;
|
|
15907
|
+
protected convertToTextEdit({ viewId, change }: ChangeView.Params): {
|
|
15906
15908
|
doc: ParsedLikeC4LangiumDocument;
|
|
15907
15909
|
modifiedRange: Range$1;
|
|
15908
15910
|
edits: TextEdit$1[];
|