blob: e5ce9c2c0493699634bc104bfeadf5bf0a10ede4 [file] [log] [blame]
Bi-Ruei, Chiu2d6b8c02017-05-08 12:17:04 +08001ModuleTestClass { iso org(3) dod(6) internet(1) private(4) enterprise(1)
2 spelio(9363) software(1) asn1c(5) test(1) 18 }
3DEFINITIONS ::=
4BEGIN
5
6AlphaNumeric ::= IA5String (FROM("A".."Z" | "a".."z" | "0".."9"))
7
8FUNCTION ::= CLASS {
9 &code INTEGER (0..MAX) UNIQUE,
10 &Alphabet IA5String DEFAULT {AlphaNumeric},
11 &ArgType ,
12 &SupportedArguments &ArgType OPTIONAL,
13 &ResultType DEFAULT NULL,
14 &result-if-error &ResultType DEFAULT NULL,
15 &associated-function FUNCTION OPTIONAL
16}
17
18operator-plus FUNCTION ::= {
19 &ArgType Pair,
20 &SupportedArguments { PosPair | NegPair }
21 &ResultType INTEGER,
22 &result-if-error 0,
23 &code 1
24 }
25
26FunctionCodeType ::= FUNCTION.&code
27
28END