Warning, /frameworks/syntax-highlighting/data/syntax/crk.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="Crack" version="10" kateversion="5.0" section="Sources" extensions="*.crk" mimetype="">
0004   <highlighting>
0005     <list name="keywords">
0006       <item>break</item>
0007       <item>catch</item>
0008       <item>class</item>
0009       <item>continue</item>
0010       <item>else</item>
0011       <item>false</item>
0012       <item>for</item>
0013       <item>if</item>
0014       <item>in</item>
0015       <item>is</item>
0016       <item>null</item>
0017       <item>oper</item>
0018       <item>return</item>
0019       <item>this</item>
0020       <item>true</item>
0021       <item>try</item>
0022       <item>typeof</item>
0023       <item>while</item>
0024     </list>
0025     <list name="types">
0026       <item>bool</item>
0027       <item>byte</item>
0028       <item>int16</item>
0029       <item>int32</item>
0030       <item>int64</item>
0031       <item>uint16</item>
0032       <item>uint32</item>
0033       <item>uint64</item>
0034       <item>float32</item>
0035       <item>float64</item>
0036       <item>int</item>
0037       <item>uint</item>
0038       <item>intz</item>
0039       <item>uintz</item>
0040       <item>float</item>
0041       <item>void</item>
0042     </list>
0043     <contexts>
0044       <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
0045         <keyword attribute="Keyword" context="#stay" String="keywords"/>
0046         <WordDetect attribute="Keyword" context="Package" String="import" />
0047         <keyword attribute="Data Type" context="#stay" String="types" />
0048         <Float attribute="Float" context="#stay"/>
0049         <HlCOct attribute="Octal" context="#stay"/>
0050         <HlCHex attribute="Hex" context="#stay"/>
0051         <Int attribute="Decimal" context="#stay"/>
0052         <DetectChar attribute="String" context="Single quoted String" char="'"/>
0053         <DetectChar attribute="String" context="String" char="&quot;"/>
0054         <DetectChar attribute="String" context="Backtick String" char="`"/>
0055         <Detect2Chars attribute="Char" context="Char" char="b" char1="'" />
0056         <DetectChar attribute="Comment" context="Commentar 1" char="#" />
0057         <Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="/" lookAhead="true"/>
0058         <Detect2Chars attribute="Comment" context="MatchComment" char="/" char1="*" lookAhead="true" />
0059         <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="block1"/>
0060         <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="block1"/>
0061         <AnyChar attribute="Symbol" context="#stay" String=":!%&amp;()+,-/.*&lt;=&gt;?[]|~^&#59;"/>
0062         <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*[(])" />
0063         <RegExpr attribute="Annotation" context="#stay" String="@\w+" />
0064         <DetectIdentifier attribute="Normal Text"/>
0065       </context>
0066 
0067       <context attribute="String" lineEndContext="#pop" name="String">
0068         <LineContinue attribute="String" context="#pop"/>
0069         <HlCStringChar attribute="Char" context="#stay"/>
0070         <DetectChar attribute="String" context="#pop" char="&quot;"/>
0071       </context>
0072 
0073       <context attribute="String" lineEndContext="#pop" name="Single quoted String">
0074         <LineContinue attribute="String" context="#pop"/>
0075         <HlCStringChar attribute="Char" context="#stay"/>
0076         <DetectChar attribute="String" context="#pop" char="'"/>
0077       </context>
0078 
0079       <context attribute="String" lineEndContext="#stay" name="Backtick String">
0080         <HlCStringChar attribute="Char" context="#stay"/>
0081         <Detect2Chars attribute="Substitution" char="$" char1="(" context="Subst"/>
0082         <DetectChar attribute="Substitution" char="$" context="Short Subst"/>
0083         <DetectChar attribute="String" context="#pop" char="`"/>
0084       </context>
0085 
0086       <context attribute="Char" lineEndContext="#pop" name="Char">
0087         <HlCStringChar attribute="Char" context="#stay" />
0088         <DetectChar attribute="Char" context="#pop" char="'" />
0089       </context>
0090 
0091       <context name="Braces" attribute="Normal Text" lineEndContext="#stay">
0092         <DetectChar attribute="Normal Text" char=")" context="#pop"/>
0093         <!-- Highlight everything inside as code. -->
0094         <IncludeRules context="Normal"/>
0095       </context>
0096 
0097       <context name="Subst" attribute="Normal Text" lineEndContext="#stay">
0098         <!-- Switch to a new context when encountering an lbrace so that we don't #pop too early. -->
0099         <DetectChar attribute="Normal Text" char="(" context="Braces"/>
0100         <DetectChar attribute="Substitution" char=")" context="#pop"/>
0101         <!-- Highlight substitution as code. -->
0102         <IncludeRules context="Normal"/>
0103       </context>
0104 
0105       <context name="Short Subst" attribute="Substitution" lineEndContext="#pop">
0106         <RegExpr attribute="Substitution" String="\w(?!\w)" context="#pop"/>
0107       </context>
0108 
0109       <context name="Package" attribute="Package" lineEndContext="#pop">
0110         <RegExpr attribute="Package" String="[\w\\.]+" context="#pop"/>
0111       </context>
0112 
0113       <context name="MatchComment" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop">
0114         <IncludeRules context="##Doxygen" />
0115         <Detect2Chars attribute="Comment" context="#pop!Commentar 1" char="/" char1="/" />
0116         <Detect2Chars attribute="Comment" context="#pop!Commentar 2" char="/" char1="*" beginRegion="Comment" />
0117       </context>
0118 
0119       <context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
0120         <IncludeRules context="##Comments" />
0121       </context>
0122       <context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
0123         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="BlockComment"/>
0124         <IncludeRules context="##Comments" />
0125       </context>
0126     </contexts>
0127     <itemDatas>
0128       <itemData name="Normal Text"  defStyleNum="dsNormal"/>
0129       <itemData name="Keyword"      defStyleNum="dsKeyword"/>
0130       <itemData name="Data Type"    defStyleNum="dsDataType"/>
0131       <itemData name="Decimal"      defStyleNum="dsDecVal"/>
0132       <itemData name="Octal"        defStyleNum="dsBaseN"/>
0133       <itemData name="Hex"          defStyleNum="dsBaseN"/>
0134       <itemData name="Float"        defStyleNum="dsFloat"/>
0135       <itemData name="Char"         defStyleNum="dsChar"/>
0136       <itemData name="String"       defStyleNum="dsString"/>
0137       <itemData name="Comment"      defStyleNum="dsComment"/>
0138       <itemData name="Symbol"       defStyleNum="dsOperator"/>
0139       <itemData name="Substitution" defStyleNum="dsOthers"/>
0140       <itemData name="Package"      defStyleNum="dsFunction"/>
0141       <itemData name="Function"     defStyleNum="dsFunction"/>
0142       <itemData name="Annotation"   defStyleNum="dsAttribute"/>
0143     </itemDatas>
0144   </highlighting>
0145   <general>
0146     <comments>
0147       <comment name="singleLine" start="#" />
0148       <comment name="multiLine" start="/*" end="*/" region="BlockComment"/>
0149     </comments>
0150     <keywords casesensitive="1" />
0151   </general>
0152 </language>
0153 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->