lib/parser.js
function Parser(config) {
  if (!(this instanceof Parser)) return new Parser(config);

  this.config = config;

  this.config.on('read', function read(type) {
    this[type]();
  }.bind(this));
}
function Parser(config) {
  if (!(this instanceof Parser)) return new Parser(config);

  this.config = config;

  this.config.on('read', function read(type) {
    this[type]();
  }.bind(this));
}
function Parser ( config ) { if ( ! ( this instanceof Parser ) ) return new Parser ( config ) ; this . config = config ; this . config . on ( 'read' , function read ( type ) { this [ type ] ( ) ; } . bind ( this ) ) ; }
Automatic parser interface for configuration changes.

@constructor
@param {Configuration} config The parent configuration instance
@api private
Automatic parser interface for configuration changes .