Skip to content

Commit 17bedc0

Browse files
committed
refactor(generator): use poet statement types instead of RawStmt
Replace RawStmt usage with structured statement types where applicable: - poet.Return for return statements - poet.Switch for switch statements - poet.If for if statements Also: - Use Pointer field on Param instead of "*" prefix in Type - Format multi-value switch cases on separate lines - Keep line lengths under 90 chars for readability This makes the code generation more structured and type-safe while maintaining identical output.
1 parent 49a0f51 commit 17bedc0

File tree

2 files changed

+211
-108
lines changed

2 files changed

+211
-108
lines changed

0 commit comments

Comments
 (0)