blib/lib/TOML/Parser/Tokenizer/Strict.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.6% 29 / 30 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/TOML/Parser/Tokenizer.pm ↑ Summary blib/lib/TOML/Parser/Util.pm »
1 package TOML::Parser::Tokenizer::Strict;
2 20 ▶use 5.010000;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 20 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 20 ▶use parent qw/TOML::Parser::Tokenizer/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 20 ▶BEGIN { import TOML::Parser::Tokenizer qw/:constant/ }
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub grammar_regexp {
10 363 ▶ my $grammar_regexp = {%{ shift->SUPER::grammar_regexp() }};
Subroutine grammar_regexp: called CC=1 SCAR=0.0
Pod undocumented
11 363 $grammar_regexp->{table} = {%{ $grammar_regexp->{table} }};
12 363 $grammar_regexp->{array_of_table} = {%{ $grammar_regexp->{array_of_table} }};
13 363 $grammar_regexp->{table}->{key} = qr{(?:"(.*?)(?<!(?<!\\)\\)"|([A-Za-z0-9_-]+))};
14 363 $grammar_regexp->{array_of_table}->{key} = qr{(?:"(.*?)(?<!(?<!\\)\\)"|([A-Za-z0-9_-]+))};
15 363 $grammar_regexp->{key} = qr{(?:"(.*?)(?<!(?<!\\)\\)"|([A-Za-z0-9_-]+))\s*=};
16 363 return $grammar_regexp;
17 }
18  
19 20 1;
20 __END__
« blib/lib/TOML/Parser/Tokenizer.pm ↑ Summary blib/lib/TOML/Parser/Util.pm »