printTree
Print an AlloyNode tree to a string.
import { printTree } from "@alloy-js/core";
function printTree(node: AlloyNode, opts?: PrintTreeOptions & RenderTreeOptions): string;Parameters
Section titled “Parameters”| node | AlloyNode | |
| opts | optional PrintTreeOptions & RenderTreeOptions |
Returns
Section titled “Returns”string