Fixed getAssignmentStatements

I basically copied your code into advancedParserClasses.