visitThrowStmt method

  1. @override
void visitThrowStmt(
  1. ThrowStmt stmt,
  2. EmitterVisitorContext context
)
override

Implementation

@override
void visitThrowStmt(o.ThrowStmt stmt, EmitterVisitorContext context) {
  context.print('throw ');
  stmt.error.visitExpression(this, context);
  context.println(';');
}