fab.parse.x90#
Classes
|
Analysis results for an x90 file. |
- class fab.parse.x90.AnalysedX90(fpath, file_hash, kernel_deps=None)#
Analysis results for an x90 file.
- Parameters:
- to_dict()#
Create a dict representing the object.
The dict may be written to json, so can’t contain sets. Lists are sorted for reproducibility in testing.
- classmethod field_names()#
Defines the order in which we want fields to appear in str or repr strings.
Calling this helps to ensure any lazy attributes are evaluated before use, e.g when constructing a string representation of the instance, or generating a hash value.
- class fab.parse.x90.X90Analyser#
- Parameters:
result_class – The type (class) of the analysis result. Defined by the subclass.
std – The Fortran standard.
- walk_nodes(fpath, file_hash, node_tree)#
Examine the nodes in the parse tree, recording things we’re interested in.
Return type depends on our subclass, and will be a subclass of AnalysedDependent.
- Return type: