line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------- |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# Nes by Skriptke |
6
|
|
|
|
|
|
|
# Copyright 2009 - 2010 Enrique F. Castañón Barbero |
7
|
|
|
|
|
|
|
# Licensed under the GNU GPL. |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# CPAN: |
10
|
|
|
|
|
|
|
# http://search.cpan.org/dist/Nes/ |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
# Sample: |
13
|
|
|
|
|
|
|
# http://nes.sourceforge.net/ |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# Repository: |
16
|
|
|
|
|
|
|
# http://github.com/Skriptke/nes |
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# Version 1.04 |
19
|
|
|
|
|
|
|
# |
20
|
|
|
|
|
|
|
# Tags.pm |
21
|
|
|
|
|
|
|
# |
22
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------- |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
package Nes::Tags; |
26
|
3
|
|
|
3
|
|
21
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
96
|
|
27
|
3
|
|
|
3
|
|
14
|
no warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
1009
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
$Nes::Tags::start = '{:'; |
30
|
|
|
|
|
|
|
$Nes::Tags::end = ':}'; |
31
|
|
|
|
|
|
|
$Nes::Tags::pre_start = '〈'; |
32
|
|
|
|
|
|
|
$Nes::Tags::pre_end = '〉'; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$Nes::Tags::start_html = '{:'; |
35
|
|
|
|
|
|
|
$Nes::Tags::end_html = ':}'; |
36
|
|
|
|
|
|
|
$Nes::Tags::pre_start_html = '〈'; |
37
|
|
|
|
|
|
|
$Nes::Tags::pre_end_html = '〉'; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
$Nes::Tags::pre_subs_start = ':〈:'; |
40
|
|
|
|
|
|
|
$Nes::Tags::pre_subs_end = ':〉:'; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
$Nes::Tags::nes = 'NES'; |
43
|
|
|
|
|
|
|
$Nes::Tags::var = '\$'; |
44
|
|
|
|
|
|
|
$Nes::Tags::env = '\*'; |
45
|
|
|
|
|
|
|
$Nes::Tags::expre = '\~'; |
46
|
|
|
|
|
|
|
$Nes::Tags::tpl = '\@'; |
47
|
|
|
|
|
|
|
$Nes::Tags::sql = 'sql'; |
48
|
|
|
|
|
|
|
$Nes::Tags::hash = '\%'; |
49
|
|
|
|
|
|
|
$Nes::Tags::field = '\@\$'; |
50
|
|
|
|
|
|
|
$Nes::Tags::include = 'include'; |
51
|
|
|
|
|
|
|
$Nes::Tags::comment = '\#'; |
52
|
|
|
|
|
|
|
$Nes::Tags::plugin = '\&'; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
$Nes::Tags::l_nes = "NES"; |
55
|
|
|
|
|
|
|
$Nes::Tags::l_var = "\$"; |
56
|
|
|
|
|
|
|
$Nes::Tags::l_env = "\*"; |
57
|
|
|
|
|
|
|
$Nes::Tags::l_expre = "\~"; |
58
|
|
|
|
|
|
|
$Nes::Tags::l_tpl = "\@"; |
59
|
|
|
|
|
|
|
$Nes::Tags::l_sql = "sql"; |
60
|
|
|
|
|
|
|
$Nes::Tags::l_hash = "\%"; |
61
|
|
|
|
|
|
|
$Nes::Tags::l_field = "\@\$"; |
62
|
|
|
|
|
|
|
$Nes::Tags::l_include = "include"; |
63
|
|
|
|
|
|
|
$Nes::Tags::l_comment = "\#"; |
64
|
|
|
|
|
|
|
$Nes::Tags::l_plugin = "\&"; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
$Nes::Tags::all_or = 'NES|\@\$|\$|\*|\~|\@|sql|\%|include|\#|\&'; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
1; |