parseNewExpression method
Implementation
Expression parseNewExpression() {
assert(token?.text == 'new');
Token? newTok = next();
if (peekName('new')) {
Expression exp = parseNewExpression();
return new CallExpression.newCall(exp, <Expression>[])
..start = newTok?.startOffset??0
..end = endOffset
..line = newTok?.line??0;
}
return parseMemberExpression(newTok);
}