MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / parse

Function parse

source code/utils/bash/ParsedCommand.ts:312–319  ·  view source on GitHub ↗

* Parse a command string and return a ParsedCommand instance. * Returns null if parsing fails completely.

(command: string)

Source from the content-addressed store, hash-verified

310 * Returns null if parsing fails completely.
311 */
312 parse(command: string): Promise<IParsedCommand | null> {
313 if (command === lastCmd && lastResult !== undefined) {
314 return lastResult
315 }
316 lastCmd = command
317 lastResult = doParse(command)
318 return lastResult
319 },
320}

Callers 8

getDirectoriesToProcessFunction · 0.85
tryGetPDFReferenceFunction · 0.85
generateFileAttachmentFunction · 0.85
claudemd.tsFile · 0.85
parseJSONLBunFunction · 0.85
getMcpConfigsByScopeFunction · 0.85
waitForCallbackFunction · 0.85
performMCPOAuthFlowFunction · 0.85

Calls 1

doParseFunction · 0.85

Tested by

no test coverage detected