writeNode

fun <T> writeNode(node: INode, body: () -> T): T