visitWritePropExpr method
Implementation
@override
void visitWritePropExpr(o.WritePropExpr expr, EmitterVisitorContext context) {
var lineWasEmpty = context.lineIsEmpty();
if (!lineWasEmpty) {
context.print('(');
}
expr.receiver.visitExpression(this, context);
context.print('.${expr.name} = ');
expr.value.visitExpression(this, context);
if (!lineWasEmpty) {
context.print(')');
}
}