Package analysis :: Module namespace
[show private | hide private]
[frames | no frames]

Module analysis.namespace

Namespace handling.

Copyright (C) 2005, 2006 Paul Boddie <paul@boddie.org.uk>

This software is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library; see the file LICENCE.txt If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Classes
NamespaceRegister A name register for a given namespace.

Exceptions
ScopeError An exception indicating that a node previously associated with a particular scope has also been associated with another scope, thus suggesting an error situation.

Function Summary
  get_locals_layout(node, qualified_names, include_parameters)
Return a list of tuples of the form (name, definition-nodes) indicating the layout of parameter and local variable definitions for the given function (or other namespace-bearing) 'node'.

Function Details

get_locals_layout(node, qualified_names=0, include_parameters=1)

Return a list of tuples of the form (name, definition-nodes) indicating the layout of parameter and local variable definitions for the given function (or other namespace-bearing) 'node'.

Generated by Epydoc 2.1 on Fri May 19 01:52:26 2006 http://epydoc.sf.net