@internal<EOL><INDENT>def _loadDeclarations(self):<DEDENT>
if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>self._interfaces = []<EOL><DEDENT>if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>self._private_interfaces = []<EOL><DEDENT>if not hasattr(self, "<STR_LIT>"):<EOL><INDENT>self._units = []<EOL><DEDENT>self._setAttrListener = self._declrCollector<EOL>self._declr()<EOL>self._setAttrListener = None<EOL>for i in self._interfaces:<EOL><INDENT>self._loadInterface(i, True)<EOL><DEDENT>for u in self._units:<EOL><INDENT>u._loadDeclarations()<EOL><DEDENT>for p in self._params:<EOL><INDENT>p.setReadOnly()<EOL><DEDENT>
Load all declarations from _decl() method, recursively
for all interfaces/units.