According to Chao (1970): A grammar in the wider sense is the total description of a language, including and often emphasizing its phonology, as well as other aspects of its structure. For example, Jakob Grimm of “Grimm’s law” called his work Deutsche Grammatik, which was a comparative study of the Germanic languages. Textbooks for learning foreign languages are also often called grammars of such and such, even including lesson by lesson reading material. In the present work we shall take grammar in the narrower sense of the study of the structure of spoken Chinese above the level of phonology.
Chao Y R. A grammar of spoken Chinese[M]. Univ of California Press, 1965.