fc_scan¶
-
class
waflib.Tools.fc_scan.
fortran_parser
(incpaths)[source]¶ This parser returns:
the nodes corresponding to the module names to produce
the nodes corresponding to the include files used
the module names used by the fortran files
-
seen
¶ Files already parsed
-
nodes
¶ List of
waflib.Node.Node
representing the dependencies to return
-
names
¶ List of module names to return
-
incpaths
¶ List of
waflib.Node.Node
representing the include paths
-
find_deps
(node)[source]¶ Parses a Fortran file to obtain the dependencies used/provided
- Parameters
node (
waflib.Node.Node
) – fortran file to read- Returns
lists representing the includes, the modules used, and the modules created by a fortran file
- Return type
tuple of list of strings
-
start
(node)[source]¶ Start parsing. Use the stack
self.waiting
to hold nodes to iterate on- Parameters
node (
waflib.Node.Node
) – fortran file