line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lingua::YaTeA::Message; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
27
|
use strict; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
112
|
|
4
|
5
|
|
|
5
|
|
22
|
use warnings; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
615
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION=$Lingua::YaTeA::VERSION; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
300
|
|
|
300
|
1
|
761
|
my ($class,$name,$content,$language) = @_; |
11
|
300
|
|
|
|
|
456
|
my $this = {}; |
12
|
300
|
|
|
|
|
360
|
bless ($this,$class); |
13
|
300
|
|
|
|
|
451
|
$this->{NAME} = $name; |
14
|
300
|
|
|
|
|
349
|
$this->{$language}= $content; |
15
|
300
|
|
|
|
|
478
|
return $this; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub getContent |
21
|
|
|
|
|
|
|
{ |
22
|
55
|
|
|
55
|
1
|
128
|
my ($this,$language) = @_; |
23
|
55
|
|
|
|
|
923
|
return $this->{$language}; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub getName |
27
|
|
|
|
|
|
|
{ |
28
|
300
|
|
|
300
|
1
|
363
|
my ($this) = @_; |
29
|
300
|
|
|
|
|
4427
|
return $this->{NAME}; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |