parseArrowFunctionBody method
Implementation
BlockStatement parseArrowFunctionBody() {
if (token!.type == Token.LBRACE) {
return parseBlock();
}
Expression exp = parseExpression();
if (token!.type == Token.SEMICOLON) {
consumeSemicolon();
}
return BlockStatement([ReturnStatement(exp)]);
}