Anaphora is the repetition of a syntaxtical structure and it is generally used in the scriptual register. Depending on context, it generally shows the repetition of the event described and it draws attention to the act described. Check out the Penguin's Guide to Literary Terms and Theory. Good book for technique spamming.