MCPcopy
hub / github.com/codeaashu/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

runFunction · 0.65
callFunction · 0.65
callFunction · 0.65
createImageResponseFunction · 0.65
callInnerFunction · 0.65
uploadBriefAttachmentFunction · 0.65
validateInputFunction · 0.65
applySedSubstitutionFunction · 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