Implement literal-parser generation for records.

This implements the `refresh(string, T)` overload for each record type.