| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# -*- cperl -*- |
|
2
|
|
|
|
|
|
|
# ABSTRACT: LaTeX arrow object |
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package SpeL::Object::Arrow; |
|
6
|
|
|
|
|
|
|
|
|
7
|
41
|
|
|
41
|
|
477300
|
use parent 'Exporter'; |
|
|
41
|
|
|
|
|
113
|
|
|
|
41
|
|
|
|
|
498
|
|
|
8
|
41
|
|
|
41
|
|
3360
|
use Carp; |
|
|
41
|
|
|
|
|
101
|
|
|
|
41
|
|
|
|
|
2843
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
41
|
|
|
41
|
|
935
|
use Data::Dumper; |
|
|
41
|
|
|
|
|
12496
|
|
|
|
41
|
|
|
|
|
11821
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub read { |
|
15
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
16
|
0
|
|
|
|
|
|
my ( $level ) = @_; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# say STDERR Data::Dumper->Dump( [ $self ], [ 'self' ] ); |
|
19
|
0
|
0
|
|
|
|
|
$self->{Op} =~ /^\\Rightarrow$/ and |
|
20
|
|
|
|
|
|
|
return ' ' . $SpeL::I18n::lh->maketext( '==>' ) . ' '; |
|
21
|
0
|
0
|
|
|
|
|
$self->{Op} =~ /^\\Leftarrow$/ and |
|
22
|
|
|
|
|
|
|
return ' ' . $SpeL::I18n::lh->maketext( '<==' ) . ' '; |
|
23
|
0
|
0
|
|
|
|
|
$self->{Op} =~ /^\\Leftrightarrow$/ and |
|
24
|
|
|
|
|
|
|
return ' ' . $SpeL::I18n::lh->maketext( '<=>' ) . ' '; |
|
25
|
0
|
|
|
|
|
|
return "Error: don't know how to read this arrow"; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |