use ;
use crateProgram;
use crateconvert;
use crateParseError;
/// Parse bash source into a tree-sitter CST. Useful when callers want to walk the
/// raw CST themselves; most consumers want [`parse_to_ast`] instead.
/// Parse bash source and convert to the typed AST. Returns an error if any node kind
/// is unrecognized (we treat unknown kinds as a bug rather than silently dropping
/// them, so the typed surface stays in lockstep with the grammar).