use of com.google.javascript.jscomp.parsing.parser.trees.NewTargetExpressionTree in project closure-compiler by google.
the class Parser method parseNewDotSomething.
private ParseTree parseNewDotSomething() {
// currently only "target" is valid after "new."
SourcePosition start = getTreeStartLocation();
eat(TokenType.NEW);
eat(TokenType.PERIOD);
eatPredefinedString("target");
return new NewTargetExpressionTree(getTreeLocation(start));
}
Aggregations