<commit_before>package express;

import js.Error;

typedef FNext = Void -> Void;
typedef FNextRoute = String -> Void;
typedef FNextError = Error -> Void;

abstract Next(Dynamic)
  from FNext to FNext
  from FNextRoute to FNextRoute
  from FNextError to FNextError
{
  public inline function call() {
    untyped this();
  }

  public inline function error(err : js.Error) {
    untyped this(err);
  }
}<commit_msg>added .route() to Next abstract<commit_after>package express;

import js.Error;

typedef FNext = Void -> Void;
typedef FNextRoute = String -> Void;
typedef FNextError = Error -> Void;

abstract Next(Dynamic)
  from FNext to FNext
  from FNextRoute to FNextRoute
  from FNextError to FNextError
{
  public inline function call()
    untyped this();

  public inline function error(err : js.Error)
    untyped this(err);

  public inline function route()
    untyped this("route");
}
{'fraction_non_alphanumeric': 0.09162011173184358, 'fraction_numerical': 0.0, 'mean_word_length': 3.8961748633879782, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4850704', 'n_tokens_mistral': 300, 'n_tokens_neox': 275, 'n_words': 96}