line |
true |
false |
branch |
11
|
1 |
13 |
if $$tree{'+optimized'} |
12
|
0 |
13 |
if $self->parser->{'maxparse'} |
15
|
40 |
536 |
unless ref $node |
30
|
7 |
1250 |
defined $max ? : |
|
1257 |
92 |
unless defined $$node{'+min'} |
32
|
92 |
1250 |
defined $min ? : |
|
1342 |
7 |
unless defined $$node{'+max'} |
34
|
1299 |
50 |
unless defined $$node{'+asr'} |
38
|
0 |
2246 |
if $kind eq 'xxx' |
39
|
1349 |
897 |
if ($$node{'rule'} = $$node{".$kind"}) |
42
|
736 |
613 |
if ($kind eq 'ref') |
43
|
0 |
736 |
unless my $rule = $$node{'rule'} |
44
|
0 |
736 |
if (my $method = $self->grammar->can("rule_$rule")) { } |
|
0 |
736 |
elsif (not $self->grammar->{'tree'}{$rule}) { } |
48
|
0 |
0 |
if (my $method = $self->grammar->can("$rule")) |
60
|
0 |
1349 |
unless $$node{'method'} ||= $self->parser->can("match_$kind") |
65
|
201 |
1148 |
if ($$node{'kind'} =~ /^(?:all|any)$/) { } |
|
736 |
412 |
elsif ($$node{'kind'} eq 'ref') { } |
|
412 |
0 |
elsif ($$node{'kind'} eq 'rgx') { } |
72
|
376 |
360 |
if (my $action = $self->receiver->can("got_$ref")) { } |
|
360 |
0 |
elsif (my $gotrule = $self->receiver->can('gotrule')) { } |
78
|
0 |
736 |
if ($self->parser->{'debug'}) |
106
|
0 |
0 |
$asr == 1 ? : |
|
0 |
0 |
$asr == -1 ? : |
112
|
0 |
0 |
if ($result = $self->$method($ref, $parent)) { } |
130
|
0 |
0 |
if $counter++ >= $maxparse |