The analysis of literary texts serves the following functions:
Interpersonal function
Ideational function
Textual function