line |
true |
false |
branch |
50
|
36 |
478 |
unless exists $usedSymbols{$token} |
54
|
0 |
54 |
if ($self->{'GRAMMAR'}{'STRICT'} and %$termDef) |
56
|
0 |
0 |
if (@undefined) |
71
|
0 |
54 |
if (defined $w) |
73
|
0 |
0 |
if ($self->{'GRAMMAR'}{'WHITES'}[2] eq 'CODE') { } |
82
|
0 |
54 |
defined $self->{'GRAMMAR'}{'INCREMENTAL'} ? : |
106
|
42 |
12 |
if (@term) |
117
|
0 |
76 |
if ($termdef{$t}[2] eq 'REGEXP') { } |
|
0 |
76 |
elsif ($termdef{$t}[2] eq 'CONTEXTUAL_REGEXP') { } |
|
0 |
76 |
elsif ($termdef{$t}[2] eq 'CONTEXTUAL_REGEXP_MATCH') { } |
|
0 |
76 |
elsif ($termdef{$t}[2] eq 'CONTEXTUAL_REGEXP_NOMATCH') { } |
|
76 |
0 |
elsif ($termdef{$t}[2] eq 'LITERAL') { } |
|
0 |
0 |
elsif ($termdef{$t}[2] eq 'CODE') { } |
194
|
42 |
12 |
if (@term) { } |
255
|
0 |
0 |
unless open DRV, $file |
299
|
0 |
54 |
if (defined $modulino) { } |
311
|
0 |
54 |
$lexerisdefined ? : |
319
|
0 |
54 |
unless defined $package |
332
|
54 |
0 |
unless $tail =~ /\n\n=cut\n/ |
350
|
0 |
54 |
if ($self->Option('standalone')) { } |
495
|
1 |
56 |
if @_ % 2 |
497
|
1 |
55 |
if (defined($a = &first(sub {
not exists $_new_grammar{$_};
}
, keys %arg))) |
501
|
0 |
55 |
unless my $grammar = $arg{'input'} |
503
|
1 |
54 |
unless my $name = $arg{'classname'} |
507
|
40 |
14 |
if defined $arg{'firstline'} and $arg{'firstline'} =~ /\d+/ |
510
|
53 |
1 |
unless defined $linenumbers |
512
|
0 |
54 |
unless my $p = 'Parse::Eyapp'->new('input', $grammar, 'inputfile', $filename, 'firstline', $line, 'linenumbers', $linenumbers) |
520
|
0 |
54 |
unless my $text = $p->Output('classname', $name) |
523
|
0 |
54 |
unless $linenumbers =~ /[01]/ |
525
|
0 |
54 |
if (defined $outputfile) |
529
|
0 |
0 |
unless open my $OUT, ">$outfile" |
537
|
0 |
54 |
unless 'Parse::Eyapp::Driver'->can('YYParse') |
|
0 |
54 |
unless 'Parse::Eyapp::Node'->can('hnew') |
|
0 |
19 |
if ref $class |
|
0 |
19 |
unless 'Calc'->isa('Parse::Eyapp::Driver') |
|
0 |
0 |
defined pos $_ ? : |
|
0 |
0 |
defined $_ ? : |
|
2 |
5 |
unless $in |
|
5 |
0 |
if $in =~ s/^([AaBbCc])// |
|
0 |
0 |
if $in =~ s/^(.)//s |
538
|
1 |
53 |
if $@ |