(
command: string,
pipePositions: number[],
redirectionNodes: RedirectionNode[],
treeSitterAnalysis: TreeSitterAnalysis,
)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected