@jpolitz you made this commit:
e59d968
Are you still relying on these functions? They are not public (i.e., not declared in the interface). Of course, nothing is really private in JS or TS.
I ask because I've encountered a situation where babylon's parser can throw an exception in certain weird cases. It may not be an issue for you, but wanted to check.