VAST/dotty__S_Dot.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran 0.0% 0 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 34 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 class VAST::dotty__S_Dot {
4 use Mildew::AST::Helpers;
5 method emit_m0ld {
6 use YAML::XS;
7 # STD workaround
8  
9 my $dottyop = $self->{'.'}[1]{dotty}{dottyop};
10 if (my $methodop = $dottyop->{methodop}) {
11 call $methodop->{longname}->canonical => FETCH($self->{arg}->emit_m0ld),named_and_positional(
12 @{$methodop->{args}} ? $methodop->{args}[0]->emit_m0ld : ()
13 )
14 } elsif (my $postcircumfix = $dottyop->{postop}{postcircumfix}) {
15 call 'postcircumfix:( )' => FETCH($self->{arg}->emit_m0ld),[capturize(named_and_positional($postcircumfix->{semiarglist}->emit_m0ld))];
16 } else {
17 Mildew::prune($dottyop);
18 die Dump($dottyop);
19 }
20 }
21 }