MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / cmp

Method cmp

contextKeyExpr/src/contextkey.ts:50–50  ·  view source on GitHub ↗
(other: ContextKeyExpression)

Source from the content-addressed store, hash-verified

48
49export interface IContextKeyExpression {
50 cmp(other: ContextKeyExpression): number;
51 equals(other: ContextKeyExpression): boolean;
52 evaluate(context: IContext): boolean;
53 serialize(): string;

Callers 4

cmpFunction · 0.65
cmpMethod · 0.65
cmpFunction · 0.65
cmpMethod · 0.65

Implementers 15

ContextKeyFalseExprcontextKeyExpr/src/contextkey.ts
ContextKeyTrueExprcontextKeyExpr/src/contextkey.ts
ContextKeyDefinedExprcontextKeyExpr/src/contextkey.ts
ContextKeyEqualsExprcontextKeyExpr/src/contextkey.ts
ContextKeyNotEqualsExprcontextKeyExpr/src/contextkey.ts
ContextKeyGreaterOrEqualsExprcontextKeyExpr/src/contextkey.ts
ContextKeyGreaterExprcontextKeyExpr/src/contextkey.ts
ContextKeyLessExprcontextKeyExpr/src/contextkey.ts
ContextKeyLessOrEqualsExprcontextKeyExpr/src/contextkey.ts
ContextKeyNotExprcontextKeyExpr/src/contextkey.ts
ContextKeyRegexExprcontextKeyExpr/src/contextkey.ts
ContextKeyNotRegexExprcontextKeyExpr/src/contextkey.ts

Calls

no outgoing calls

Tested by

no test coverage detected