def __getitem__(self, name_or_function):
return self.decls(name_or_function)<EOL>
Allow simple name based find of declarations.  Internally just calls
`decls` method.
:param name_or_function:  Name of `decl` to lookup or finder function.