Refactor expression analysis function into separate functions for each kind of node
Refactor error handling in expression analysis
Sort tokens alphabetically
Merge primary analysis into expression analysis
Refactor prim_value into literal and prim_path
Refactor tempvars creation