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