Partially rewrite the analysis code to focus more on the symbols and to use the various subtypes of symbols that I didnt know about before. This allows access to more specific information about each token.