def modules(self):
defmodule = lib.EnvGetNextDefmodule(self._env, ffi.NULL)<EOL>while defmodule != ffi.NULL:<EOL><INDENT>yield Module(self._env, defmodule)<EOL>defmodule = lib.EnvGetNextDefmodule(self._env, defmodule)<EOL><DEDENT>
Iterates over the defined Modules.