import type { AstNode } from './node.js'; /** * The children of a node, in source order. * * This is the only place the shape of the tree is written down twice, and it is * deliberately the only one. Everything that walks the tree walks it through * here, so a field added to a node is connected once and every pass sees it, * rather than being connected in the checker, forgotten in the code generator, * and found by a user whose script compiled to something with a hole in it. * * The switch has no default arm on purpose: a new node kind stops the build * here, at the one place that has to know about it. */ export declare function childrenOf(node: AstNode): readonly AstNode[]; //# sourceMappingURL=children.d.ts.map