]> git.stg.codes - stg.git/blob - doc/xslt/highlighting/csharp-hl.xml
Ticket 37. const TARIFF * tariff definition, tariff checking and tariff->GetTariffData()
[stg.git] / doc / xslt / highlighting / csharp-hl.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3 \r
4 Syntax highlighting definition for C#\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="multiline-comment">\r
33                 <start>/**</start>\r
34                 <end>*/</end>\r
35                 <style>doccomment</style>\r
36         </highlighter>\r
37         <highlighter type="oneline-comment">\r
38                 <start>///</start>\r
39                 <style>doccomment</style>\r
40         </highlighter>\r
41         <highlighter type="multiline-comment">\r
42                 <start>/*</start>\r
43                 <end>*/</end>\r
44         </highlighter>\r
45         <highlighter type="oneline-comment">//</highlighter>\r
46         <highlighter type="annotation">\r
47                 <!-- annotations are called (custom) "attributes" in .NET -->\r
48                 <start>[</start>\r
49                 <end>]</end>\r
50                 <valueStart>(</valueStart>\r
51                 <valueEnd>)</valueEnd>\r
52         </highlighter>\r
53         <highlighter type="oneline-comment">\r
54                 <!-- C# supports a couple of directives -->\r
55                 <start>#</start>\r
56                 <lineBreakEscape>\</lineBreakEscape>\r
57                 <style>directive</style>\r
58         </highlighter>\r
59         <highlighter type="string">\r
60                 <!-- strings starting with an "@" can span multiple lines -->\r
61                 <string>@"</string>\r
62                 <endString>"</endString>\r
63                 <escape>\</escape>\r
64                 <spanNewLines />\r
65         </highlighter>\r
66         <highlighter type="string">\r
67                 <string>"</string>\r
68                 <escape>\</escape>\r
69         </highlighter>\r
70         <highlighter type="string">\r
71                 <string>'</string>\r
72                 <escape>\</escape>\r
73         </highlighter>\r
74         <highlighter type="hexnumber">\r
75                 <prefix>0x</prefix>\r
76                 <suffix>ul</suffix>\r
77                 <suffix>lu</suffix>\r
78                 <suffix>u</suffix>\r
79                 <suffix>l</suffix>\r
80                 <ignoreCase />\r
81         </highlighter>\r
82         <highlighter type="number">\r
83                 <point>.</point>\r
84                 <pointStarts />\r
85                 <exponent>e</exponent>\r
86                 <suffix>ul</suffix>\r
87                 <suffix>lu</suffix>\r
88                 <suffix>u</suffix>\r
89                 <suffix>f</suffix>\r
90                 <suffix>d</suffix>\r
91                 <suffix>m</suffix>\r
92                 <suffix>l</suffix>\r
93                 <ignoreCase />\r
94         </highlighter>\r
95         <highlighter type="keywords">\r
96                 <keyword>abstract</keyword>\r
97                 <keyword>as</keyword>\r
98                 <keyword>base</keyword>\r
99                 <keyword>bool</keyword>\r
100                 <keyword>break</keyword>\r
101                 <keyword>byte</keyword>\r
102                 <keyword>case</keyword>\r
103                 <keyword>catch</keyword>\r
104                 <keyword>char</keyword>\r
105                 <keyword>checked</keyword>\r
106                 <keyword>class</keyword>\r
107                 <keyword>const</keyword>\r
108                 <keyword>continue</keyword>\r
109                 <keyword>decimal</keyword>\r
110                 <keyword>default</keyword>\r
111                 <keyword>delegate</keyword>\r
112                 <keyword>do</keyword>\r
113                 <keyword>double</keyword>\r
114                 <keyword>else</keyword>\r
115                 <keyword>enum</keyword>\r
116                 <keyword>event</keyword>\r
117                 <keyword>explicit</keyword>\r
118                 <keyword>extern</keyword>\r
119                 <keyword>false</keyword>\r
120                 <keyword>finally</keyword>\r
121                 <keyword>fixed</keyword>\r
122                 <keyword>float</keyword>\r
123                 <keyword>for</keyword>\r
124                 <keyword>foreach</keyword>\r
125                 <keyword>goto</keyword>\r
126                 <keyword>if</keyword>\r
127                 <keyword>implicit</keyword>\r
128                 <keyword>in</keyword>\r
129                 <keyword>int</keyword>\r
130                 <keyword>interface</keyword>\r
131                 <keyword>internal</keyword>\r
132                 <keyword>is</keyword>\r
133                 <keyword>lock</keyword>\r
134                 <keyword>long</keyword>\r
135                 <keyword>namespace</keyword>\r
136                 <keyword>new</keyword>\r
137                 <keyword>null</keyword>\r
138                 <keyword>object</keyword>\r
139                 <keyword>operator</keyword>\r
140                 <keyword>out</keyword>\r
141                 <keyword>override</keyword>\r
142                 <keyword>params</keyword>\r
143                 <keyword>private</keyword>\r
144                 <keyword>protected</keyword>\r
145                 <keyword>public</keyword>\r
146                 <keyword>readonly</keyword>\r
147                 <keyword>ref</keyword>\r
148                 <keyword>return</keyword>\r
149                 <keyword>sbyte</keyword>\r
150                 <keyword>sealed</keyword>\r
151                 <keyword>short</keyword>\r
152                 <keyword>sizeof</keyword>\r
153                 <keyword>stackalloc</keyword>\r
154                 <keyword>static</keyword>\r
155                 <keyword>string</keyword>\r
156                 <keyword>struct</keyword>\r
157                 <keyword>switch</keyword>\r
158                 <keyword>this</keyword>\r
159                 <keyword>throw</keyword>\r
160                 <keyword>true</keyword>\r
161                 <keyword>try</keyword>\r
162                 <keyword>typeof</keyword>\r
163                 <keyword>uint</keyword>\r
164                 <keyword>ulong</keyword>\r
165                 <keyword>unchecked</keyword>\r
166                 <keyword>unsafe</keyword>\r
167                 <keyword>ushort</keyword>\r
168                 <keyword>using</keyword>\r
169                 <keyword>virtual</keyword>\r
170                 <keyword>void</keyword>\r
171                 <keyword>volatile</keyword>\r
172                 <keyword>while</keyword>\r
173         </highlighter>\r
174         <highlighter type="keywords">\r
175                 <!-- special words, not really keywords -->\r
176                 <keyword>add</keyword>\r
177                 <keyword>alias</keyword>\r
178                 <keyword>get</keyword>\r
179                 <keyword>global</keyword>\r
180                 <keyword>partial</keyword>\r
181                 <keyword>remove</keyword>\r
182                 <keyword>set</keyword>\r
183                 <keyword>value</keyword>\r
184                 <keyword>where</keyword>\r
185                 <keyword>yield</keyword>\r
186         </highlighter>\r
187 </highlighters>