Add syntax support for ES6 generators

Add support for ES6 function* syntax