[15c7d39] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 |
|
---|
| 4 | Syntax highlighting definition for Python
|
---|
| 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="annotation">
|
---|
| 33 | <!-- these are actually called decorators -->
|
---|
| 34 | <start>@</start>
|
---|
| 35 | <valueStart>(</valueStart>
|
---|
| 36 | <valueEnd>)</valueEnd>
|
---|
| 37 | </highlighter>
|
---|
| 38 | <highlighter type="oneline-comment">#</highlighter>
|
---|
| 39 | <highlighter type="string">
|
---|
| 40 | <string>"""</string>
|
---|
| 41 | <spanNewLines />
|
---|
| 42 | </highlighter>
|
---|
| 43 | <highlighter type="string">
|
---|
| 44 | <string>'''</string>
|
---|
| 45 | <spanNewLines />
|
---|
| 46 | </highlighter>
|
---|
| 47 | <highlighter type="string">
|
---|
| 48 | <string>"</string>
|
---|
| 49 | <escape>\</escape>
|
---|
| 50 | </highlighter>
|
---|
| 51 | <highlighter type="string">
|
---|
| 52 | <string>'</string>
|
---|
| 53 | <escape>\</escape>
|
---|
| 54 | </highlighter>
|
---|
| 55 | <highlighter type="hexnumber">
|
---|
| 56 | <prefix>0x</prefix>
|
---|
| 57 | <suffix>l</suffix>
|
---|
| 58 | <ignoreCase />
|
---|
| 59 | </highlighter>
|
---|
| 60 | <highlighter type="number">
|
---|
| 61 | <point>.</point>
|
---|
| 62 | <pointStarts />
|
---|
| 63 | <exponent>e</exponent>
|
---|
| 64 | <suffix>l</suffix>
|
---|
| 65 | <ignoreCase />
|
---|
| 66 | </highlighter>
|
---|
| 67 | <highlighter type="keywords">
|
---|
| 68 | <keyword>and</keyword>
|
---|
| 69 | <keyword>del</keyword>
|
---|
| 70 | <keyword>from</keyword>
|
---|
| 71 | <keyword>not</keyword>
|
---|
| 72 | <keyword>while</keyword>
|
---|
| 73 | <keyword>as</keyword>
|
---|
| 74 | <keyword>elif</keyword>
|
---|
| 75 | <keyword>global</keyword>
|
---|
| 76 | <keyword>or</keyword>
|
---|
| 77 | <keyword>with</keyword>
|
---|
| 78 | <keyword>assert</keyword>
|
---|
| 79 | <keyword>else</keyword>
|
---|
| 80 | <keyword>if</keyword>
|
---|
| 81 | <keyword>pass</keyword>
|
---|
| 82 | <keyword>yield</keyword>
|
---|
| 83 | <keyword>break</keyword>
|
---|
| 84 | <keyword>except</keyword>
|
---|
| 85 | <keyword>import</keyword>
|
---|
| 86 | <keyword>print</keyword>
|
---|
| 87 | <keyword>class</keyword>
|
---|
| 88 | <keyword>exec</keyword>
|
---|
| 89 | <keyword>in</keyword>
|
---|
| 90 | <keyword>raise</keyword>
|
---|
| 91 | <keyword>continue</keyword>
|
---|
| 92 | <keyword>finally</keyword>
|
---|
| 93 | <keyword>is</keyword>
|
---|
| 94 | <keyword>return</keyword>
|
---|
| 95 | <keyword>def</keyword>
|
---|
| 96 | <keyword>for</keyword>
|
---|
| 97 | <keyword>lambda</keyword>
|
---|
| 98 | <keyword>try</keyword>
|
---|
| 99 | </highlighter>
|
---|
| 100 | </highlighters> |
---|