line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dallycot::AST::Expr; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:JSMITH'; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# ABSTRACT: A no-op placeholder |
5
|
|
|
|
|
|
|
|
6
|
23
|
|
|
23
|
|
12128
|
use strict; |
|
23
|
|
|
|
|
40
|
|
|
23
|
|
|
|
|
701
|
|
7
|
23
|
|
|
23
|
|
90
|
use warnings; |
|
23
|
|
|
|
|
34
|
|
|
23
|
|
|
|
|
452
|
|
8
|
|
|
|
|
|
|
|
9
|
23
|
|
|
23
|
|
84
|
use utf8; |
|
23
|
|
|
|
|
30
|
|
|
23
|
|
|
|
|
103
|
|
10
|
23
|
|
|
23
|
|
416
|
use parent 'Dallycot::AST'; |
|
23
|
|
|
|
|
37
|
|
|
23
|
|
|
|
|
102
|
|
11
|
|
|
|
|
|
|
|
12
|
23
|
|
|
23
|
|
1106
|
use Promises qw(deferred); |
|
23
|
|
|
|
|
34
|
|
|
23
|
|
|
|
|
136
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub to_json { |
15
|
0
|
|
|
0
|
0
|
|
return +{ a => 'Expr' }; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
0
|
|
sub to_string { return "" } |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
0
|
|
sub to_rdf { |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub execute { |
25
|
0
|
|
|
0
|
0
|
|
my ( $self, $engine ) = @_; |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
my $d = deferred; |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
$d->resolve( $engine->UNDEFINED ); |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
|
|
|
return $d->promise; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |