}
@Override
public Void visitYieldStatement(YieldStatement node) {
if (!inGenerator) {
CompileTimeErrorCode errorCode;
if (node.getStar() != null) {
errorCode = CompileTimeErrorCode.YIELD_EACH_IN_NON_GENERATOR;
} else {
errorCode = CompileTimeErrorCode.YIELD_IN_NON_GENERATOR;
}