visitAssertStmt method
Implementation
@override
String visitAssertStmt(AssertStmt stmt) {
final output = StringBuffer();
output.write('${_lexicon.kAssert} ');
final exprString = formatAST(stmt.expr);
output.write(exprString);
if (stmt.hasEndOfStmtMark) {
output.write(_lexicon.endOfStatementMark);
}
return output.toString();
}