Damson/assets/syntax/doxygenlua.xml
astar76 11c1a7808b Build the syntax definitions into the app
Highlighting relied on the syntax-highlighting package, so removing it
left every file uncoloured. The 462 definitions now live in assets/syntax
and are compressed into the binary at build time, unpacked per language
when used. User .xml files still add to or replace them, and the licence
each file declares is recorded in assets/syntax/LICENSES.md.

Also moves files to the trash without needing gio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="DoxygenLua" version="17" kateversion="5.62" section="Markup" extensions="" mimetype="" author="Dominik Haumann ([email protected])" license="MIT"><highlighting><list name="TagOnly"><item>@arg</item><item>@author</item><item>@authors</item><item>@brief</item><item>@callergraph</item><item>@callgraph</item><item>@date</item><item>@deprecated</item><item>@details</item><item>@docbookonly</item><item>@else</item><item>@endcond</item><item>@enddocbookonly</item><item>@endhtmlonly</item><item>@endif</item><item>@endinternal</item><item>@endlatexonly</item><item>@endlink</item><item>@endmanonly</item><item>@endparblock</item><item>@endrtfonly</item><item>@endsecreflist</item><item>@endxmlonly</item><item>@hideinitializer</item><item>@htmlonly</item><item>@internal</item><item>@invariant</item><item>@latexonly</item><item>@li</item><item>@manonly</item><item>@n</item><item>@nosubgrouping</item><item>@only</item><item>@parblock</item><item>@pivate</item><item>@pivatesection</item><item>@post</item><item>@pre</item><item>@protected</item><item>@protectedsection</item><item>@public</item><item>@publicsection</item><item>@pure</item><item>@remark</item><item>@remarks</item><item>@result</item><item>@return</item><item>@returns</item><item>@rtfonly</item><item>@sa</item><item>@secreflist</item><item>@see</item><item>@short</item><item>@showinitializer</item><item>@since</item><item>@static</item><item>@tableofcontents</item><item>@test</item><item>@version</item><item>@xmlonly</item><item>\arg</item><item>\author</item><item>\authors</item><item>\brief</item><item>\callergraph</item><item>\callgraph</item><item>\date</item><item>\deprecated</item><item>\details</item><item>\docbookonly</item><item>\else</item><item>\endcond</item><item>\enddocbookonly</item><item>\endhtmlonly</item><item>\endif</item><item>\endinternal</item><item>\endlatexonly</item><item>\endlink</item><item>\endmanonly</item><item>\endparblock</item><item>\endrtfonly</item><item>\endsecreflist</item><item>\endxmlonly</item><item>\hideinitializer</item><item>\htmlonly</item><item>\internal</item><item>\invariant</item><item>\latexonly</item><item>\li</item><item>\manonly</item><item>\n</item><item>\nosubgrouping</item><item>\only</item><item>\parblock</item><item>\post</item><item>\pre</item><item>\private</item><item>\privatesection</item><item>\protected</item><item>\protectedsection</item><item>\public</item><item>\publicsection</item><item>\pure</item><item>\remark</item><item>\remarks</item><item>\result</item><item>\return</item><item>\returns</item><item>\rtfonly</item><item>\sa</item><item>\secreflist</item><item>\see</item><item>\short</item><item>\showinitializer</item><item>\since</item><item>\static</item><item>\tableofcontents</item><item>\test</item><item>\version</item><item>\xmlonly</item></list><list name="TagWord"><item>@a</item><item>@anchor</item><item>@b</item><item>@c</item><item>@cite</item><item>@cond</item><item>@copybrief</item><item>@copydetails</item><item>@copydoc</item><item>@def</item><item>@dir</item><item>@dontinclude</item><item>@e</item><item>@elseif</item><item>@em</item><item>@enum</item><item>@example</item><item>@exception</item><item>@exceptions</item><item>@extends</item><item>@file</item><item>@htmlinclude</item><item>@idlexcept</item><item>@if</item><item>@ifnot</item><item>@implements</item><item>@include</item><item>@includelineno</item><item>@latexinclude</item><item>@link</item><item>@memberof</item><item>@namespace</item><item>@p</item><item>@package</item><item>@property</item><item>@related</item><item>@relatedalso</item><item>@relates</item><item>@relatesalso</item><item>@retval</item><item>@throw</item><item>@throws</item><item>@verbinclude</item><item>@version</item><item>@xrefitem</item><item>\a</item><item>\anchor</item><item>\b</item><item>\c</item><item>\cite</item><item>\cond</item><item>\copybrief</item><item>\copydetails</item><item>\copydoc</item><item>\def</item><item>\dir</item><item>\dontinclude</item><item>\e</item><item>\elseif</item><item>\em</item><item>\enum</item><item>\example</item><item>\exception</item><item>\exceptions</item><item>\extends</item><item>\file</item><item>\htmlinclude</item><item>\idlexcept</item><item>\if</item><item>\ifnot</item><item>\implements</item><item>\include</item><item>\includelineno</item><item>\latexinclude</item><item>\link</item><item>\memberof</item><item>\namespace</item><item>\p</item><item>\package</item><item>\property</item><item>\related</item><item>\relatedalso</item><item>\relates</item><item>\relatesalso</item><item>\retval</item><item>\throw</item><item>\throws</item><item>\verbinclude</item><item>\version</item><item>\xrefitem</item></list><list name="TagParam"><item>@param</item><item>@tparam</item><item>\param</item><item>\tparam</item></list><list name="TagWordWord"><item>@image</item><item>\image</item></list><list name="TagWordString"><item>@addtogroup</item><item>@category</item><item>@class</item><item>@defgroup</item><item>@diafile</item><item>@dotfile</item><item>@headerfile</item><item>@interface</item><item>@mscfile</item><item>@page</item><item>@paragraph</item><item>@prtocol</item><item>@ref</item><item>@section</item><item>@snippet</item><item>@struct</item><item>@subpage</item><item>@subsection</item><item>@subsubsection</item><item>@union</item><item>@weakgroup</item><item>\addtogroup</item><item>\category</item><item>\class</item><item>\defgroup</item><item>\diafile</item><item>\dotfile</item><item>\headerfile</item><item>\interface</item><item>\mscfile</item><item>\page</item><item>\paragraph</item><item>\protocol</item><item>\ref</item><item>\section</item><item>\snippet</item><item>\struct</item><item>\subpage</item><item>\subsection</item><item>\subsubsection</item><item>\union</item><item>\weakgroup</item></list><list name="TagString"><item>@addindex</item><item>@copyright</item><item>@fn</item><item>@ingroup</item><item>@line</item><item>@mainpage</item><item>@name</item><item>@overload</item><item>@par</item><item>@skip</item><item>@skipline</item><item>@typedef</item><item>@until</item><item>@var</item><item>@vhdlflow</item><item>\addindex</item><item>\copyright</item><item>\fn</item><item>\ingroup</item><item>\line</item><item>\mainpage</item><item>\name</item><item>\overload</item><item>\par</item><item>\skip</item><item>\skipline</item><item>\typedef</item><item>\until</item><item>\var</item><item>\vhdlflow</item></list><list name="TagEnd"><item>@endcode</item><item>@enddot</item><item>@endmsc</item><item>@endverbatim</item><item>\endcode</item><item>\enddot</item><item>\endmsc</item><item>\endverbatim</item></list><list name="Note"><item>@note</item><item>\note</item></list><list name="Warning"><item>@warning</item><item>\warning</item></list><list name="Attention"><item>@attention</item><item>@bug</item><item>\attention</item><item>\bug</item></list><list name="Todo"><item>@todo</item><item>\todo</item></list><contexts><context name="Normal" attribute="Normal Text"><RegExpr String="--(?:!|(?:-(?=[^-]|$)))" attribute="Comment" context="LineComment"/><RegExpr String="--\s*@\{\s*$" attribute="Region" beginRegion="MemberGroup"/><RegExpr String="--\s*@\}\s*$" attribute="Region" endRegion="MemberGroup"/></context><context name="SL_FindNextLine" attribute="Normal Text" fallthroughContext="#pop#pop#pop"><DetectSpaces/><StringDetect String="---" attribute="Comment" context="#pop"/><StringDetect String="--!" attribute="Comment" context="#pop"/><RegExpr String="." attribute="Comment" context="#pop#pop#pop" endRegion="VerbatimBlock" lookAhead="1"/></context><context name="SL_TagWord" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><keyword String="TagWord" attribute="Tags" context="#pop!SL_TagWord"/><IncludeRules context="SL_Inc_Word"/></context><context name="SL_Inc_Word" attribute="Word" lineEndContext="#pop"><RegExpr String=".*?(?=(?:[][,?;()]|\.$|\.?\s|$))" attribute="Word" context="#pop"/></context><context name="LanguageId" attribute="Word" fallthroughContext="#pop" lineEndContext="#pop"><DetectIdentifier/></context><context name="SL_Code" attribute="Code" lineEndContext="SL_FindNextLine"><WordDetect String="\endcode" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><WordDetect String="@endcode" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_Dot" attribute="Dot Graph" lineEndContext="SL_FindNextLine"><WordDetect String="\enddot" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><WordDetect String="@enddot" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_Formula" attribute="Formulas" lineEndContext="SL_FindNextLine"><StringDetect String="\f]" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><StringDetect String="@f]" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_FormulaEnv" attribute="Word" lineEndContext="SL_FindNextLine"><DetectChar char="}" attribute="Tags" context="#pop!SL_FormulaEnvStart"/></context><context name="SL_FormulaEnvFormula" attribute="Formulas" lineEndContext="SL_FindNextLine"><StringDetect String="\f}" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><StringDetect String="@f}" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_FormulaShort" attribute="Formulas" lineEndContext="SL_FindNextLine"><StringDetect String="\f$" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><StringDetect String="@f$" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_Msc" attribute="Message Sequence Chart" lineEndContext="SL_FindNextLine"><WordDetect String="\endmsc" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><WordDetect String="@endmsc" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_Verbatim" attribute="Verbatim" lineEndContext="SL_FindNextLine"><WordDetect String="\endverbatim" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/><WordDetect String="@endverbatim" attribute="Tags" context="#pop" endRegion="VerbatimBlock"/></context><context name="SL_htmlcomment" attribute="HTML Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><StringDetect String="-->" attribute="HTML Comment" context="#pop"/></context><context name="SL_htmltag" attribute="Identifier" lineEndContext="#pop"><StringDetect String="/>" attribute="HTML Tag" context="#pop"/><DetectChar char=">" attribute="HTML Tag" context="#pop"/><DetectSpaces/><DetectChar char="=" attribute="Identifier" context="SL_identifiers"/></context><context name="Entities" attribute="Word"><RegExpr String="&amp;[A-Za-z]+;" attribute="Entities" context="#pop"/><DetectChar char="&amp;" attribute="Comment" context="#pop"/></context><context name="Inc_OtherTag" attribute="Comment" lineEndContext="#pop"><keyword String="Note" attribute="Note" context="#pop"/><keyword String="Warning" attribute="Warning" context="#pop"/><keyword String="Attention" attribute="Attention" context="#pop"/><keyword String="Todo" attribute="Todo" context="#pop"/><keyword String="TagOnly" attribute="Tags" context="#pop"/><StringDetect String="@{" attribute="Region" context="#pop" beginRegion="Group"/><StringDetect String="@}" attribute="Region" context="#pop" endRegion="Group"/><StringDetect String="\~" attribute="Tags" context="#pop!LanguageId"/><StringDetect String="@~" attribute="Tags" context="#pop!LanguageId"/><keyword String="TagEnd" attribute="Error" context="#pop"/><RegExpr String="[@\\]f[]}]" attribute="Error" context="#pop"/><RegExpr String='[@\\](?:[#$%&amp;&lt;>"@\\.~=|]|::|---?)' attribute="Escape sequence" context="#pop"/><RegExpr String="[@\\](?:[^@\\ \t\*]|\*(?!/))+" attribute="Custom Tags" context="#pop"/><AnyChar String="\@" attribute="Comment" context="#pop"/></context><context name="LineComment" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="##Comments"/><DetectIdentifier/><AnyChar String="\@" attribute="Comment" context="SL_StartTag" lookAhead="1"/><DetectChar char="&lt;" attribute="Comment" context="SL_StartHTMLTag" lookAhead="1"/><DetectChar char="&amp;" attribute="Comment" context="Entities" lookAhead="1"/></context><context name="SL_FormulaEnvStart" attribute="Formulas" fallthroughContext="#pop!SL_FormulaEnvFormula" lineEndContext="SL_FindNextLine"><DetectSpaces attribute="Comment"/><DetectChar char="{" attribute="Tags" context="#pop!SL_FormulaEnvFormula"/></context><context name="SL_StartHTMLTag" attribute="Comment" lineEndContext="#pop"><StringDetect String="&lt;&lt;" attribute="Comment" context="#pop"/><RegExpr String="&lt;\/?[-\w0-9._:@]+" attribute="HTML Tag" context="#pop!SL_htmltag"/><StringDetect String="&lt;!--" attribute="HTML Comment" context="#pop!SL_htmlcomment"/><DetectChar char="&lt;" attribute="Comment" context="#pop"/></context><context name="SL_StartTag" attribute="Comment" lineEndContext="#pop"><keyword String="TagWord" attribute="Tags" context="#pop!SL_TagWord"/><keyword String="TagParam" attribute="Tags" context="#pop!SL_TagParam"/><keyword String="TagWordWord" attribute="Tags" context="#pop!SL_TagWordWord"/><keyword String="TagString" attribute="Tags" context="#pop!SL_TagString"/><keyword String="TagWordString" attribute="Tags" context="#pop!SL_TagWordString"/><WordDetect String="\code" attribute="Tags" context="#pop!SL_Code" beginRegion="VerbatimBlock"/><WordDetect String="@code" attribute="Tags" context="#pop!SL_Code" beginRegion="VerbatimBlock"/><WordDetect String="\verbatim" attribute="Tags" context="#pop!SL_Verbatim" beginRegion="VerbatimBlock"/><WordDetect String="@verbatim" attribute="Tags" context="#pop!SL_Verbatim" beginRegion="VerbatimBlock"/><WordDetect String="\f[" attribute="Tags" context="#pop!SL_Formula" beginRegion="VerbatimBlock"/><WordDetect String="@f[" attribute="Tags" context="#pop!SL_Formula" beginRegion="VerbatimBlock"/><StringDetect String="\f$" attribute="Tags" context="#pop!SL_FormulaShort" beginRegion="VerbatimBlock"/><StringDetect String="@f$" attribute="Tags" context="#pop!SL_FormulaShort" beginRegion="VerbatimBlock"/><StringDetect String="\f{" attribute="Tags" context="#pop!SL_FormulaEnv" beginRegion="VerbatimBlock"/><StringDetect String="@f{" attribute="Tags" context="#pop!SL_FormulaEnv" beginRegion="VerbatimBlock"/><WordDetect String="\msc" attribute="Tags" context="#pop!SL_Msc" beginRegion="VerbatimBlock"/><WordDetect String="@msc" attribute="Tags" context="#pop!SL_Msc" beginRegion="VerbatimBlock"/><WordDetect String="\dot" attribute="Tags" context="#pop!SL_Dot" beginRegion="VerbatimBlock"/><WordDetect String="@dot" attribute="Tags" context="#pop!SL_Dot" beginRegion="VerbatimBlock"/><IncludeRules context="Inc_OtherTag"/></context><context name="SL_TagParam" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><StringDetect String="[in]" attribute="Tags" context="#pop!SL_TagWord"/><StringDetect String="[out]" attribute="Tags" context="#pop!SL_TagWord"/><StringDetect String="[in,out]" attribute="Tags" context="#pop!SL_TagWord"/><IncludeRules context="SL_Inc_Word"/></context><context name="SL_TagString" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><StringDetect String="&lt;!--" attribute="HTML Comment" context="SL_htmlcomment"/><StringDetect String="&lt;&lt;" attribute="Comment"/><RegExpr String="&lt;\/?[-\w0-9._:@]+" attribute="HTML Tag" context="SL_htmltag"/><RegExpr String="&lt;?[^&lt;\s]+" attribute="Description"/></context><context name="SL_TagWordString" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><IncludeRules context="SL_Inc_Word"/></context><context name="SL_TagWordWord" attribute="Comment" lineEndContext="#pop"><DetectSpaces/><RegExpr String=".*?(?=(?:[][,?;()]|\.$|\.?\s|$))" attribute="Word" context="#pop!SL_TagWord"/></context><context name="SL_identifiers" attribute="Identifier" lineEndContext="#pop"><DetectSpaces/><DetectChar char="'" attribute="Types" context="SL_types1"/><DetectChar char='"' attribute="Types" context="SL_types2"/></context><context name="SL_types1" attribute="Types" lineEndContext="#pop"><DetectChar char="'" attribute="Types" context="#pop#pop"/></context><context name="SL_types2" attribute="Types" lineEndContext="#pop"><DetectChar char='"' attribute="Types" context="#pop#pop"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal"/><itemData name="Escape sequence" defStyleNum="dsSpecialChar"/><itemData name="Tags" defStyleNum="dsAnnotation" bold="1"/><itemData name="Custom Tags" defStyleNum="dsAnnotation"/><itemData name="Word" defStyleNum="dsCommentVar" bold="1" italic="0"/><itemData name="HTML Tag" defStyleNum="dsKeyword" bold="1" italic="0"/><itemData name="Entities" defStyleNum="dsOthers" color="#4086C0" bold="1" italic="1"/><itemData name="Description" defStyleNum="dsDocumentation"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Region" defStyleNum="dsRegionMarker"/><itemData name="Identifier" defStyleNum="dsOthers"/><itemData name="HTML Comment" defStyleNum="dsComment"/><itemData name="Types" defStyleNum="dsDataType"/><itemData name="Code" defStyleNum="dsComment"/><itemData name="Dot Graph" defStyleNum="dsComment" color="#00A000" selColor="#ffffff" italic="1"/><itemData name="Formulas" defStyleNum="dsComment" color="#00A000" selColor="#ffffff" italic="1"/><itemData name="Message Sequence Chart" defStyleNum="dsComment" color="#00A000" selColor="#ffffff" italic="1"/><itemData name="Verbatim" defStyleNum="dsComment"/><itemData name="Note" defStyleNum="dsInformation" bold="1" italic="0"/><itemData name="Warning" defStyleNum="dsWarning" bold="1" italic="0"/><itemData name="Attention" defStyleNum="dsAnnotation" bold="1" italic="0"/><itemData name="Todo" defStyleNum="dsAnnotation" bold="1" italic="0"/><itemData name="Error" defStyleNum="dsError"/></itemDatas></highlighting><general><keywords casesensitive="1" weakDeliminator="\$"/></general></language>