This is play on the word grating, or gratingly. Parmesan is a cheese. Cheese needs to be put through a grater if you want cheese in sprinkles. Gratingly here means in an irritating fashion.
' ' Would anyone like some Parmesan ? ' ' asked Tom gratingly .