Module Synopsis.FileTree

Classes Summary:
class Node
references
source code
Base class for directories and files in the tree.
class Directory
references
source code
FileTree node for directories.
class File
references
source code
FileTree node for files.
Functions Summary:
  make_file_tree(files)
references
source code
Classes Details:
class Node
references
source code
Base class for directories and files in the tree. @attr path the path of this node as a string. @attr filename the name of the node, i.e. the last element of the path string
class Directory
references
source code
FileTree node for directories. @attr path the path of this node as a string. @attr filename the name of the directory, i.e. the last element of the path string @attr children the children of this directory, each Directory or File objects.
class File
references
source code
FileTree node for files. @attr path the path of this node as a string. @attr filename the name of the file, i.e. the last element of the path string @attr decls the list of declarations in this file.