in lib/generator.js [840:870]
visitStmt(ast, level) {
let comments = DSL.comment.getFrontComments(this.comments, ast.tokenRange[0]);
this.visitComments(comments, level);
if (ast.type === 'return') {
this.visitReturn(ast, level);
} else if (ast.type === 'yield') {
this.visitYield(ast, level);
} else if (ast.type === 'if') {
this.visitIf(ast, level);
} else if (ast.type === 'throw') {
this.visitThrow(ast, level);
} else if (ast.type === 'assign') {
this.visitAssign(ast, level);
} else if (ast.type === 'retry') {
this.visitRetry(ast, level);
} else if (ast.type === 'break') {
this.emit('break;\n', level);
} else if (ast.type === 'declare') {
this.visitDeclare(ast, level);
} else if (ast.type === 'while') {
this.visitWhile(ast, level);
} else if (ast.type === 'for') {
this.visitFor(ast, level);
} else if (ast.type === 'try') {
this.visitTry(ast, level);
} else {
this.emit('', level);
this.visitExpr(ast, level);
this.emit(';\n');
}
}