use of com.google.javascript.jscomp.parsing.parser.trees.ForAwaitOfStatementTree in project closure-compiler by google.
the class Parser method parseForAwaitOfStatement.
private ParseTree parseForAwaitOfStatement(SourcePosition start, ParseTree initializer) {
eatPredefinedString(PredefinedName.OF);
ParseTree collection = parseExpression();
eat(TokenType.CLOSE_PAREN);
ParseTree body = parseStatement();
return new ForAwaitOfStatementTree(getTreeLocation(start), initializer, collection, body);
}
Aggregations