pub fn expr_to_string(expr: &Expr) -> String
Converts an expression to its TypeScript string representation.
This is used by the template compiler to convert AST nodes back to strings for runtime parsing.