mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 02:02:35 -05:00
Merge from vscode 6268feb42ba4f2e2fa15484e88c9af60d254998c (#6530)
This commit is contained in:
@@ -21,10 +21,10 @@ export const enum ContextKeyExprType {
|
||||
}
|
||||
|
||||
export interface IContextKeyExprMapper {
|
||||
mapDefined(key: string): ContextKeyDefinedExpr;
|
||||
mapNot(key: string): ContextKeyNotExpr;
|
||||
mapEquals(key: string, value: any): ContextKeyEqualsExpr;
|
||||
mapNotEquals(key: string, value: any): ContextKeyNotEqualsExpr;
|
||||
mapDefined(key: string): ContextKeyExpr;
|
||||
mapNot(key: string): ContextKeyExpr;
|
||||
mapEquals(key: string, value: any): ContextKeyExpr;
|
||||
mapNotEquals(key: string, value: any): ContextKeyExpr;
|
||||
mapRegex(key: string, regexp: RegExp | null): ContextKeyRegexExpr;
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ function cmp(a: ContextKeyExpr, b: ContextKeyExpr): number {
|
||||
}
|
||||
|
||||
export class ContextKeyDefinedExpr implements ContextKeyExpr {
|
||||
public static create(key: string): ContextKeyExpr {
|
||||
public static create(key: string): ContextKeyDefinedExpr {
|
||||
return new ContextKeyDefinedExpr(key);
|
||||
}
|
||||
|
||||
@@ -451,7 +451,7 @@ export class ContextKeyNotExpr implements ContextKeyExpr {
|
||||
|
||||
export class ContextKeyRegexExpr implements ContextKeyExpr {
|
||||
|
||||
public static create(key: string, regexp: RegExp | null): ContextKeyExpr {
|
||||
public static create(key: string, regexp: RegExp | null): ContextKeyRegexExpr {
|
||||
return new ContextKeyRegexExpr(key, regexp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user