source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.samples/trunk/ttcn3/package-configuration_and_deployment-v1.1.1.bnf @ 5

Last change on this file since 5 was 5, checked in by zeiss, 14 years ago
File size: 3.1 KB
Line 
1grammar ttcn3_configuration_and_deployment/bnf;
2
3import "ttcn3-4.2.1.bnf"/core;
4
5A.2     Modified TTCN 3 syntax BNF productions
6
711. ModuleDefinition ::= [Visibility] (TypeDef |
8                          ConstDef |
9                          TemplateDef |
10                          ModuleParDef |
11                          FunctionDef |
12                          SignatureDef |
13                          TestcaseDef |
14                          AltstepDef |
15                          ImportDef |
16                          GroupDef |
17                          ExtFunctionDef |
18                          ExtConstDef |
19                          FriendModuleDef |
20                          ConfigurationDef) [WithStatement]
21
22197. TestcaseDef ::= TestcaseKeyword TestcaseIdentifier
23                     "("[TestcaseFormalParList] ")" ConfigSpec | ExecuteOnSpec
24                     StatementBlock
25
26205. TestcaseInstance ::= ExecuteKeyword "(" TestcaseRef "(" [TestcaseActualParList] ")"
27                          ["," TimerValue] ["," ConfigurationReference] ")"
28
29294. ControlStatement ::= TimerStatements |
30                          BasicStatements |
31                          BehaviourStatements |
32                          SUTStatements |
33                          StopKeyword |
34                          KillConfigStatement
35
36316. CreateOp ::=       ComponentType Dot CreateKeyword ["(" SingleExpression ")"]
37                                        [AliveKeyword | StaticKeyword]
38
39330. ConnectStatement ::= ConnectKeyword SingleConnectionSpec [StaticKeyword]
40342. MapStatement ::= MapKeyword SingleConnectionSpec [StaticKeyword]
41452. PredefinedType ::= BitStringKeyword |
42                        BooleanKeyword |
43                        CharStringKeyword |
44                        UniversalCharString |
45                        IntegerKeyword |
46                        OctetStringKeyword |
47                        HexStringKeyword |
48                        VerdictTypeKeyword |
49                        FloatKeyword |
50                        AddressKeyword |
51                        DefaultKeyword |
52                        AnyTypeKeyword |
53                        ConfigurationKeyword
54
55610. OpCall ::= ConfigurationOps |
56                VerdictOps |
57                TimerOps |
58                TestcaseInstance |
59                FunctionInstance [ ExtendedFieldReference ] |
60                TemplateOps [ ExtendedFieldReference ] |
61                ActivateOp |
62                ConfigurationInstance
63
64197a . ExecuteOnSpec ::= ExecuteKeyword OnKeyword ConfigurationRef
65
66316a . StaticKeyword ::= "static"
67
68
69
70900. ConfigurationDef ::= ConfigurationKeyword ConfigurationIdentifier
71                         "("[TestcaseFormalParList] ")" ConfigSpec
72                          StatementBlock
73901. ConfigurationKeyword ::= "configuration"
74902. ConfigurationIdentifier ::= Identifier
75903. ConfigurationInstance ::= ConfigurationRef "(" [TestcaseActualParList] ")"
76904. ConfigurationRef ::= [GlobalModuleId Dot] ConfigurationIdentifier
77
78
79
80905. KillConfigStatement ::= ConfigurationReference Dot KillKeyword
81906. ConfigurationReference ::= VariableRef | FunctionInstance
82
83
Note: See TracBrowser for help on using the repository browser.