determines append type between -=, +=, /=, ^=, %= depending on the enum mapping using the passed in argument tokentypenode