VAST/postcircumfix__S_Paren_Thesis.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 33 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use v5.10;
2 use MooseX::Declare;
3 use utf8;
4 class VAST::postcircumfix__S_Paren_Thesis {
5 use Mildew::AST::Helpers;
6 method emit_m0ld {
7 my $arg;
8 if ($self->{arg}->isa('VAST::term__S_name')) {
9 my @name = $self->{arg}{longname}->components;
10 my $name = pop(@name);
11 if (scalar @name) {
12 $arg = call('postcircumfix:{ }'=>FETCH(lookup_package(@name)),[string('&'.$name)]);
13 } else {
14 $arg = lookup('&'.$name);
15 }
16 } else {
17 $arg = $self->{arg}->emit_m0ld;
18 }
19 call 'postcircumfix:( )' => FETCH($arg),[capturize(named_and_positional($self->{postop}{postcircumfix}{semiarglist}->emit_m0ld))];
20 }
21 }