blib/lib/Zuzu/AST/Stmt/Continue.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 85.7% 12 / 14 CC 1 SCAR 2.9
CC
1
Cov
90%
evaluate
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Zuzu/Value/Object.pm ↑ Summary blib/lib/Zuzu/AST/Expr/DynamicMemberCall.pm »
1 package Zuzu::AST::Stmt::Continue;
2  
3 78 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 78 our $VERSION = '0.007002';
6  
7 78 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 78 with 'Zuzu::AST::Role::Node';
10  
11 0 ▶sub evaluate { $_[1]->eval_continue($_[0]) }
Subroutine evaluate: not called CC=1 SCAR=6.9
Pod documented
12  
13 =pod
14  
15 =head1 NAME
16  
17 Zuzu::AST::Stmt::Continue - AST node for switch continue statements
18  
19 =head1 DESCRIPTION
20  
21 Represents one statement form in the abstract syntax tree and
22 delegates execution to C<Zuzu::Runtime>.
23  
24 =head1 INHERITANCE
25  
26 Inherits from C<Moo::Object>.
27  
28 =head1 ROLES
29  
30 Consumes C<Zuzu::AST::Role::Node>.
31  
32 =head1 ATTRIBUTES
33  
34 =head1 METHODS
35  
36 =head2 evaluate
37  
38 Dispatches this AST node to the matching runtime evaluator.
39  
40 =head1 SEE ALSO
41  
42 C<Zuzu::AST::Role::Node>.
43  
44 Subclasses: none in this distribution.
45  
46 =head1 COPYRIGHT AND LICENCE
47  
48 B<< Zuzu::AST::Stmt::Continue >> is copyright Toby Inkster.
49  
50 It is free software; you may redistribute it and/or modify it under
51 the terms of either the Artistic License 1.0 or the GNU General Public
52 License version 2.
53  
54 =cut
55  
56 78 1;
« blib/lib/Zuzu/Value/Object.pm ↑ Summary blib/lib/Zuzu/AST/Expr/DynamicMemberCall.pm »