lib/parser.js
function forwardEvent (event) {
    var n = Atok.events[event]
      , args = []

    while (n > 0) args.push('a' + n--)
    args = args.join()

    return 'atok.on("'
      + event
      + '", function forwardEvent (' + args + ') { self.emit_' + event + '(' + args + ') })'
  }
function forwardEvent (event) {
    var n = Atok.events[event]
      , args = []

    while (n > 0) args.push('a' + n--)
    args = args.join()

    return 'atok.on("'
      + event
      + '", function forwardEvent (' + args + ') { self.emit_' + event + '(' + args + ') })'
  }
function forwardEvent ( event ) { var n = Atok . events [ event ] , args = [ ] while ( n > 0 ) args . push ( 'a' + n -- ) args = args . join ( ) return 'atok.on("' + event + '", function forwardEvent (' + args + ') { self.emit_' + event + '(' + args + ') })' }
Set an event arguments list
Set an event arguments list