dillon1000/react
Commit
Browse files TryStatement: try terminal scaffolding
This PR adds the other piece, a 'try' terminal which represents try/catch and the possibility of fallthrough to the code afterwards. For now `finally` is unsupported. We don't yet produce these terminals, see later in the stack.
Changed paths11 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/HIR/HIR.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/HIR/HIRBuilder.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/HIR/PrintHIR.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/HIR/visitors.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/BuildReactiveFunction.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/FlattenReactiveLoops.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/PrintReactiveFunction.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/PropagateScopeDependencies.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/visitors.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/Utils/VisualizeHIRMermaid.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…