1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 |
|
---|
4 | Syntax highlighting definition for Perl
|
---|
5 |
|
---|
6 | xslthl - XSLT Syntax Highlighting
|
---|
7 | http://sourceforge.net/projects/xslthl/
|
---|
8 | Copyright (C) 2005-2008 Michal Molhanec, Jirka Kosek, Michiel Hendriks
|
---|
9 |
|
---|
10 | This software is provided 'as-is', without any express or implied
|
---|
11 | warranty. In no event will the authors be held liable for any damages
|
---|
12 | arising from the use of this software.
|
---|
13 |
|
---|
14 | Permission is granted to anyone to use this software for any purpose,
|
---|
15 | including commercial applications, and to alter it and redistribute it
|
---|
16 | freely, subject to the following restrictions:
|
---|
17 |
|
---|
18 | 1. The origin of this software must not be misrepresented; you must not
|
---|
19 | claim that you wrote the original software. If you use this software
|
---|
20 | in a product, an acknowledgment in the product documentation would be
|
---|
21 | appreciated but is not required.
|
---|
22 | 2. Altered source versions must be plainly marked as such, and must not be
|
---|
23 | misrepresented as being the original software.
|
---|
24 | 3. This notice may not be removed or altered from any source distribution.
|
---|
25 |
|
---|
26 | Michal Molhanec <mol1111 at users.sourceforge.net>
|
---|
27 | Jirka Kosek <kosek at users.sourceforge.net>
|
---|
28 | Michiel Hendriks <elmuerte at users.sourceforge.net>
|
---|
29 |
|
---|
30 | -->
|
---|
31 | <highlighters>
|
---|
32 | <highlighter type="oneline-comment">#</highlighter>
|
---|
33 | <highlighter type="heredoc">
|
---|
34 | <start><<</start>
|
---|
35 | <quote>'</quote>
|
---|
36 | <quote>"</quote>
|
---|
37 | <noWhiteSpace/>
|
---|
38 | </highlighter>
|
---|
39 | <highlighter type="string">
|
---|
40 | <string>"</string>
|
---|
41 | <escape>\</escape>
|
---|
42 | </highlighter>
|
---|
43 | <highlighter type="string">
|
---|
44 | <string>'</string>
|
---|
45 | <escape>\</escape>
|
---|
46 | <spanNewLines/>
|
---|
47 | </highlighter>
|
---|
48 | <highlighter type="hexnumber">
|
---|
49 | <prefix>0x</prefix>
|
---|
50 | <ignoreCase />
|
---|
51 | </highlighter>
|
---|
52 | <highlighter type="number">
|
---|
53 | <point>.</point>
|
---|
54 | <pointStarts />
|
---|
55 | <ignoreCase />
|
---|
56 | </highlighter>
|
---|
57 | <highlighter type="keywords">
|
---|
58 | <keyword>if</keyword>
|
---|
59 | <keyword>unless</keyword>
|
---|
60 | <keyword>while</keyword>
|
---|
61 | <keyword>until</keyword>
|
---|
62 | <keyword>foreach</keyword>
|
---|
63 | <keyword>else</keyword>
|
---|
64 | <keyword>elsif</keyword>
|
---|
65 | <keyword>for</keyword>
|
---|
66 | <keyword>when</keyword>
|
---|
67 | <keyword>default</keyword>
|
---|
68 | <keyword>given</keyword>
|
---|
69 | <!-- Keywords related to the control flow of your perl program -->
|
---|
70 | <keyword>caller</keyword>
|
---|
71 | <keyword>continue</keyword>
|
---|
72 | <keyword>die</keyword>
|
---|
73 | <keyword>do</keyword>
|
---|
74 | <keyword>dump</keyword>
|
---|
75 | <keyword>eval</keyword>
|
---|
76 | <keyword>exit</keyword>
|
---|
77 | <keyword>goto</keyword>
|
---|
78 | <keyword>last</keyword>
|
---|
79 | <keyword>next</keyword>
|
---|
80 | <keyword>redo</keyword>
|
---|
81 | <keyword>return</keyword>
|
---|
82 | <keyword>sub</keyword>
|
---|
83 | <keyword>wantarray</keyword>
|
---|
84 | <!-- Keywords related to scoping -->
|
---|
85 | <keyword>caller</keyword>
|
---|
86 | <keyword>import</keyword>
|
---|
87 | <keyword>local</keyword>
|
---|
88 | <keyword>my</keyword>
|
---|
89 | <keyword>package</keyword>
|
---|
90 | <keyword>use</keyword>
|
---|
91 | <!-- Keywords related to perl modules -->
|
---|
92 | <keyword>do</keyword>
|
---|
93 | <keyword>import</keyword>
|
---|
94 | <keyword>no</keyword>
|
---|
95 | <keyword>package</keyword>
|
---|
96 | <keyword>require</keyword>
|
---|
97 | <keyword>use</keyword>
|
---|
98 | <!-- Keywords related to classes and object-orientedness -->
|
---|
99 | <keyword>bless</keyword>
|
---|
100 | <keyword>dbmclose</keyword>
|
---|
101 | <keyword>dbmopen</keyword>
|
---|
102 | <keyword>package</keyword>
|
---|
103 | <keyword>ref</keyword>
|
---|
104 | <keyword>tie</keyword>
|
---|
105 | <keyword>tied</keyword>
|
---|
106 | <keyword>untie</keyword>
|
---|
107 | <keyword>use</keyword>
|
---|
108 | <!-- operators -->
|
---|
109 | <keyword>and</keyword>
|
---|
110 | <keyword>or</keyword>
|
---|
111 | <keyword>not</keyword>
|
---|
112 | <keyword>eq</keyword>
|
---|
113 | <keyword>ne</keyword>
|
---|
114 | <keyword>lt</keyword>
|
---|
115 | <keyword>gt</keyword>
|
---|
116 | <keyword>le</keyword>
|
---|
117 | <keyword>ge</keyword>
|
---|
118 | <keyword>cmp</keyword>
|
---|
119 | </highlighter>
|
---|
120 | </highlighters> |
---|