line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: Param.pm,v 1.7 2001/06/04 10:08:43 matt Exp $ |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package AxKit::XSP::Param; |
4
|
1
|
|
|
1
|
|
575
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
5
|
1
|
|
|
1
|
|
1164
|
use Apache::AxKit::Language::XSP; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use vars qw/@ISA $NS $VERSION/; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
@ISA = ('Apache::AxKit::Language::XSP'); |
10
|
|
|
|
|
|
|
$NS = 'http://axkit.org/NS/xsp/param/v1'; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
$VERSION = "1.4"; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
## Taglib subs |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# NONE! ;-) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
## Parser subs |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub parse_start { |
21
|
|
|
|
|
|
|
my ($e, $tag, %attribs) = @_; |
22
|
|
|
|
|
|
|
#warn "Checking: $tag\n"; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$e->start_expr($tag); |
25
|
|
|
|
|
|
|
$e->append_to_script('$cgi->param(q|' . $tag . '|)'); |
26
|
|
|
|
|
|
|
$e->end_expr(); |
27
|
|
|
|
|
|
|
return ''; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub parse_char { |
31
|
|
|
|
|
|
|
# compat only |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub parse_end { |
36
|
|
|
|
|
|
|
# compat only |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub parse_comment { |
40
|
|
|
|
|
|
|
# compat only |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub parse_final { |
44
|
|
|
|
|
|
|
# compat only |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |