Fixed bugs, reaaranged code to follow the order from RASCAL ast, and
pass the str as an argument
Fixed Convert Local Field to variable: uninitialized variable
declarations were not successfully converted.