/** * Command Substitution Helpers * * Helper functions for handling command substitution patterns. */ import type { ScriptNode, WordNode } from "../../ast/types.js"; /** * Check if a command substitution body matches the $(