line |
true |
false |
branch |
34
|
0 |
54 |
unless defined $self->Option('input') |
53
|
0 |
54 |
if ref $class |
59
|
0 |
54 |
if ($ns and &reftype($ns) eq 'ARRAY') |
61
|
0 |
0 |
if $@ |
86
|
0 |
0 |
if (@$rhs) { } |
87
|
0 |
0 |
$_ eq "\000" ? : |
117
|
0 |
0 |
unless (@rhs) |
123
|
0 |
0 |
if ($self->is_token($_)) |
126
|
0 |
0 |
unless ($name) |
127
|
0 |
0 |
if /^\w+$/ |
129
|
0 |
0 |
if $name |
133
|
0 |
0 |
unless ($rhs) |
135
|
0 |
0 |
if /^\w+$/ |
160
|
0 |
0 |
unless (@rhs) |
166
|
0 |
0 |
if ($self->is_token($_)) { } |
174
|
0 |
0 |
unless ($name) |
175
|
0 |
0 |
if /^\w+$/ |
177
|
0 |
0 |
if $name |
180
|
0 |
0 |
if exists $self->{'GRAMMAR'}{'CONFLICTHANDLERS'}{$_} |
181
|
0 |
0 |
if /^\w*$/ |
195
|
556 |
826 |
unless (defined $name) |
196
|
108 |
448 |
if ($lhs =~ /\$start/) { } |
|
16 |
432 |
elsif ($lhs =~ /\@(\d+)-(\d+)/) { } |
|
16 |
416 |
elsif ($lhs =~ /PAREN-(\d+)/) { } |
|
16 |
400 |
elsif ($lhs =~ /STAR-(\d+)/) { } |
|
24 |
376 |
elsif ($lhs =~ /PLUS-(\d+)/) { } |
|
0 |
376 |
elsif ($lhs =~ /OPTIONAL-(\d+)/) { } |
217
|
376 |
1006 |
if (not $name) { } |
|
0 |
1006 |
elsif ($name =~ /^:/) { } |
243
|
334 |
357 |
unless defined $bypass |
245
|
0 |
691 |
if defined $name->[0] and $name->[0] =~ /(:.*)/ |
254
|
465 |
964 |
$_ =~ /^'/ ? : |
|
54 |
1429 |
$_ eq "\000" ? : |
275
|
54 |
516 |
$_ eq "\000" ? : |
302
|
0 |
0 |
defined $ce->{'states'} ? : |
307
|
0 |
0 |
unless defined $t{$sn} |
352
|
0 |
54 |
if defined $self->{'GRAMMAR'}{'INCREMENTAL'} |
377
|
0 |
4 |
if $self->Option('start') |
383
|
0 |
4 |
if (exists $grammar->{'UUTERM'}) |
391
|
0 |
4 |
if (exists $grammar->{'UUNTERM'}) |
399
|
0 |
4 |
if (exists $grammar->{'UURULES'}) |
436
|
0 |
54 |
unless defined $inputfile |
452
|
635 |
56 |
if ($code) { } |
453
|
630 |
5 |
$linenums ? : |
481
|
20 |
34 |
unless $self->{'GRAMMAR'}{'HEAD'}[0] |
484
|
0 |
34 |
unless defined $inputfile |
488
|
34 |
0 |
if $linenums |
502
|
0 |
54 |
unless &reftype($self->{'GRAMMAR'}{'TAIL'}) eq 'ARRAY' and $self->{'GRAMMAR'}{'TAIL'}[0] |
505
|
0 |
54 |
unless defined $inputfile |
508
|
53 |
1 |
if $linenums |
533
|
482 |
321 |
if exists $nterm->{$sym} |
547
|
150 |
1282 |
if exists $nterm->{$sym} and not exists $ufnterm->{$sym} |
552
|
109 |
373 |
unless (exists $$ufnterm{$rules->[$_][0]}) |
577
|
604 |
879 |
if (exists $term->{$sym}) |
583
|
656 |
223 |
if not exists $ufnterm->{$sym} or exists $reachable->{$sym} |
604
|
32 |
659 |
if exists $nullable->{$lhs} |
608
|
531 |
445 |
if exists $term->{$_} |
621
|
12 |
172 |
if exists $nullable->{$lhs} |
625
|
160 |
5 |
unless exists $nullable->{$_} |
667
|
0 |
54 |
unless exists $$ufnterm{$values->{'START'}} |
675
|
516 |
0 |
if (exists $reachable->{$sym} or exists $values->{'PREC'}{$sym}) |
677
|
254 |
262 |
defined $term->{$sym}[0] ? : |
686
|
223 |
0 |
if (exists $reachable->{$sym}) |
688
|
16 |
207 |
if exists $values->{'NULL'}{$sym} |
698
|
691 |
0 |
if (vec $ufrules, $ruleno, 1 and exists $grammar->{'NTERM'}{$rules->[$ruleno][0]}) |
715
|
0 |
0 |
if @_ |