Skip to content

Interface ParameterExpansionNode

Source: shellAST.ts

Represents a parameter expansion (e.g., ${HOME}).

Extends

Properties

type

type: ParameterExpansion

The type of this node.

Overrides

BaseNode.type


name

name: string

The name of the variable (e.g., "HOME" in ${HOME}).


operator?

optional operator?: "-" | "=" | "+" | "?"

The expansion operator.


argument?

optional argument?: Argument

The optional argument following the operator, which may contain further expansions.

Built by Prozilla