If the frost is mild your squashes should be ok, they regrow new leaves fast anyways, the tomaters not so sure. Worse case leave the fruits on the vine as it withers down and see if you can get a few extra days of ripening on them.
Frost sneaks like that, when we get early season or last minute frost, everything seems fine then bing in about a 5 minute period it just zip everything ffreezes. the main thing is how long the frost was on them and how badly the leaf got frozen, which will killit
aaron