MCPcopy Create free account
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/utils/bash/ParsedCommand.ts:164–175  ·  view source on GitHub ↗
(
    command: string,
    pipePositions: number[],
    redirectionNodes: RedirectionNode[],
    treeSitterAnalysis: TreeSitterAnalysis,
  )

Source from the content-addressed store, hash-verified

162 private readonly treeSitterAnalysis: TreeSitterAnalysis
163
164 constructor(
165 command: string,
166 pipePositions: number[],
167 redirectionNodes: RedirectionNode[],
168 treeSitterAnalysis: TreeSitterAnalysis,
169 ) {
170 this.originalCommand = command
171 this.commandBytes = Buffer.from(command, 'utf8')
172 this.pipePositions = pipePositions
173 this.redirectionNodes = redirectionNodes
174 this.treeSitterAnalysis = treeSitterAnalysis
175 }
176
177 toString(): string {
178 return this.originalCommand

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected