visitThrowStmt method
Implementation
@override
String visitThrowStmt(ThrowStmt stmt) {
final output = StringBuffer();
output.write('${_lexicon.kThrow} ');
final messageString = formatAST(stmt.message);
output.write(messageString);
if (stmt.hasEndOfStmtMark) {
output.write(_lexicon.endOfStatementMark);
}
return output.toString();
}