function kw(name, options = {}) {
  options.keyword = name
  return keywords[name] = new TokenType(name, options)
}
function kw(name, options = {}) {
  options.keyword = name
  return keywords[name] = new TokenType(name, options)
}
function kw ( name , options = { } ) { options . keyword = name return keywords [ name ] = new TokenType ( name , options ) }
Succinct definitions of keyword token types
Succinct definitions of keyword token types