parseThrow method
Implementation
Statement parseThrow() {
int? start = token!.startOffset;
int? line = token!.line;
assert(token!.text == 'throw');
consume(Token.NAME);
Expression exp = parseExpression();
consumeSemicolon();
return ThrowStatement(exp)
..start = start
..end = endOffset
..line = line;
}