code: function(listener) {
          // Check that listener has the required functions
          var events = ['comment', 'tag', 'feature', 'background', 'scenario', 'scenario_outline', 'examples', 'step', 'doc_string', 'row', 'eof'];
          for(e in events) {
            var event = events[e];
            if(typeof listener[event] != 'function') {
              "Error. No " + event + " function exists on " + JSON.stringify(listener);
            }
          }
          this.listener = listener;
        }
docs: /* line 130 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en.js.rl" /* line 131 "/Users/ahellesoy/github/gherkin/tasks/../ragel/i18n/en.js.rl"