I was looking at the parser API and I noticed that in the class ForOfLoopTree, the methods getStatement() and getVariable() have the following javadoc, respectively: The statement contained in this for..in statement. The for..in left hand side expression. In both cases "for..in" should read "for..of".