Warning, /frameworks/syntax-highlighting/data/syntax/asn1.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language>
0003 <!--
0004         You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
0005         This is a template for the XML format used for syntax highlight descriptions
0006         for the Kate text editor (http://kate.kde.org), which is part of the KDE
0007         desktop environment (http://www.kde.org).
0008 
0009         Use it as the base for your own syntax files.
0010 
0011         Look at language.dtd for some documentation of the allowed elements and their attributes.
0012         There is also a description of how to validate your syntax file.
0013 
0014         You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
0015 -->
0016 <language name="ASN.1" section="Markup" version="6" kateversion="5.0" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL">
0017   <highlighting>
0018     <list name="keywords">
0019       <item>DEFINITIONS</item>
0020       <item>EXPORTS</item>
0021       <item>IMPORTS</item>
0022       <item>FROM</item>
0023       <item>APPLICATION</item>
0024       <item>PRIVATE</item>
0025       <item>UNIVERSAL</item>
0026       <item>DEFAULT</item>
0027       <item>OPTIONAL</item>
0028       <item>FALSE</item>
0029       <item>TRUE</item>
0030       <item>AUTOMATIC</item>
0031       <item>CLASS</item>
0032       <item>WITH</item>
0033       <item>SIZE</item>
0034       <item>TAGS</item>
0035     </list>
0036     <list name="types">
0037       <item>BOOLEAN</item>
0038       <item>INTEGER</item>
0039       <item>OCTET</item>
0040       <item>STRING</item>
0041       <item>NULL</item>
0042       <item>REAL</item>
0043       <item>ENUMERATED</item>
0044       <item>SEQUENCE</item>
0045       <item>SET</item>
0046       <item>CHOICE</item>
0047       <item>OF</item>
0048       <item>UNION</item>
0049       <item>StringStore</item>
0050       <item>GeneralString</item>
0051       <item>IA5String</item>
0052       <item>ISO64String</item>
0053       <item>NumericString</item>
0054       <item>PrintableString</item>
0055       <item>T61String</item>
0056       <item>TeletexString</item>
0057       <item>UniversalString</item>
0058       <item>UTF8String</item>
0059       <item>VideotexString</item>
0060       <item>VisibleString</item>
0061       <item>DATE</item>
0062       <item>DATE-TIME</item>
0063       <item>DURATION</item>
0064       <item>GeneralizedTime</item>
0065       <item>UTCTime</item>
0066     </list>
0067     
0068     <contexts>
0069       <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
0070         <keyword attribute="Keyword" context="#stay" String="keywords" />
0071         <StringDetect attribute="Keyword" context="#stay" String="BEGIN" beginRegion="Block"/>
0072         <StringDetect attribute="Keyword" context="#stay" String="END" endRegion="Block"/>
0073         <keyword attribute="Data Type" context="#stay" String="types" />
0074         <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/>
0075         <Detect2Chars attribute="Comment" context="Multiline Comment" char="/" char1="*" beginRegion="Comment"/>
0076         <DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="BraceBlock"/>
0077         <DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="BraceBlock"/>
0078 
0079         <Int attribute="Decimal" context="#stay"/>
0080         <DetectChar attribute="String" context="ctxString" char="&quot;"/>
0081       </context>
0082       
0083       <context attribute="Comment" lineEndContext="#pop" name="Comment">
0084         <IncludeRules context="##Comments" />
0085       </context>
0086       <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment">
0087         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
0088         <IncludeRules context="##Comments"/>
0089       </context>
0090 
0091       <context attribute="String" lineEndContext="#stay" name="ctxString">
0092         <DetectChar attribute="String" context="#pop" char="&quot;"/>
0093       </context>
0094     </contexts>
0095     
0096     <itemDatas>
0097       <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
0098       <itemData name="Keyword"     defStyleNum="dsKeyword" spellChecking="false"/>
0099       <itemData name="Comment"     defStyleNum="dsComment"/>
0100       <itemData name="Data Type"   defStyleNum="dsDataType" spellChecking="false"/>
0101       <itemData name="Decimal"     defStyleNum="dsDecVal"/>
0102       <itemData name="String"      defStyleNum="dsString"/>
0103     </itemDatas>
0104   </highlighting>
0105   <general>
0106     <comments>
0107       <comment name="singleLine" start="--"/>
0108       <comment name="multiLine" start="/*" end="*/" region="Comment"/>
0109     </comments>
0110   </general>
0111 </language>
0112 <!--
0113 // kate: space-indent on; indent-width 2; replace-tabs on;
0114 -->