(a)
<interface> ::= <interface_dcl>
          |     <forward_dcl>

(b)
interface = {full_interface_declaration} interface_dcl 
       |    {forward_declaration} forward_dcl;

Example 1: (a) EBNF production for IDL interfaces from the CORBA spec; (b) rendered in SableCC.

Back to Article