/**
 * Creates an identifier node.
 */
export function identifier(value, quoted = false) {
    return {
        node_kind: "identifier",
        value,
        quoted,
    };
}
export function columnReference(parts) {
    if (parts.length === 0) {
        throw new Error("columnReference requires at least one part");
    }
    return {
        node_kind: "column_reference",
        path: parts.map((part) => identifier(part)),
    };
}
//# sourceMappingURL=nodes.js.map