blob: 4e9769a76cf1285b5547391b96de7aa5b31c3c06 [file] [log] [blame]
Lev Walkinea6635b2017-08-06 23:23:04 -07001ModuleComponentRelationConstraint { iso org(3) dod(6) internet(1) private(4)
2 enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 140 }
3DEFINITIONS ::=
4BEGIN
5
6Frame ::= SEQUENCE {
7 ident FRAME-STRUCTURE.&id ({FrameTypes}),
8 value FRAME-STRUCTURE.&Type ({FrameTypes}{@.ident}),
9 ...
10}
11
12FRAME-STRUCTURE ::= CLASS {
13 &id INTEGER UNIQUE,
14 &Type ANY
15} WITH SYNTAX {&Type IDENTIFIED BY &id}
16
17-- Class matrix has 2 entries:
18-- [ &id][ &Type]
19-- [1] basicMessage PrimitiveMessage
20-- [2] 2 ComplexMessage
21
22
23FrameTypes FRAME-STRUCTURE ::= {{ PrimitiveMessage IDENTIFIED BY basicMessage } | { ComplexMessage IDENTIFIED BY 2 },...}
24
25primType FRAME-STRUCTURE ::= { PrimitiveMessage IDENTIFIED BY basicMessage }
26
27complexType FRAME-STRUCTURE ::= { ComplexMessage IDENTIFIED BY 2 }
28
29PrimitiveMessage ::= SEQUENCE { }
30
31ComplexMessage ::= SEQUENCE { }
32
33basicMessage INTEGER ::= 1
34
35END