evaluated.add(PHPSimpleTypes.VOID);
} else {
returnExpressions.add(expr);
}
} else if (node instanceof YieldExpression) {
YieldExpression statement = (YieldExpression) node;
Expression expr = statement.getExpr();
yieldExpressions.add(expr);
}
return super.visitGeneral(node);
}
};