line |
true |
false |
branch |
60
|
0 |
54 |
if ref $class |
67
|
0 |
54 |
if ($self->Option('prefix')) |
71
|
0 |
0 |
if (exists $_->{'ACTIONS'}{"\000"}) |
100
|
0 |
4 |
ref $expected ? : |
102
|
1 |
3 |
if ($nbsr != $sre and $nbsr > 0) |
103
|
0 |
1 |
$nbsr > 1 ? : |
106
|
0 |
4 |
if ($nbrr != $rre and $nbrr > 0) |
107
|
0 |
0 |
if $nbsr != $sre |
108
|
0 |
0 |
$nbrr > 1 ? : |
127
|
0 |
0 |
unless $Parse::Eyapp::Lalr::a->[0] <=> $Parse::Eyapp::Lalr::b->[0] |
133
|
0 |
0 |
unless $ruleno |
144
|
0 |
0 |
if $term eq "\000" |
148
|
0 |
0 |
unless (defined $action) |
154
|
0 |
0 |
if ($action > 0) |
162
|
0 |
0 |
unless ($term) |
172
|
0 |
0 |
if (@shifts) |
183
|
0 |
0 |
if (@errors) |
192
|
0 |
0 |
if exists $self->{'CONFLICTS'}{'FORCED'}{'DETAIL'}{$stateno} |
194
|
0 |
0 |
unless $Parse::Eyapp::Lalr::a->[0] cmp $Parse::Eyapp::Lalr::b->[0] |
196
|
0 |
0 |
if defined $default |
201
|
0 |
0 |
if (@reduces) |
208
|
0 |
0 |
if ($ruleno < 0) |
213
|
0 |
0 |
if $term eq "\000" |
216
|
0 |
0 |
$discard ? : |
217
|
0 |
0 |
if ($ruleno) { } |
224
|
0 |
0 |
$discard ? : |
230
|
0 |
0 |
if (exists $states->[$stateno]{'GOTOS'}) |
251
|
0 |
0 |
$base ? : |
254
|
0 |
0 |
unless open my $OUT, ">$output" |
257
|
0 |
0 |
if $tmp = $parser->Warnings |
259
|
0 |
0 |
if $tmp = $parser->Conflicts |
274
|
0 |
0 |
$base ? : |
276
|
0 |
0 |
unless open my $OUT, ">$output" |
338
|
0 |
0 |
if ($labelWithCore) |
342
|
0 |
0 |
unless grep {$_ eq $s;} @conflictstates |
377
|
0 |
0 |
if ($desc =~ /\t\$default\s+accept\s*/gx) |
453
|
0 |
0 |
if $token eq "\000" |
466
|
0 |
0 |
$nbsr > 1 ? : |
|
0 |
0 |
if $nbsr |
471
|
0 |
0 |
if ($nbrr) |
472
|
0 |
0 |
if $nbsr |
475
|
0 |
0 |
$nbrr > 1 ? : |
504
|
877 |
412 |
if (not exists $state->{'ACTIONS'}{''} or keys %{$$state{'ACTIONS'};} > 1) |
513
|
2247 |
854 |
if (substr($term, 0, 1) eq q[']) { } |
518
|
54 |
800 |
$term eq "\000" ? : |
523
|
3101 |
0 |
if (defined $action) { } |
538
|
694 |
595 |
if (exists $state->{'ACTIONS'}{''}) |
539
|
282 |
412 |
if keys %{$$state{'ACTIONS'};} > 1 |
546
|
481 |
808 |
if (exists $state->{'GOTOS'}) |
573
|
54 |
0 |
unless %$ch |
599
|
0 |
0 |
if ($C{$p}) { } |
646
|
1487 |
260 |
if (exists $rel->{$x}) |
648
|
985 |
6974 |
unless exists $N{$y} |
652
|
263 |
7696 |
if $N{$y} < $N{$x} |
659
|
1538 |
209 |
if ($N{$x} == $d) |
663
|
1538 |
209 |
if $y eq $x |
671
|
762 |
725 |
unless exists $N{$_} |
702
|
403 |
288 |
if @$rhs > 0 and exists $grammar->{'NTERM'}{$rhs->[0]} |
720
|
487 |
2778 |
if $pos < @$rhs and exists $$closures{$rhs->[$pos]} |
737
|
717 |
7749 |
if ($pos == @$rhs) |
747
|
0 |
5819 |
unless $Parse::Eyapp::Lalr::a->[0] <=> $Parse::Eyapp::Lalr::b->[0] |
753
|
1235 |
3542 |
unless (exists $cores->{$corekey}) |
762
|
3868 |
909 |
if (exists $grammar->{'TERM'}{$_}) |
814
|
269 |
411 |
if (exists $terminx->{$_}) |
819
|
394 |
17 |
unless exists $grammar->{'NULLABLE'}{$_} |
834
|
377 |
696 |
unless $len |
843
|
4136 |
762 |
if ($len == 1) |
863
|
344 |
70 |
if (exists $$terminx{$rhs->[$pos]}) |
869
|
7 |
63 |
if vec $first, 0, 1 |
872
|
64 |
6 |
unless exists $grammar->{'NULLABLE'}{$rhs->[$pos]} |
925
|
393 |
317 |
if (exists $state->{'ACTIONS'}{''} and @{$state->{'ACTIONS'}{''};} > 1 || keys %{$$state{'ACTIONS'};} > 1) |
938
|
808 |
481 |
unless exists $state->{'GOTOS'} |
951
|
825 |
2672 |
unless exists $sfx->{$key} |
958
|
673 |
2824 |
if (vec $follows->{$goto}, 0, 1) |
991
|
1393 |
1322 |
if exists $state->{'ACTIONS'}{$term} |
998
|
130 |
263 |
unless $conflict |
1022
|
133 |
1244 |
if defined $rprec |
1026
|
1034 |
210 |
if exists $rulesprec{$ruleno} |
1032
|
209 |
1 |
if (defined $lastterm and ref $grammar->{'TERM'}{$lastterm}) |
1048
|
859 |
1393 |
unless @$act > 1 |
1053
|
1377 |
16 |
if ($act->[0] > 0 and ref $grammar->{'TERM'}{$term}) |
1061
|
1 |
1376 |
unless defined $rprec |
1066
|
602 |
774 |
if ($tprec > $rprec or $tprec == $rprec and $assoc eq 'RIGHT') |
1074
|
774 |
0 |
if ($tprec < $rprec or $assoc eq 'LEFT') |
1078
|
774 |
0 |
if ($act->[0] > 0) |
1088
|
0 |
0 |
if ($act->[0] > 0) |
1094
|
0 |
1377 |
if $error |
1099
|
17 |
1376 |
if (@$act > 1) |
1101
|
17 |
0 |
$act->[0] > 0 ? : |
1108
|
17 |
246 |
if ($nbsr) |
1114
|
0 |
263 |
if ($nbrr) |
1139
|
317 |
972 |
if (exists $actions->{''}) |
1146
|
2 |
1287 |
if exists $actions->{'error'} and $actions->{'error'}[0] > 0 |
1153
|
3411 |
2096 |
if not defined $actions->{$term} or $actions->{$term} > 0 or $nodefault |
1159
|
912 |
377 |
unless keys %reduces > 0 |
1178
|
378 |
6 |
if $t > $max |
1193
|
0 |
0 |
if (exists $actions->{''}) |
1212
|
0 |
54 |
if ($grammar->{'NOCOMPACT'}) { } |