module.exports = class ReturnStatement {
  constructor(returnValue) {
    this.returnValue = returnValue;
  }

  analyze(context) { // eslint-disable-line class-methods-use-this
    context.assertInFunction('Return statement outside function');
  }
};

@@ -128,54 +128,47 @@
 t) %7B
- // eslint-disable-line class-methods-use-this
+%0A    this.returnValue.analyze(context);
 %0A   

Analyze return expression