line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Language::Expr::Interpreter::dummy; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $DATE = '2016-06-29'; # DATE |
4
|
|
|
|
|
|
|
our $VERSION = '0.27'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
24
|
use 5.010001; |
|
1
|
|
|
|
|
2
|
|
7
|
1
|
|
|
1
|
|
3
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
20
|
|
8
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
365
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
3941
|
|
|
1
|
|
|
|
|
50
|
|
11
|
1
|
|
|
1
|
|
339
|
use parent 'Language::Expr::Interpreter::Base'; |
|
1
|
|
|
|
|
222
|
|
|
1
|
|
|
|
|
5
|
|
12
|
|
|
|
|
|
|
with 'Language::Expr::InterpreterRole'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
0
|
0
|
|
sub rule_pair_simple { } |
15
|
|
|
|
0
|
0
|
|
sub rule_pair_string { } |
16
|
|
|
|
0
|
0
|
|
sub rule_or_xor { } |
17
|
|
|
|
0
|
0
|
|
sub rule_ternary { } |
18
|
|
|
|
0
|
0
|
|
sub rule_and { } |
19
|
|
|
|
0
|
0
|
|
sub rule_bit_or_xor { } |
20
|
|
|
|
0
|
0
|
|
sub rule_bit_and { } |
21
|
|
|
|
0
|
0
|
|
sub rule_comparison3 { } |
22
|
|
|
|
0
|
0
|
|
sub rule_comparison { } |
23
|
|
|
|
0
|
0
|
|
sub rule_bit_shift { } |
24
|
|
|
|
1
|
0
|
|
sub rule_add { } |
25
|
|
|
|
0
|
0
|
|
sub rule_mult { } |
26
|
|
|
|
0
|
0
|
|
sub rule_unary { } |
27
|
|
|
|
0
|
0
|
|
sub rule_power { } |
28
|
|
|
|
0
|
0
|
|
sub rule_subscripting_var { } |
29
|
|
|
|
0
|
0
|
|
sub rule_subscripting_expr { } |
30
|
|
|
|
0
|
0
|
|
sub rule_array { } |
31
|
|
|
|
0
|
0
|
|
sub rule_hash { } |
32
|
|
|
|
0
|
0
|
|
sub rule_undef { } |
33
|
|
|
|
0
|
0
|
|
sub rule_squotestr { } |
34
|
|
|
|
0
|
0
|
|
sub rule_dquotestr { } |
35
|
|
|
|
0
|
0
|
|
sub rule_bool { } |
36
|
|
|
|
2
|
0
|
|
sub rule_num { } |
37
|
|
|
|
0
|
0
|
|
sub rule_var { } |
38
|
|
|
|
0
|
0
|
|
sub rule_func { } |
39
|
|
|
|
0
|
0
|
|
sub rule_func_map { } |
40
|
|
|
|
0
|
0
|
|
sub rule_func_grep { } |
41
|
|
|
|
0
|
0
|
|
sub rule_func_usort { } |
42
|
|
|
|
0
|
0
|
|
sub rule_parenthesis { } |
43
|
|
|
|
1
|
0
|
|
sub expr_preprocess { } |
44
|
|
|
|
1
|
0
|
|
sub expr_postprocess { } |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
# ABSTRACT: Dummy interpreter for Language::Expr (used for testing) |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=pod |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=encoding UTF-8 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 NAME |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Language::Expr::Interpreter::dummy - Dummy interpreter for Language::Expr (used for testing) |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 VERSION |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This document describes version 0.27 of Language::Expr::Interpreter::dummy (from Perl distribution Language-Expr), released on 2016-06-29. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 DESCRIPTION |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This interpreter does nothing. It is used only for testing the parser. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=for Pod::Coverage ^(rule|expr)_.+ |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 METHODS |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 HOMEPAGE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Please visit the project's homepage at L<https://metacpan.org/release/Language-Expr>. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 SOURCE |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Source repository is at L<https://github.com/perlancar/perl-Language-Expr>. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 BUGS |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Language-Expr> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
86
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
87
|
|
|
|
|
|
|
feature. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head1 AUTHOR |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
perlancar <perlancar@cpan.org> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This software is copyright (c) 2016 by perlancar@cpan.org. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
98
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |