line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
################################################################################### |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de |
5
|
|
|
|
|
|
|
# Embperl - Copyright (c) 2008-2014 Gerald Richter |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# You may distribute under the terms of either the GNU General Public |
8
|
|
|
|
|
|
|
# License or the Artistic License, as specified in the Perl README file. |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR |
11
|
|
|
|
|
|
|
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
12
|
|
|
|
|
|
|
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13
|
|
|
|
|
|
|
# |
14
|
|
|
|
|
|
|
# $Id: Perl.pm 1578075 2014-03-16 14:01:14Z richter $ |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
################################################################################### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Embperl::Syntax::Perl ; |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
7
|
use Embperl::Syntax qw{:types} ; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
247
|
|
21
|
1
|
|
|
1
|
|
5
|
use Embperl::Syntax ; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
23
|
|
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
1
|
|
30
|
use strict ; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
48
|
|
24
|
1
|
|
|
1
|
|
5
|
use vars qw{@ISA} ; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
157
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
@ISA = qw(Embperl::Syntax) ; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
################################################################################### |
30
|
|
|
|
|
|
|
# |
31
|
|
|
|
|
|
|
# Methods |
32
|
|
|
|
|
|
|
# |
33
|
|
|
|
|
|
|
################################################################################### |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------- |
36
|
|
|
|
|
|
|
# |
37
|
|
|
|
|
|
|
# Create new Syntax Object |
38
|
|
|
|
|
|
|
# |
39
|
|
|
|
|
|
|
# --------------------------------------------------------------------------------- |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub new |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
{ |
45
|
1
|
|
|
1
|
1
|
3
|
my $class = shift ; |
46
|
|
|
|
|
|
|
|
47
|
1
|
|
|
|
|
4
|
my $self = Embperl::Syntax::new ($class) ; |
48
|
|
|
|
|
|
|
|
49
|
1
|
50
|
|
|
|
12
|
if (!$self -> {-perlInit}) |
50
|
|
|
|
|
|
|
{ |
51
|
1
|
|
|
|
|
3
|
$self -> {-perlInit} = 1 ; |
52
|
|
|
|
|
|
|
|
53
|
1
|
|
|
|
|
11
|
$self -> AddInitCode (undef, '$_ep_node=%$x%+2; %#1% ;', undef, |
54
|
|
|
|
|
|
|
{ |
55
|
|
|
|
|
|
|
removenode => 32, |
56
|
|
|
|
|
|
|
compilechilds => 0, |
57
|
|
|
|
|
|
|
}) ; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
1
|
|
|
|
|
6
|
return $self ; |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |