use of com.google.javascript.jscomp.parsing.parser.trees.IterRestTree in project closure-compiler by google.
the class Parser method parseIterRest.
private ParseTree parseIterRest(PatternKind patternKind) {
SourcePosition start = getTreeStartLocation();
eat(TokenType.ELLIPSIS);
ParseTree patternAssignmentTarget = parseRestAssignmentTarget(patternKind);
return new IterRestTree(getTreeLocation(start), patternAssignmentTarget);
}
Aggregations