Warning, /frameworks/syntax-highlighting/data/syntax/oors.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <!DOCTYPE language> 0003 <language name="OORS" version="6" kateversion="5.79" section="Sources" extensions="*.oors" author="Gernot Gebhard (gebhard@absint.com)" license="MIT"> 0004 <highlighting> 0005 <list name="oors"> 0006 <item>allow</item> 0007 <item>apply</item> 0008 <item>backtrack</item> 0009 <item>copy</item> 0010 <item>condition</item> 0011 <item>deny</item> 0012 <item>extends</item> 0013 <item>graph</item> 0014 <item>if</item> 0015 <item>else</item> 0016 <item>linear</item> 0017 <item>profile</item> 0018 <item>rule</item> 0019 <item>ruleset</item> 0020 <item>search</item> 0021 <item>unsafe</item> 0022 </list> 0023 <contexts> 0024 <context name="Main" attribute="Normal Text" lineEndContext="#stay"> 0025 <keyword attribute="Directive" context="#stay" String="oors" /> 0026 <IncludeRules context="FindComments" /> 0027 <DetectSpaces /> 0028 <DetectChar attribute="Normal Text" context="Ordered" char="[" beginRegion="Ordered" /> 0029 <DetectChar attribute="Normal Text" context="Unordered" char="{" beginRegion="Unordered" /> 0030 <Detect2Chars attribute="Content-Type Delimiter" context="Header" char="%" char1="{" beginRegion="Header" /> 0031 <Detect2Chars attribute="Content-Type Delimiter" context="Header" char="%" char1="%" beginRegion="Header" /> 0032 </context> 0033 <context name="Header" attribute="Normal Text" lineEndContext="#stay"> 0034 <IncludeRules context="FindComments" /> 0035 <Detect2Chars attribute="Content-Type Delimiter" context="#pop" char="%" char1="}" endRegion="Header" /> 0036 <Detect2Chars attribute="Content-Type Delimiter" context="#pop" char="%" char1="%" endRegion="Header" /> 0037 <IncludeRules context="##C++" /> 0038 </context> 0039 <context name="Ordered" attribute="Normal Text" lineEndContext="#stay"> 0040 <keyword attribute="Directive" context="#stay" String="oors" /> 0041 <IncludeRules context="FindComments" /> 0042 <IncludeRules context="Accessor" /> 0043 <DetectChar attribute="Normal Text" context="Ordered" char="[" beginRegion="Ordered" /> 0044 <DetectChar attribute="Normal Text" context="Unordered" char="{" beginRegion="Unordered" /> 0045 <DetectChar attribute="Normal Text" context="#pop" char="]" endRegion="Ordered" /> 0046 <IncludeRules context="##C++" /> 0047 </context> 0048 <context name="Unordered" attribute="Normal Text" lineEndContext="#stay"> 0049 <keyword attribute="Directive" context="#stay" String="oors" /> 0050 <IncludeRules context="FindComments" /> 0051 <IncludeRules context="Accessor" /> 0052 <DetectChar attribute="Normal Text" context="Ordered" char="[" beginRegion="Ordered" /> 0053 <DetectChar attribute="Normal Text" context="Unordered" char="{" beginRegion="Unordered" /> 0054 <DetectChar attribute="Normal Text" context="#pop" char="}" endRegion="Unordered" /> 0055 <IncludeRules context="##C++" /> 0056 </context> 0057 <context name="Accessor" attribute="Directive" lineEndContext="#stay"> 0058 <Detect2Chars attribute="Directive" context="#stay" char="$" char1="$" /> 0059 <RegExpr attribute="Directive" context="#stay" String="\$-?[_a-zA-Z1-9][_a-zA-Z0-9]*" /> 0060 </context> 0061 <context name="FindComments" attribute="Comment" lineEndContext="#stay"> 0062 <Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="*" lookAhead="1" /> 0063 <Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="/" lookAhead="1" /> 0064 </context> 0065 <context name="MatchComment" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop"> 0066 <IncludeRules context="##Doxygen" /> 0067 <Detect2Chars attribute="Comment" context="#pop!CommentStar" char="/" char1="*" beginRegion="Comment" /> 0068 <Detect2Chars attribute="Comment" context="#pop!CommentSlash" char="/" char1="/" /> 0069 </context> 0070 <context name="CommentStar" attribute="Comment" lineEndContext="#stay"> 0071 <DetectSpaces /> 0072 <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/> 0073 <IncludeRules context="##Comments" /> 0074 </context> 0075 <context name="CommentSlash" attribute="Comment" lineEndContext="#stay"> 0076 <RegExpr attribute="Comment" context="#pop" String="[^\\]$" /> 0077 <IncludeRules context="##Comments" /> 0078 </context> 0079 </contexts> 0080 <itemDatas> 0081 <itemData name="Normal Text" defStyleNum="dsNormal" /> 0082 <itemData name="Comment" defStyleNum="dsComment" /> 0083 <itemData name="Content-Type Delimiter" defStyleNum="dsBaseN" bold="1" /> 0084 <itemData name="Directive" defStyleNum="dsKeyword"/> 0085 </itemDatas> 0086 </highlighting> 0087 <general> 0088 <comments> 0089 <comment name="singleLine" start="//" /> 0090 <comment name="multiLine" start="/*" end="*/" region="Comment" /> 0091 </comments> 0092 <keywords casesensitive="1" /> 0093 </general> 0094 </language> 0095 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->