tsastgen --root-node=AST calc-spec.ts:calc.ts Read theexamplefor a much more detailed explanation of how code is generated. How to match certain generated AST nodes Here's an example of how the generated code might be used: import{Expression}from"./calc"exportfunctioncalculate(node:Expressi...