I have another question about this paragraph in section 19.2:
Interfaces can be declared and instantiated in modules (either
flat or hierarchical) but modules can neither be declared nor
instantiated in interfaces.
My original question was whether an interface could really be declared
in a module, since the bnf doesn't seem to allow it.
My other question is what does 'flat or hierarchical' refer to? Does
it refer the type of module in which an interface may be instantiated?
If so, then what is a 'flat' module? Is it a leaf-level module in the
hierarchy? Why make the distinction? Why not just say:
Interfaces can be declared and instantiated in modules but modules
can neither be declared nor instantiated in interfaces.
Actually, since the restriction that a module cannot be declared or
instantiated in an interface is clear from the bnf, this part of the
statement is redundant anyway.
And since the bnf does not allow an interface to be declared in a module,
the paragraph could be rewritten to:
Interfaces can be instantiated in modules.
Paul
Received on Mon Apr 26 11:18:19 2004
This archive was generated by hypermail 2.1.8 : Mon Apr 26 2004 - 11:19:47 PDT