fab.tools.preprocessor module#
This file contains the base class for any preprocessor, and two derived classes for cpp and fpp.
- class fab.tools.preprocessor.Preprocessor(name, exec_name, category, availablility_option=None)#
Bases:
Tool
This is the base class for any preprocessor.
- Parameters:
- preprocess(input_file, output_file, add_flags=None)#
Calls the preprocessor to process the specified input file, creating the requested output file.
- class fab.tools.preprocessor.Cpp#
Bases:
Preprocessor
Class for cpp.
- class fab.tools.preprocessor.CppFortran#
Bases:
Preprocessor
Class for cpp when used as a Fortran preprocessor
- class fab.tools.preprocessor.Fpp#
Bases:
Preprocessor
Class for Intel’s Fortran-specific preprocessor.