Anaphor resolution typically builds on many sources of information-among them, information about the grammatical structure of the sentence-so that the different filters and preferences may be used.
it must in general be regarded as a postgrammatical process, in the sense that it is completed after sentences are parsed.