MCPcopy
hub / github.com/claude-code-best/claude-code / IParsedCommand

Interface IParsedCommand

src/utils/bash/ParsedCommand.ts:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 * Both tree-sitter and regex fallback implementations conform to this.
20 */
21export interface IParsedCommand {
22 readonly originalCommand: string
23 toString(): string
24 getPipeSegments(): string[]
25 withoutOutputRedirections(): string
26 getOutputRedirections(): OutputRedirection[]
27 /**
28 * Returns tree-sitter analysis data if available.
29 * Returns null for the regex fallback implementation.
30 */
31 getTreeSitterAnalysis(): TreeSitterAnalysis | null
32}
33
34/**
35 * @deprecated Legacy regex/shell-quote path. Only used when tree-sitter is

Callers 12

parseAesKeyFunction · 0.65
uploadFileFunction · 0.65
randomUinFunction · 0.65
downloadMediaFunction · 0.65
media.test.tsFile · 0.65
handlerFunction · 0.65
interceptMethod · 0.65
setClipboardFunction · 0.65

Implementers 2

RegexParsedCommand_DEPRECATEDsrc/utils/bash/ParsedCommand.ts
TreeSitterParsedCommandsrc/utils/bash/ParsedCommand.ts

Calls

no outgoing calls

Tested by

no test coverage detected