@delta-ai/platform 0.1.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/dist/action/common/action.d.ts +75 -0
- package/dist/action/common/action.d.ts.map +1 -0
- package/dist/action/common/action.js +17 -0
- package/dist/action/common/action.js.map +1 -0
- package/dist/action/common/actionCommonCategories.d.ts +9 -0
- package/dist/action/common/actionCommonCategories.d.ts.map +1 -0
- package/dist/action/common/actionCommonCategories.js +14 -0
- package/dist/action/common/actionCommonCategories.js.map +1 -0
- package/dist/commands/common/commands.d.ts +52 -0
- package/dist/commands/common/commands.d.ts.map +1 -0
- package/dist/commands/common/commands.js +79 -0
- package/dist/commands/common/commands.js.map +1 -0
- package/dist/contextkey/common/contextkey.d.ts +439 -0
- package/dist/contextkey/common/contextkey.d.ts.map +1 -0
- package/dist/contextkey/common/contextkey.js +1729 -0
- package/dist/contextkey/common/contextkey.js.map +1 -0
- package/dist/contextkey/common/scanner.d.ts +142 -0
- package/dist/contextkey/common/scanner.d.ts.map +1 -0
- package/dist/contextkey/common/scanner.js +311 -0
- package/dist/contextkey/common/scanner.js.map +1 -0
- package/dist/environment/common/argv.d.ts +173 -0
- package/dist/environment/common/argv.d.ts.map +1 -0
- package/dist/environment/common/argv.js +6 -0
- package/dist/environment/common/argv.js.map +1 -0
- package/dist/environment/common/environment.d.ts +113 -0
- package/dist/environment/common/environment.d.ts.map +1 -0
- package/dist/environment/common/environment.js +9 -0
- package/dist/environment/common/environment.js.map +1 -0
- package/dist/environment/common/environmentService.d.ts +91 -0
- package/dist/environment/common/environmentService.d.ts.map +1 -0
- package/dist/environment/common/environmentService.js +278 -0
- package/dist/environment/common/environmentService.js.map +1 -0
- package/dist/instantiation/common/descriptors.d.ts +10 -0
- package/dist/instantiation/common/descriptors.d.ts.map +1 -0
- package/dist/instantiation/common/descriptors.js +15 -0
- package/dist/instantiation/common/descriptors.js.map +1 -0
- package/dist/instantiation/common/graph.d.ts +26 -0
- package/dist/instantiation/common/graph.d.ts.map +1 -0
- package/dist/instantiation/common/graph.js +96 -0
- package/dist/instantiation/common/graph.js.map +1 -0
- package/dist/instantiation/common/instantiation.d.ts +76 -0
- package/dist/instantiation/common/instantiation.d.ts.map +1 -0
- package/dist/instantiation/common/instantiation.js +49 -0
- package/dist/instantiation/common/instantiation.js.map +1 -0
- package/dist/instantiation/common/instantiationService.d.ts +56 -0
- package/dist/instantiation/common/instantiationService.d.ts.map +1 -0
- package/dist/instantiation/common/instantiationService.js +415 -0
- package/dist/instantiation/common/instantiationService.js.map +1 -0
- package/dist/instantiation/common/serviceCollection.d.ts +10 -0
- package/dist/instantiation/common/serviceCollection.d.ts.map +1 -0
- package/dist/instantiation/common/serviceCollection.js +25 -0
- package/dist/instantiation/common/serviceCollection.js.map +1 -0
- package/dist/log/common/log.d.ts +297 -0
- package/dist/log/common/log.d.ts.map +1 -0
- package/dist/log/common/log.js +668 -0
- package/dist/log/common/log.js.map +1 -0
- package/dist/registry/common/platform.d.ts +21 -0
- package/dist/registry/common/platform.d.ts.map +1 -0
- package/dist/registry/common/platform.js +31 -0
- package/dist/registry/common/platform.js.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { Event } from '@delta-ai/base/common/event.js';
|
|
2
|
+
import { type LexingError } from './scanner.js';
|
|
3
|
+
import type { IDisposable } from '@delta-ai/base/common/lifecycle.js';
|
|
4
|
+
/** allow register constant context keys that are known only after startup; requires running `substituteConstants` on the context key - https://github.com/microsoft/vscode/issues/174218#issuecomment-1437972127 */
|
|
5
|
+
export declare function setConstant(key: string, value: boolean): void;
|
|
6
|
+
export declare const enum ContextKeyExprType {
|
|
7
|
+
False = 0,
|
|
8
|
+
True = 1,
|
|
9
|
+
Defined = 2,
|
|
10
|
+
Not = 3,
|
|
11
|
+
Equals = 4,
|
|
12
|
+
NotEquals = 5,
|
|
13
|
+
And = 6,
|
|
14
|
+
Regex = 7,
|
|
15
|
+
NotRegex = 8,
|
|
16
|
+
Or = 9,
|
|
17
|
+
In = 10,
|
|
18
|
+
NotIn = 11,
|
|
19
|
+
Greater = 12,
|
|
20
|
+
GreaterEquals = 13,
|
|
21
|
+
Smaller = 14,
|
|
22
|
+
SmallerEquals = 15
|
|
23
|
+
}
|
|
24
|
+
export interface IContextKeyExprMapper {
|
|
25
|
+
mapDefined(key: string): ContextKeyExpression;
|
|
26
|
+
mapNot(key: string): ContextKeyExpression;
|
|
27
|
+
mapEquals(key: string, value: any): ContextKeyExpression;
|
|
28
|
+
mapNotEquals(key: string, value: any): ContextKeyExpression;
|
|
29
|
+
mapGreater(key: string, value: any): ContextKeyExpression;
|
|
30
|
+
mapGreaterEquals(key: string, value: any): ContextKeyExpression;
|
|
31
|
+
mapSmaller(key: string, value: any): ContextKeyExpression;
|
|
32
|
+
mapSmallerEquals(key: string, value: any): ContextKeyExpression;
|
|
33
|
+
mapRegex(key: string, regexp: RegExp | null): ContextKeyRegexExpr;
|
|
34
|
+
mapIn(key: string, valueKey: string): ContextKeyInExpr;
|
|
35
|
+
mapNotIn(key: string, valueKey: string): ContextKeyNotInExpr;
|
|
36
|
+
}
|
|
37
|
+
export interface IContextKeyExpression {
|
|
38
|
+
cmp(other: ContextKeyExpression): number;
|
|
39
|
+
equals(other: ContextKeyExpression): boolean;
|
|
40
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
41
|
+
evaluate(context: IContext): boolean;
|
|
42
|
+
serialize(): string;
|
|
43
|
+
keys(): string[];
|
|
44
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
45
|
+
negate(): ContextKeyExpression;
|
|
46
|
+
}
|
|
47
|
+
export type ContextKeyExpression = (ContextKeyFalseExpr | ContextKeyTrueExpr | ContextKeyDefinedExpr | ContextKeyNotExpr | ContextKeyEqualsExpr | ContextKeyNotEqualsExpr | ContextKeyRegexExpr | ContextKeyNotRegexExpr | ContextKeyAndExpr | ContextKeyOrExpr | ContextKeyInExpr | ContextKeyNotInExpr | ContextKeyGreaterExpr | ContextKeyGreaterEqualsExpr | ContextKeySmallerExpr | ContextKeySmallerEqualsExpr);
|
|
48
|
+
export type ParserConfig = {
|
|
49
|
+
/**
|
|
50
|
+
* with this option enabled, the parser can recover from regex parsing errors, e.g., unescaped slashes: `/src//` is accepted as `/src\//` would be
|
|
51
|
+
*/
|
|
52
|
+
regexParsingWithErrorRecovery: boolean;
|
|
53
|
+
};
|
|
54
|
+
export type ParsingError = {
|
|
55
|
+
message: string;
|
|
56
|
+
offset: number;
|
|
57
|
+
lexeme: string;
|
|
58
|
+
additionalInfo?: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* A parser for context key expressions.
|
|
62
|
+
*
|
|
63
|
+
* Example:
|
|
64
|
+
* ```ts
|
|
65
|
+
* const parser = new Parser();
|
|
66
|
+
* const expr = parser.parse('foo == "bar" && baz == true');
|
|
67
|
+
*
|
|
68
|
+
* if (expr === undefined) {
|
|
69
|
+
* // there were lexing or parsing errors
|
|
70
|
+
* // process lexing errors with `parser.lexingErrors`
|
|
71
|
+
* // process parsing errors with `parser.parsingErrors`
|
|
72
|
+
* } else {
|
|
73
|
+
* // expr is a valid expression
|
|
74
|
+
* }
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
export declare class Parser {
|
|
78
|
+
private readonly _config;
|
|
79
|
+
private static _parseError;
|
|
80
|
+
private readonly _scanner;
|
|
81
|
+
private _tokens;
|
|
82
|
+
private _current;
|
|
83
|
+
private _parsingErrors;
|
|
84
|
+
get lexingErrors(): Readonly<LexingError[]>;
|
|
85
|
+
get parsingErrors(): Readonly<ParsingError[]>;
|
|
86
|
+
constructor(_config?: ParserConfig);
|
|
87
|
+
/**
|
|
88
|
+
* Parse a context key expression.
|
|
89
|
+
*
|
|
90
|
+
* @param input the expression to parse
|
|
91
|
+
* @returns the parsed expression or `undefined` if there's an error - call `lexingErrors` and `parsingErrors` to see the errors
|
|
92
|
+
*/
|
|
93
|
+
parse(input: string): ContextKeyExpression | undefined;
|
|
94
|
+
private _expr;
|
|
95
|
+
private _or;
|
|
96
|
+
private _and;
|
|
97
|
+
private _term;
|
|
98
|
+
private _primary;
|
|
99
|
+
private _value;
|
|
100
|
+
private _flagsGYRe;
|
|
101
|
+
private _removeFlagsGY;
|
|
102
|
+
private _previous;
|
|
103
|
+
private _matchOne;
|
|
104
|
+
private _advance;
|
|
105
|
+
private _consume;
|
|
106
|
+
private _errExpectedButGot;
|
|
107
|
+
private _check;
|
|
108
|
+
private _peek;
|
|
109
|
+
private _isAtEnd;
|
|
110
|
+
}
|
|
111
|
+
export declare abstract class ContextKeyExpr {
|
|
112
|
+
static false(): ContextKeyExpression;
|
|
113
|
+
static true(): ContextKeyExpression;
|
|
114
|
+
static has(key: string): ContextKeyExpression;
|
|
115
|
+
static equals(key: string, value: any): ContextKeyExpression;
|
|
116
|
+
static notEquals(key: string, value: any): ContextKeyExpression;
|
|
117
|
+
static regex(key: string, value: RegExp): ContextKeyExpression;
|
|
118
|
+
static in(key: string, value: string): ContextKeyExpression;
|
|
119
|
+
static notIn(key: string, value: string): ContextKeyExpression;
|
|
120
|
+
static not(key: string): ContextKeyExpression;
|
|
121
|
+
static and(...expr: Array<ContextKeyExpression | undefined | null>): ContextKeyExpression | undefined;
|
|
122
|
+
static or(...expr: Array<ContextKeyExpression | undefined | null>): ContextKeyExpression | undefined;
|
|
123
|
+
static greater(key: string, value: number): ContextKeyExpression;
|
|
124
|
+
static greaterEquals(key: string, value: number): ContextKeyExpression;
|
|
125
|
+
static smaller(key: string, value: number): ContextKeyExpression;
|
|
126
|
+
static smallerEquals(key: string, value: number): ContextKeyExpression;
|
|
127
|
+
private static _parser;
|
|
128
|
+
static deserialize(serialized: string | null | undefined): ContextKeyExpression | undefined;
|
|
129
|
+
}
|
|
130
|
+
export declare function validateWhenClauses(whenClauses: string[]): any;
|
|
131
|
+
export declare function expressionsAreEqualWithConstantSubstitution(a: ContextKeyExpression | null | undefined, b: ContextKeyExpression | null | undefined): boolean;
|
|
132
|
+
export declare class ContextKeyFalseExpr implements IContextKeyExpression {
|
|
133
|
+
static INSTANCE: ContextKeyFalseExpr;
|
|
134
|
+
readonly type = ContextKeyExprType.False;
|
|
135
|
+
protected constructor();
|
|
136
|
+
cmp(other: ContextKeyExpression): number;
|
|
137
|
+
equals(other: ContextKeyExpression): boolean;
|
|
138
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
139
|
+
evaluate(context: IContext): boolean;
|
|
140
|
+
serialize(): string;
|
|
141
|
+
keys(): string[];
|
|
142
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
143
|
+
negate(): ContextKeyExpression;
|
|
144
|
+
}
|
|
145
|
+
export declare class ContextKeyTrueExpr implements IContextKeyExpression {
|
|
146
|
+
static INSTANCE: ContextKeyTrueExpr;
|
|
147
|
+
readonly type = ContextKeyExprType.True;
|
|
148
|
+
protected constructor();
|
|
149
|
+
cmp(other: ContextKeyExpression): number;
|
|
150
|
+
equals(other: ContextKeyExpression): boolean;
|
|
151
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
152
|
+
evaluate(context: IContext): boolean;
|
|
153
|
+
serialize(): string;
|
|
154
|
+
keys(): string[];
|
|
155
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
156
|
+
negate(): ContextKeyExpression;
|
|
157
|
+
}
|
|
158
|
+
export declare class ContextKeyDefinedExpr implements IContextKeyExpression {
|
|
159
|
+
readonly key: string;
|
|
160
|
+
private negated;
|
|
161
|
+
static create(key: string, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
162
|
+
readonly type = ContextKeyExprType.Defined;
|
|
163
|
+
protected constructor(key: string, negated: ContextKeyExpression | null);
|
|
164
|
+
cmp(other: ContextKeyExpression): number;
|
|
165
|
+
equals(other: ContextKeyExpression): boolean;
|
|
166
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
167
|
+
evaluate(context: IContext): boolean;
|
|
168
|
+
serialize(): string;
|
|
169
|
+
keys(): string[];
|
|
170
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
171
|
+
negate(): ContextKeyExpression;
|
|
172
|
+
}
|
|
173
|
+
export declare class ContextKeyEqualsExpr implements IContextKeyExpression {
|
|
174
|
+
private readonly key;
|
|
175
|
+
private readonly value;
|
|
176
|
+
private negated;
|
|
177
|
+
static create(key: string, value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
178
|
+
readonly type = ContextKeyExprType.Equals;
|
|
179
|
+
private constructor();
|
|
180
|
+
cmp(other: ContextKeyExpression): number;
|
|
181
|
+
equals(other: ContextKeyExpression): boolean;
|
|
182
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
183
|
+
evaluate(context: IContext): boolean;
|
|
184
|
+
serialize(): string;
|
|
185
|
+
keys(): string[];
|
|
186
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
187
|
+
negate(): ContextKeyExpression;
|
|
188
|
+
}
|
|
189
|
+
export declare class ContextKeyInExpr implements IContextKeyExpression {
|
|
190
|
+
private readonly key;
|
|
191
|
+
private readonly valueKey;
|
|
192
|
+
static create(key: string, valueKey: string): ContextKeyInExpr;
|
|
193
|
+
readonly type = ContextKeyExprType.In;
|
|
194
|
+
private negated;
|
|
195
|
+
private constructor();
|
|
196
|
+
cmp(other: ContextKeyExpression): number;
|
|
197
|
+
equals(other: ContextKeyExpression): boolean;
|
|
198
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
199
|
+
evaluate(context: IContext): boolean;
|
|
200
|
+
serialize(): string;
|
|
201
|
+
keys(): string[];
|
|
202
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyInExpr;
|
|
203
|
+
negate(): ContextKeyExpression;
|
|
204
|
+
}
|
|
205
|
+
export declare class ContextKeyNotInExpr implements IContextKeyExpression {
|
|
206
|
+
private readonly key;
|
|
207
|
+
private readonly valueKey;
|
|
208
|
+
static create(key: string, valueKey: string): ContextKeyNotInExpr;
|
|
209
|
+
readonly type = ContextKeyExprType.NotIn;
|
|
210
|
+
private readonly _negated;
|
|
211
|
+
private constructor();
|
|
212
|
+
cmp(other: ContextKeyExpression): number;
|
|
213
|
+
equals(other: ContextKeyExpression): boolean;
|
|
214
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
215
|
+
evaluate(context: IContext): boolean;
|
|
216
|
+
serialize(): string;
|
|
217
|
+
keys(): string[];
|
|
218
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
219
|
+
negate(): ContextKeyExpression;
|
|
220
|
+
}
|
|
221
|
+
export declare class ContextKeyNotEqualsExpr implements IContextKeyExpression {
|
|
222
|
+
private readonly key;
|
|
223
|
+
private readonly value;
|
|
224
|
+
private negated;
|
|
225
|
+
static create(key: string, value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
226
|
+
readonly type = ContextKeyExprType.NotEquals;
|
|
227
|
+
private constructor();
|
|
228
|
+
cmp(other: ContextKeyExpression): number;
|
|
229
|
+
equals(other: ContextKeyExpression): boolean;
|
|
230
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
231
|
+
evaluate(context: IContext): boolean;
|
|
232
|
+
serialize(): string;
|
|
233
|
+
keys(): string[];
|
|
234
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
235
|
+
negate(): ContextKeyExpression;
|
|
236
|
+
}
|
|
237
|
+
export declare class ContextKeyNotExpr implements IContextKeyExpression {
|
|
238
|
+
private readonly key;
|
|
239
|
+
private negated;
|
|
240
|
+
static create(key: string, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
241
|
+
readonly type = ContextKeyExprType.Not;
|
|
242
|
+
private constructor();
|
|
243
|
+
cmp(other: ContextKeyExpression): number;
|
|
244
|
+
equals(other: ContextKeyExpression): boolean;
|
|
245
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
246
|
+
evaluate(context: IContext): boolean;
|
|
247
|
+
serialize(): string;
|
|
248
|
+
keys(): string[];
|
|
249
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
250
|
+
negate(): ContextKeyExpression;
|
|
251
|
+
}
|
|
252
|
+
export declare class ContextKeyGreaterExpr implements IContextKeyExpression {
|
|
253
|
+
private readonly key;
|
|
254
|
+
private readonly value;
|
|
255
|
+
private negated;
|
|
256
|
+
static create(key: string, _value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
257
|
+
readonly type = ContextKeyExprType.Greater;
|
|
258
|
+
private constructor();
|
|
259
|
+
cmp(other: ContextKeyExpression): number;
|
|
260
|
+
equals(other: ContextKeyExpression): boolean;
|
|
261
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
262
|
+
evaluate(context: IContext): boolean;
|
|
263
|
+
serialize(): string;
|
|
264
|
+
keys(): string[];
|
|
265
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
266
|
+
negate(): ContextKeyExpression;
|
|
267
|
+
}
|
|
268
|
+
export declare class ContextKeyGreaterEqualsExpr implements IContextKeyExpression {
|
|
269
|
+
private readonly key;
|
|
270
|
+
private readonly value;
|
|
271
|
+
private negated;
|
|
272
|
+
static create(key: string, _value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
273
|
+
readonly type = ContextKeyExprType.GreaterEquals;
|
|
274
|
+
private constructor();
|
|
275
|
+
cmp(other: ContextKeyExpression): number;
|
|
276
|
+
equals(other: ContextKeyExpression): boolean;
|
|
277
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
278
|
+
evaluate(context: IContext): boolean;
|
|
279
|
+
serialize(): string;
|
|
280
|
+
keys(): string[];
|
|
281
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
282
|
+
negate(): ContextKeyExpression;
|
|
283
|
+
}
|
|
284
|
+
export declare class ContextKeySmallerExpr implements IContextKeyExpression {
|
|
285
|
+
private readonly key;
|
|
286
|
+
private readonly value;
|
|
287
|
+
private negated;
|
|
288
|
+
static create(key: string, _value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
289
|
+
readonly type = ContextKeyExprType.Smaller;
|
|
290
|
+
private constructor();
|
|
291
|
+
cmp(other: ContextKeyExpression): number;
|
|
292
|
+
equals(other: ContextKeyExpression): boolean;
|
|
293
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
294
|
+
evaluate(context: IContext): boolean;
|
|
295
|
+
serialize(): string;
|
|
296
|
+
keys(): string[];
|
|
297
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
298
|
+
negate(): ContextKeyExpression;
|
|
299
|
+
}
|
|
300
|
+
export declare class ContextKeySmallerEqualsExpr implements IContextKeyExpression {
|
|
301
|
+
private readonly key;
|
|
302
|
+
private readonly value;
|
|
303
|
+
private negated;
|
|
304
|
+
static create(key: string, _value: any, negated?: ContextKeyExpression | null): ContextKeyExpression;
|
|
305
|
+
readonly type = ContextKeyExprType.SmallerEquals;
|
|
306
|
+
private constructor();
|
|
307
|
+
cmp(other: ContextKeyExpression): number;
|
|
308
|
+
equals(other: ContextKeyExpression): boolean;
|
|
309
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
310
|
+
evaluate(context: IContext): boolean;
|
|
311
|
+
serialize(): string;
|
|
312
|
+
keys(): string[];
|
|
313
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
314
|
+
negate(): ContextKeyExpression;
|
|
315
|
+
}
|
|
316
|
+
export declare class ContextKeyRegexExpr implements IContextKeyExpression {
|
|
317
|
+
private readonly key;
|
|
318
|
+
private readonly regexp;
|
|
319
|
+
static create(key: string, regexp: RegExp | null): ContextKeyRegexExpr;
|
|
320
|
+
readonly type = ContextKeyExprType.Regex;
|
|
321
|
+
private negated;
|
|
322
|
+
private constructor();
|
|
323
|
+
cmp(other: ContextKeyExpression): number;
|
|
324
|
+
equals(other: ContextKeyExpression): boolean;
|
|
325
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
326
|
+
evaluate(context: IContext): boolean;
|
|
327
|
+
serialize(): string;
|
|
328
|
+
keys(): string[];
|
|
329
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyRegexExpr;
|
|
330
|
+
negate(): ContextKeyExpression;
|
|
331
|
+
}
|
|
332
|
+
export declare class ContextKeyNotRegexExpr implements IContextKeyExpression {
|
|
333
|
+
private readonly _actual;
|
|
334
|
+
static create(actual: ContextKeyRegexExpr): ContextKeyExpression;
|
|
335
|
+
readonly type = ContextKeyExprType.NotRegex;
|
|
336
|
+
private constructor();
|
|
337
|
+
cmp(other: ContextKeyExpression): number;
|
|
338
|
+
equals(other: ContextKeyExpression): boolean;
|
|
339
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
340
|
+
evaluate(context: IContext): boolean;
|
|
341
|
+
serialize(): string;
|
|
342
|
+
keys(): string[];
|
|
343
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
344
|
+
negate(): ContextKeyExpression;
|
|
345
|
+
}
|
|
346
|
+
export declare class ContextKeyAndExpr implements IContextKeyExpression {
|
|
347
|
+
readonly expr: ContextKeyExpression[];
|
|
348
|
+
private negated;
|
|
349
|
+
static create(_expr: ReadonlyArray<ContextKeyExpression | null | undefined>, negated: ContextKeyExpression | null, extraRedundantCheck: boolean): ContextKeyExpression | undefined;
|
|
350
|
+
readonly type = ContextKeyExprType.And;
|
|
351
|
+
private constructor();
|
|
352
|
+
cmp(other: ContextKeyExpression): number;
|
|
353
|
+
equals(other: ContextKeyExpression): boolean;
|
|
354
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
355
|
+
evaluate(context: IContext): boolean;
|
|
356
|
+
private static _normalizeArr;
|
|
357
|
+
serialize(): string;
|
|
358
|
+
keys(): string[];
|
|
359
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
360
|
+
negate(): ContextKeyExpression;
|
|
361
|
+
}
|
|
362
|
+
export declare class ContextKeyOrExpr implements IContextKeyExpression {
|
|
363
|
+
readonly expr: ContextKeyExpression[];
|
|
364
|
+
private negated;
|
|
365
|
+
static create(_expr: ReadonlyArray<ContextKeyExpression | null | undefined>, negated: ContextKeyExpression | null, extraRedundantCheck: boolean): ContextKeyExpression | undefined;
|
|
366
|
+
readonly type = ContextKeyExprType.Or;
|
|
367
|
+
private constructor();
|
|
368
|
+
cmp(other: ContextKeyExpression): number;
|
|
369
|
+
equals(other: ContextKeyExpression): boolean;
|
|
370
|
+
substituteConstants(): ContextKeyExpression | undefined;
|
|
371
|
+
evaluate(context: IContext): boolean;
|
|
372
|
+
private static _normalizeArr;
|
|
373
|
+
serialize(): string;
|
|
374
|
+
keys(): string[];
|
|
375
|
+
map(mapFnc: IContextKeyExprMapper): ContextKeyExpression;
|
|
376
|
+
negate(): ContextKeyExpression;
|
|
377
|
+
}
|
|
378
|
+
export interface ContextKeyInfo {
|
|
379
|
+
readonly key: string;
|
|
380
|
+
readonly type?: string;
|
|
381
|
+
readonly description?: string;
|
|
382
|
+
}
|
|
383
|
+
export declare class RawContextKey<T extends ContextKeyValue> extends ContextKeyDefinedExpr {
|
|
384
|
+
private static _info;
|
|
385
|
+
static all(): IterableIterator<ContextKeyInfo>;
|
|
386
|
+
private readonly _defaultValue;
|
|
387
|
+
constructor(key: string, defaultValue: T | undefined, metaOrHide?: string | true | {
|
|
388
|
+
type: string;
|
|
389
|
+
description: string;
|
|
390
|
+
});
|
|
391
|
+
bindTo(target: IContextKeyService): IContextKey<T>;
|
|
392
|
+
getValue(target: IContextKeyService): T | undefined;
|
|
393
|
+
toNegated(): ContextKeyExpression;
|
|
394
|
+
isEqualTo(value: any): ContextKeyExpression;
|
|
395
|
+
notEqualsTo(value: any): ContextKeyExpression;
|
|
396
|
+
greater(value: any): ContextKeyExpression;
|
|
397
|
+
}
|
|
398
|
+
export type ContextKeyValue = null | undefined | boolean | number | string | Array<null | undefined | boolean | number | string> | Record<string, null | undefined | boolean | number | string>;
|
|
399
|
+
export interface IContext {
|
|
400
|
+
getValue<T extends ContextKeyValue = ContextKeyValue>(key: string): T | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface IContextKey<T extends ContextKeyValue = ContextKeyValue> {
|
|
403
|
+
set(value: T): void;
|
|
404
|
+
reset(): void;
|
|
405
|
+
get(): T | undefined;
|
|
406
|
+
}
|
|
407
|
+
export interface IContextKeyServiceTarget {
|
|
408
|
+
parentElement: IContextKeyServiceTarget | null;
|
|
409
|
+
setAttribute(attr: string, value: string): void;
|
|
410
|
+
removeAttribute(attr: string): void;
|
|
411
|
+
hasAttribute(attr: string): boolean;
|
|
412
|
+
getAttribute(attr: string): string | null;
|
|
413
|
+
}
|
|
414
|
+
export declare const IContextKeyService: import("@delta-ai/platform/instantiation/common/instantiation.js").ServiceIdentifier<IContextKeyService>;
|
|
415
|
+
export interface IReadableSet<T> {
|
|
416
|
+
has(value: T): boolean;
|
|
417
|
+
}
|
|
418
|
+
export interface IContextKeyChangeEvent {
|
|
419
|
+
affectsSome(keys: IReadableSet<string>): boolean;
|
|
420
|
+
allKeysContainedIn(keys: IReadableSet<string>): boolean;
|
|
421
|
+
}
|
|
422
|
+
export type IScopedContextKeyService = IContextKeyService & IDisposable;
|
|
423
|
+
export interface IContextKeyService {
|
|
424
|
+
readonly _serviceBrand: undefined;
|
|
425
|
+
readonly onDidChangeContext: Event<IContextKeyChangeEvent>;
|
|
426
|
+
bufferChangeEvents(callback: Function): void;
|
|
427
|
+
createKey<T extends ContextKeyValue>(key: string, defaultValue: T | undefined): IContextKey<T>;
|
|
428
|
+
contextMatchesRules(rules: ContextKeyExpression | undefined): boolean;
|
|
429
|
+
getContextKeyValue<T>(key: string): T | undefined;
|
|
430
|
+
createScoped(target: IContextKeyServiceTarget): IScopedContextKeyService;
|
|
431
|
+
createOverlay(overlay: Iterable<[string, any]>): IContextKeyService;
|
|
432
|
+
getContext(target: IContextKeyServiceTarget | null): IContext;
|
|
433
|
+
updateParent(parentContextKeyService: IContextKeyService): void;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Returns true if it is provable `p` implies `q`.
|
|
437
|
+
*/
|
|
438
|
+
export declare function implies(p: ContextKeyExpression, q: ContextKeyExpression): boolean;
|
|
439
|
+
//# sourceMappingURL=contextkey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextkey.d.ts","sourceRoot":"","sources":["../../../src/contextkey/common/contextkey.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAGvD,OAAO,EAAW,KAAK,WAAW,EAAyB,MAAM,cAAc,CAAC;AAGhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAgBtE,oNAAoN;AACpN,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,QAItD;AAID,0BAAkB,kBAAkB;IACnC,KAAK,IAAI;IACT,IAAI,IAAI;IACR,OAAO,IAAI;IACX,GAAG,IAAI;IACP,MAAM,IAAI;IACV,SAAS,IAAI;IACb,GAAG,IAAI;IACP,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,EAAE,IAAI;IACN,EAAE,KAAK;IACP,KAAK,KAAK;IACV,OAAO,KAAK;IACZ,aAAa,KAAK;IAClB,OAAO,KAAK;IACZ,aAAa,KAAK;CAClB;AAED,MAAM,WAAW,qBAAqB;IACrC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;IAC9C,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,CAAC;IAC1C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,oBAAoB,CAAC;IACzD,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,oBAAoB,CAAC;IAC5D,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,oBAAoB,CAAC;IAC1D,gBAAgB,CAAC,GAA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