view paper/src/meta.pm @ 20:284ddeee0f9a

...
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 30 Jan 2021 13:29:28 +0900
parents
children
line wrap: on
line source

package meta;
use strict;
use warnings;

sub replaceMeta {
  return (
    [qr/PhilsImpl/ => \&generateMcMeta],
  );
}

sub generateMcMeta {
  my ($context, $next) = @_;
  return "goto mcMeta($context, $next);";
}

1;