function IOHandler()

in lib/kcl/io_handler.js [24:34]


function IOHandler(inputFile, outputFile, errorFile) {
  this._inputFile = inputFile;
  this._outputFile = outputFile;
  this._errorFile = errorFile;

  this._readlineInterface = readline.createInterface(this._inputFile, this._outputFile);
  this._onInputLineCallback = this._onInputLine.bind(this);
  this._onInputCloseCallback = this._onInputClose.bind(this);
  this._readlineInterface.on('line', this._onInputLineCallback);
  this._readlineInterface.on('close', this._onInputCloseCallback);
}