line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lingua::YaTeA::Message; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
34
|
use strict; |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
135
|
|
4
|
5
|
|
|
5
|
|
27
|
use warnings; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
754
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION=$Lingua::YaTeA::VERSION; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
300
|
|
|
300
|
1
|
960
|
my ($class,$name,$content,$language) = @_; |
11
|
300
|
|
|
|
|
567
|
my $this = {}; |
12
|
300
|
|
|
|
|
446
|
bless ($this,$class); |
13
|
300
|
|
|
|
|
581
|
$this->{NAME} = $name; |
14
|
300
|
|
|
|
|
435
|
$this->{$language}= $content; |
15
|
300
|
|
|
|
|
583
|
return $this; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub getContent |
21
|
|
|
|
|
|
|
{ |
22
|
55
|
|
|
55
|
1
|
150
|
my ($this,$language) = @_; |
23
|
55
|
|
|
|
|
1689
|
return $this->{$language}; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub getName |
27
|
|
|
|
|
|
|
{ |
28
|
300
|
|
|
300
|
1
|
452
|
my ($this) = @_; |
29
|
300
|
|
|
|
|
5595
|
return $this->{NAME}; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |