[erl-frontend] Split up pattern translation into helper functions
[erl-frontend] Split up pattern translation into helper functions

Summary: Some refactoring to make the code more readable.

Reviewed By: rgrig

Differential Revision: D30838471

fbshipit-source-id: 886cc9253

jvillard/infer,jvillard/infer,facebook/infer,jvillard/infer,facebook/infer,facebook/infer,facebook/infer,facebook/infer,facebook/infer,jvillard/infer,facebook/infer,jvillard/infer,jvillard/infer,jvillard/infer