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