symbol-processor/syntax-highlighting/ksyntaxhighlighting/symbol-processor.xml

62 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<language name="Symbol Definitions" version="1" kateversion="5.62" section="Sources" extensions="*.def" license="MIT">
<highlighting>
<list name="commands">
<item>extends</item>
<item>size</item>
<item>vtable-size</item>
<item>vtable</item>
<item>property</item>
<item>static-property</item>
<item>method</item>
<item>virtual-method</item>
<item>static-method</item>
<item>constructor</item>
<item>vtable-destructor-offset</item>
<item>mark-as-simple</item>
</list>
<list name="types">
<item>const</item>
<item>char</item>
<item>uchar</item>
<item>short</item>
<item>ushort</item>
<item>int</item>
<item>uint</item>
<item>float</item>
<item>bool</item>
<item>void</item>
<item>std::string</item>
<item>std::vector</item>
<item>std::map</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" lookAhead="true" />
<keyword attribute="Keyword" context="#stay" String="commands" />
<keyword attribute="Data Type" context="#stay" String="types" />
<AnyChar attribute="Symbol" context="#stay" String="=;"/>
<HlCHex attribute="Number" context="#stay" />
<Int attribute="Number" context="#stay" />
</context>
<context attribute="Comment" lineEndContext="#pop" name="Comment">
<IncludeRules context="##Comments" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal" />
<itemData name="Keyword" defStyleNum="dsKeyword" />
<itemData name="Data Type" defStyleNum="dsDataType" />
<itemData name="Comment" defStyleNum="dsComment" />
<itemData name="Symbol" defStyleNum="dsOperator"/>
<itemData name="Number" defStyleNum="dsBaseN" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//"/>
</comments>
<keywords casesensitive="1" weakDeliminator="-:" />
</general>
</language>