line |
true |
false |
branch |
11
|
1 |
13 |
if $$tree{'+optimized'}
|
12
|
0 |
13 |
if $self->parser->{'maxparse'}
|
15
|
40 |
572 |
unless ref $node
|
30
|
7 |
1322 |
defined $max ? :
|
|
1329 |
92 |
unless defined $$node{'+min'}
|
32
|
92 |
1322 |
defined $min ? :
|
|
1414 |
7 |
unless defined $$node{'+max'}
|
34
|
1371 |
50 |
unless defined $$node{'+asr'}
|
38
|
0 |
2354 |
if $kind eq 'xxx'
|
39
|
1421 |
933 |
if ($$node{'rule'} = $$node{".$kind"})
|
42
|
772 |
649 |
if ($kind eq 'ref')
|
43
|
0 |
772 |
unless my $rule = $$node{'rule'}
|
44
|
0 |
772 |
if (my $method = $self->grammar->can("rule_$rule")) { }
|
|
0 |
772 |
elsif (not $self->grammar->{'tree'}{$rule}) { }
|
48
|
0 |
0 |
if (my $method = $self->grammar->can("$rule"))
|
60
|
0 |
1421 |
unless $$node{'method'} ||= $self->parser->can("match_$kind")
|
65
|
201 |
1220 |
if ($$node{'kind'} =~ /^(?:all|any)$/) { }
|
|
772 |
448 |
elsif ($$node{'kind'} eq 'ref') { }
|
|
448 |
0 |
elsif ($$node{'kind'} eq 'rgx') { }
|
72
|
436 |
336 |
if (my $action = $self->receiver->can("got_$ref")) { }
|
|
336 |
0 |
elsif (my $gotrule = $self->receiver->can('gotrule')) { }
|
78
|
0 |
772 |
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
|