(nodes: AstNode[])
| 117 | } |
| 118 | |
| 119 | export function atRoot(nodes: AstNode[]): AtRoot { |
| 120 | return { |
| 121 | kind: 'at-root', |
| 122 | nodes, |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | export function cloneAstNode<T extends AstNode>(node: T): T { |
| 127 | switch (node.kind) { |
no outgoing calls
no test coverage detected