Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.asn1.fold 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 ::= <beginfold id='1'>BEGIN</beginfold id='1'> 0005 <beginfold id='2'>/*</beginfold id='2'>* Multiline comment 0006 * with ### alerts 0007 <endfold id='2'>*/</endfold id='2'> 0008 FooQuestion ::= SEQUENCE <beginfold id='3'>{</beginfold id='3'> 0009 trackingNumber INTEGER(0..199), 0010 question IA5String 0011 <endfold id='3'>}</endfold id='3'> 0012 0013 FooAnswer ::= SEQUENCE <beginfold id='3'>{</beginfold id='3'> 0014 questionNumber INTEGER(10..20), 0015 answer BOOLEAN 0016 <endfold id='3'>}</endfold id='3'> 0017 0018 FooHistory ::= SEQUENCE <beginfold id='3'>{</beginfold id='3'> 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 <endfold id='3'>}</endfold id='3'> 0023 0024 <endfold id='1'>END</endfold id='1'> 0025 0026 -- exmaples from ERA FCB barcode.asn 0027 ASN-Module DEFINITIONS AUTOMATIC TAGS ::= <beginfold id='1'>BEGIN</beginfold id='1'> 0028 IssuingData ::= SEQUENCE <beginfold id='3'>{</beginfold id='3'> 0029 -- [...] 0030 -- currency of the price: ISO4217 currency codes 0031 currency IA5String (SIZE(3)) DEFAULT "EUR" 0032 -- [...] 0033 <endfold id='3'>}</endfold id='3'> 0034 0035 <endfold id='1'>END</endfold id='1'>