core/expression: added GeneratorExp handling