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(var i=0, len=events.length; i<len; i++) {
      var event = events[i];
      if(typeof listener[event] != 'function') {
        throw new Error("Error. No " + event + " function exists on " + JSON.stringify(listener));
      }
    }
    this.listener = listener;
  }
docs: /* line 131 "ragel/i18n/en.js.rl" /* line 132 "ragel/i18n/en.js.rl"