Warning, /frameworks/syntax-highlighting/autotests/input/highlight.asn1 is written in an unsupported language. File is not indexed.
0001 -- comment with FIXME alerts 0002 -- example code taken from https://en.wikipedia.org/wiki/ASN.1 0003 0004 FooProtocol DEFINITIONS ::= BEGIN 0005 /** Multiline comment 0006 * with ### alerts 0007 */ 0008 FooQuestion ::= SEQUENCE { 0009 trackingNumber INTEGER(0..199), 0010 question IA5String 0011 } 0012 0013 FooAnswer ::= SEQUENCE { 0014 questionNumber INTEGER(10..20), 0015 answer BOOLEAN 0016 } 0017 0018 FooHistory ::= SEQUENCE { 0019 questions SEQUENCE(SIZE(0..10)) OF FooQuestion, 0020 answers SEQUENCE(SIZE(1..10)) OF FooAnswer, 0021 anArray SEQUENCE(SIZE(100)) OF INTEGER(0..1000) 0022 } 0023 0024 END 0025 0026 -- exmaples from ERA FCB barcode.asn 0027 ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN 0028 IssuingData ::= SEQUENCE { 0029 -- [...] 0030 -- currency of the price: ISO4217 currency codes 0031 currency IA5String (SIZE(3)) DEFAULT "EUR" 0032 -- [...] 0033 } 0034 0035 END