Utility functions for output.
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 |
|
ensure_dir (directory)
Ensure the presence of 'directory' without any contents. |
|
generate (m,
streams,
visitor,
args)
Generate output for the module 'm', sending program definitions to the
given 'streams', using the given 'visitor' class. |
|
generate_doc (session,
directory,
builtins_name)
Using the given 'session', generate output, sending program
definitions to the given 'directory'. |
|
generate_files (m,
filenames,
visitor,
args)
Generate output for the module 'm', sending program definitions to the
files with the given 'filenames', using the given 'visitor' class. |
|
generate_sources (session,
directory,
main_module_name,
program_name,
builtins_name)
Using the given 'session', generate output, sending program
definitions to the given 'directory'. |
|
unwrap(exc,
session)
|