use of com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree in project closure-compiler by google.
the class Parser method parseForInStatement.
// 12.6.4 The for-in Statement
private ParseTree parseForInStatement(SourcePosition start, ParseTree initializer) {
eat(TokenType.IN);
ParseTree collection = parseExpression();
eat(TokenType.CLOSE_PAREN);
ParseTree body = parseStatement();
return new ForInStatementTree(getTreeLocation(start), initializer, collection, body);
}
Aggregations