fc_scan¶
-
class
waflib.Tools.fc_scan.fortran_parser(incpaths)[source]¶ Bases:
objectThis 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= None¶ Files already parsed
-
nodes= None¶ List of
waflib.Node.Noderepresenting the dependencies to return
-
names= None¶ List of module names to return
-
incpaths= None¶ List of
waflib.Node.Noderepresenting 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 readReturns: 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.waitingto hold nodes to iterate onParameters: node ( waflib.Node.Node) – fortran file