Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.asn1.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 <!DOCTYPE html> 0002 <html><head> 0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0004 <title>highlight.asn1</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (ASN.1) - Theme (Breeze Light)"/> 0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> 0007 <span style="color:#898887;">-- comment with </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">FIXME</span><span style="color:#898887;"> alerts</span> 0008 <span style="color:#898887;">-- example code taken from https://en.wikipedia.org/wiki/ASN.1</span> 0009 0010 FooProtocol <span style="font-weight:bold;">DEFINITIONS</span> ::= <span style="font-weight:bold;">BEGIN</span> 0011 <span style="color:#898887;">/** Multiline comment</span> 0012 <span style="color:#898887;"> * with </span><span style="color:#81ca2d;background-color:#f7e6e6;font-weight:bold;">###</span><span style="color:#898887;"> alerts</span> 0013 <span style="color:#898887;"> */</span> 0014 FooQuestion ::= <span style="color:#0057ae;">SEQUENCE</span> { 0015 trackingNumber <span style="color:#0057ae;">INTEGER</span>(<span style="color:#b08000;">0</span>..<span style="color:#b08000;">199</span>), 0016 question <span style="color:#0057ae;">IA5String</span> 0017 } 0018 0019 FooAnswer ::= <span style="color:#0057ae;">SEQUENCE</span> { 0020 questionNumber <span style="color:#0057ae;">INTEGER</span>(<span style="color:#b08000;">10</span>..<span style="color:#b08000;">20</span>), 0021 answer <span style="color:#0057ae;">BOOLEAN</span> 0022 } 0023 0024 FooHistory ::= <span style="color:#0057ae;">SEQUENCE</span> { 0025 questions <span style="color:#0057ae;">SEQUENCE</span>(<span style="font-weight:bold;">SIZE</span>(<span style="color:#b08000;">0</span>..<span style="color:#b08000;">10</span>)) <span style="color:#0057ae;">OF</span> FooQuestion, 0026 answers <span style="color:#0057ae;">SEQUENCE</span>(<span style="font-weight:bold;">SIZE</span>(<span style="color:#b08000;">1</span>..<span style="color:#b08000;">10</span>)) <span style="color:#0057ae;">OF</span> FooAnswer, 0027 anArray <span style="color:#0057ae;">SEQUENCE</span>(<span style="font-weight:bold;">SIZE</span>(<span style="color:#b08000;">100</span>)) <span style="color:#0057ae;">OF</span> <span style="color:#0057ae;">INTEGER</span>(<span style="color:#b08000;">0</span>..<span style="color:#b08000;">1000</span>) 0028 } 0029 0030 <span style="font-weight:bold;">END</span> 0031 0032 <span style="color:#898887;">-- exmaples from ERA FCB barcode.asn</span> 0033 ASN-Module <span style="font-weight:bold;">DEFINITIONS</span> <span style="font-weight:bold;">AUTOMATIC</span> <span style="font-weight:bold;">TAGS</span> ::= <span style="font-weight:bold;">BEGIN</span> 0034 IssuingData ::= <span style="color:#0057ae;">SEQUENCE</span> { 0035 <span style="color:#898887;">-- [...]</span> 0036 <span style="color:#898887;">-- currency of the price: ISO4217 currency codes</span> 0037 currency <span style="color:#0057ae;">IA5String</span> (<span style="font-weight:bold;">SIZE</span>(<span style="color:#b08000;">3</span>)) <span style="font-weight:bold;">DEFAULT</span> <span style="color:#bf0303;">"EUR"</span> 0038 <span style="color:#898887;">-- [...]</span> 0039 } 0040 0041 <span style="font-weight:bold;">END</span> 0042 </pre></body></html>