refactor: remove callback nesting from done
token parser
#1448
+139
−44
done
token parser
#1448