if (flowPeek().getFunctionStatement().getType() == Type.CONSTRUCTOR) {
if (expression != null) {
error(toLocation(t), "Constructors cannot be generators");
}
}
stmt = new YieldStatement(flowPeek(), toLocation(t), expression);
StatementModifier(stmt);
}