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

Method create

contextKeyExpr/src/contextkey.ts:787–793  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

785export class ContextKeyNotExpr implements IContextKeyExpression {
786
787 public static create(key: string): ContextKeyExpression {
788 const staticValue = STATIC_VALUES.get(key);
789 if (typeof staticValue === 'boolean') {
790 return (staticValue ? ContextKeyFalseExpr.INSTANCE : ContextKeyTrueExpr.INSTANCE);
791 }
792 return new ContextKeyNotExpr(key);
793 }
794
795 public readonly type = ContextKeyExprType.Not;
796

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected