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

Module analysis.classes

Class analysis.

Copyright (C) 2005 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
Function Summary
  get_class_definitions(cls)
Return a dictionary mapping names to nodes for the given class 'cls'.
  get_class_layout(cls)
Return a list of tuples of the form (name, nodes) indicating the layout of definitions for the given class 'cls'.
  get_instance_definitions(cls)
Return a dictionary mapping names to definitions for instances of the given class 'cls'.
  get_instance_layout(cls)
Return a list of tuples of the form (name, definition-nodes) indicating the layout of the structure of instances of the class 'cls'.
  issubclass(cls1, cls2)
Check to see if 'cls1' is a subclass of 'cls2' (or the same class), returning a true value if this is the case; otherwise a false value is returned.

Function Details

get_class_definitions(cls)

Return a dictionary mapping names to nodes for the given class 'cls'.

get_class_layout(cls)

Return a list of tuples of the form (name, nodes) indicating the layout of definitions for the given class 'cls'.

get_instance_definitions(cls)

Return a dictionary mapping names to definitions for instances of the given class 'cls'.

get_instance_layout(cls)

Return a list of tuples of the form (name, definition-nodes) indicating the layout of the structure of instances of the class 'cls'.

issubclass(cls1, cls2)

Check to see if 'cls1' is a subclass of 'cls2' (or the same class), returning a true value if this is the case; otherwise a false value is returned.

Generated by Epydoc 2.1 on Tue Dec 20 00:05:45 2005 http://epydoc.sf.net