Skip to content

Interface RedirectionNode

Source: shellAST.ts

Represents a file descriptor redirection.

Extends

Properties

type

type: Redirection

The type of this node.

Overrides

BaseNode.type


fileDescriptor

fileDescriptor: number

The file descriptor to redirect (e.g., 0 for stdin, 1 for stdout, 2 for stderr).


operator

operator: "<" | ">" | ">>" | "<&" | ">&"

The redirection operator.


target

target: Argument

The target of the redirection, usually a file path or another file descriptor.

Built by Prozilla