Warning, /frameworks/syntax-highlighting/data/generators/spdx-comments.xml.tpl is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language>
0003 <!-- ***** THIS FILE WAS GENERATED BY A SCRIPT - DO NOT EDIT *****
0004 cd data/generators
0005 # increase version of spdx-comments.xml.tpl then
0006 ./generate-spdx-syntax.py > ../syntax/spdx-comments.xml
0007 -->
0008 <language
0009 version="6"
0010 kateversion="3.1"
0011 name="SPDX-Comments"
0012 section="Other"
0013 extensions=""
0014 mimetype=""
0015 author="Alex Turbov (i.zaufi@gmail.com)"
0016 license="MIT"
0017 hidden="true"
0018 >
0019 <highlighting>
0020 <list name="tags">
0021 <item>SPDX-License-Identifier:</item>
0022 <item>SPDX-FileContributor:</item>
0023 <item>SPDX-FileCopyrightText:</item>
0024 <item>SPDX-LicenseInfoInFile:</item>
0025 </list>
0026
0027 <list name="operators">
0028 <item>AND</item>
0029 <item>OR</item>
0030 <item>WITH</item>
0031 </list>
0032
0033 <list name="licenses">
0034 <!--[- for license in licenses if not license.isDeprecatedLicenseId ]-->
0035 <item><!--{ license.licenseId }--></item>
0036 <!--[- endfor ]-->
0037 </list>
0038
0039 <list name="deprecated-licenses">
0040 <!--[- for license in licenses if license.isDeprecatedLicenseId ]-->
0041 <item><!--{ license.licenseId }--></item>
0042 <!--[- endfor ]-->
0043 </list>
0044
0045 <list name="exceptions">
0046 <!--[- for exception in exceptions if not exception.isDeprecatedLicenseId ]-->
0047 <item><!--{ exception.licenseExceptionId }--></item>
0048 <!--[- endfor ]-->
0049 </list>
0050
0051 <list name="deprecated-exceptions">
0052 <!--[- for exception in exceptions if exception.isDeprecatedLicenseId ]-->
0053 <item><!--{ exception.licenseExceptionId }--></item>
0054 <!--[- endfor ]-->
0055 </list>
0056
0057 <contexts>
0058
0059 <context name="Normal" attribute="SPDX Tag" lineEndContext="#pop">
0060 <WordDetect String="SPDX-License-Identifier:" attribute="SPDX Tag" context="license-expression" />
0061 <keyword String="tags" attribute="SPDX Tag" />
0062 </context>
0063
0064 <context name="license-expression" attribute="SPDX Value" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
0065 <DetectSpaces/>
0066 <AnyChar String="()+" context="#stay" attribute="SPDX License Expression Operator" />
0067 <keyword String="licenses" context="#stay" attribute="SPDX License" />
0068 <keyword String="deprecated-licenses" context="#stay" attribute="SPDX Deprecated License" />
0069 <keyword String="exceptions" context="#stay" attribute="SPDX License Exception" />
0070 <keyword String="deprecated-exceptions" context="#stay" attribute="SPDX Deprecated License Exception" />
0071 <keyword String="operators" context="#stay" attribute="SPDX License Expression Operator" />
0072 <RegExpr attribute="SPDX License" context="#stay" String="\bLicenseRef-[^\s]+" />
0073 </context>
0074
0075 </contexts>
0076
0077 <itemDatas>
0078 <itemData name="SPDX Tag" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0079 <itemData name="SPDX Value" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0080 <itemData name="SPDX License" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0081 <itemData name="SPDX License Exception" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0082 <itemData name="SPDX Deprecated License" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0083 <itemData name="SPDX Deprecated License Exception" defStyleNum="dsAnnotation" italic="true" spellChecking="false" />
0084 <itemData name="SPDX License Expression Operator" defStyleNum="dsOperator" italic="true" spellChecking="false" />
0085 </itemDatas>
0086
0087 </highlighting>
0088
0089 <general>
0090 <keywords casesensitive="1" weakDeliminator=":-." />
0091 </general>
0092
0093 </language>
0094 <!-- kate: indent-width 2; -->