printAST
Simple utility to convert TypeScript AST to a string.
example
printAst(
tsg.expr.operation(
tsg.expr.id("a"),
"+",
tsg.expr.id("b")
)
); // returns: "a + b"
Simple utility to convert TypeScript AST to a string.
printAst(
tsg.expr.operation(
tsg.expr.id("a"),
"+",
tsg.expr.id("b")
)
); // returns: "a + b"