Previous | Table of Contents | Next |
An OMG IDL specification consists of one or more type definitions, constant definitions, exception definitions, or module
definitions. The syntax is:
(1) <specification> ::= <import>* <definition>+
(2) <definition> ::= <type_dcl> “;? | <const_dcl> “;? | <except_dcl> “;? | <interface> “;? | <module> “;? | <value> “;? | <type_id_dcl> “;? | <type_prefix_dcl> “;? | <event> “;?
| <component> “;? | <home_dcl> “;?
See
Section 3.6, “Import Declaration,? on page 3-19, for the specification of
<import>.
See
Section 3.7, “Module Declaration,? on page 3-20, for the specification of
<module>.
See
Section 3.8, “Interface Declaration,? on page 3-21, for the specification of
<interface>.
See
Section 3.9, “Value Declaration,? on page 3-27, for the specification of
<value>.
See
Section 3.10, “Constant Declaration,? on page 3-32, Section 3.11, “Type
Declaration,? on page 3-36, and Section 3.12, “Exception Declaration,? on page 3-49
respectively for specifications of <const_dcl>, <type_dcl>, and <except_dcl>.
See
Section 3.15, “Repository Identity Related Declarations,? on page 3-55, for
specification of Repository Identity declarations which include <type_id_dcl> and <type_prefix_dcl>.
See
Section 3.16, “Event Declaration,? on page 3-57, for specification of
<event>.
See Section 3.17, “Component Declaration,? on page 3-58, for specification of
<component>.
See
Section 3.18, “Home Declaration,? on page 3-64, for specification of
<home_dcl>.