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

Function _deserializeOrExpression

contextKeyExpr/src/contextkey.ts:128–131  ·  view source on GitHub ↗
(serialized: string, strict: boolean)

Source from the content-addressed store, hash-verified

126 }
127
128 private static _deserializeOrExpression(serialized: string, strict: boolean): ContextKeyExpression | undefined {
129 let pieces = serialized.split('||');
130 return ContextKeyOrExpr.create(pieces.map(p => this._deserializeAndExpression(p, strict)));
131 }
132
133 private static _deserializeAndExpression(serialized: string, strict: boolean): ContextKeyExpression | undefined {
134 let pieces = serialized.split('&&');

Callers

nothing calls this directly

Calls 2

mapMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected